I have a couple of questions about a customized Distro I’m making for my dad (sending him a USB to install it from) that’s easy to use (he’s always been extremely tech illiterate - he only learned how to use a computer thanks to Linux, but that version of Ubuntu he had learned on is over 10 years old now) and I can connect to via Rust Desk that has a custom icon that says “help” (using Mint 22.1)

So far, the closest to success I’ve had is using Systemback - it perfectly copied the system as set up.

But, there’s just one big problem - the installer.

The installer, despite being a GUI, is not user friendly. Not only are there a lack of instructions (making it unintuitive on what you need in order to be able to click “next” even if you are basically tech literate), but it involves manually partitioning the hard drives into 3 partitions - there’s also no “erase all and use the whole drive” option.

My question is, can I edit or replace the installer Systemback uses, for something slightly easier, or if not feasible:

Can I use the terminal in Cubic to change a program’s icon, move the panel (optional), and pin a program to the panel, as well as set up Firefox to not have AI, change the search engine, font size, and bookmarks, as well as install uBlock? (I’d install Librewolf, except that it doesn’t store browsing history by default, which he relies on).

  • DeaDSouL :fedora:@fosstodon.org
    link
    fedilink
    arrow-up
    0
    ·
    3 days ago

    @Lumiluz if I were you, I would:

    1. Install the desired distro on a physical hdd of my own.
    2. Add the user, do all the customization I would like him to have.
    3. Clone the whole disk into an image using #clonezilla.
    4. Write a custom bash script containing the needed command to restore that image.
    5. Send him both clonezilla live distro and the cloned image.

    That would save you lots of headaches. I guess.

    • Lumiluz@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      3 days ago

      The issue I had with clonezilla is that it only works on the original hard drive.

      When testing it on a second machine it had errors because it was trying to install to the exact same blocks as the original hard drive, and wouldn’t install.

      Unless the bashscript can somehow ignore that?

      I tried following the guide I found on their site too, which mentioned going into advance mode and checking off something to “check blocks” or such so it could be installed on any device, but couldn’t find such an option when I did it. I don’t know if that’s limited to a specific version of clonezilla

      • DeaDSouL :fedora:@fosstodon.org
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        3 days ago

        @Lumiluz are you sure the hdd you want to restore the image on is the same size or larger that the one the image was cloned on?

        Maybe playing with selected options when you’re creating the image would help?

        Tbh, it was long time ago since my last time I used it.

        • Lumiluz@slrpnk.netOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 days ago

          I want to make it size agnostic, because I don’t remember what size his hard drive is (and he definitely doesn’t have the ability to check), but I have the distro installed as a partition.

          • DeaDSouL :fedora:@fosstodon.org
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            3 days ago

            @Lumiluz try these:

            For cloning:
            sudo ocs-sr -q2 -j2 -z1p -i 2000 -sc -p true savedisk /path/to/image/dir sda

            For restoring:
            sudo ocs-sr -g auto -e1 auto -e2 -r -j2 -icds -k1 restoredisk /path/to/image/dir sda

            If it doesn’t work, try using the partition image mode instead of the whole disk block

            • Lumiluz@slrpnk.netOP
              link
              fedilink
              English
              arrow-up
              0
              ·
              3 days ago

              Thanks, I’ll try that, but how to I add that script when using clonezilla? When trying something in the past like that in the terminal it didn’t do anything and said it didn’t recognize this commands for some reason.

              Am I supposed to start Clonezilla in a different mode?

              Also, /path/to/image/dir is the partition correct? And do I have to specify which sda?

              • DeaDSouL :fedora:@fosstodon.org
                link
                fedilink
                arrow-up
                0
                ·
                3 days ago

                @Lumiluz in the expert mode I believe it drops you into a terminal.
                In cloning:
                /path/to/image/dir is the disk where the cloned image should be saved to. (You need to mount it once you’re in terminal the)
                sda is which disk should be cloned
                In restoring:
                It’s where the cloned image is living. (You need to mount it)
                sda is the disk where the image should be restored to