Size error for remaster of LiveUSB

Forum Forums New users New Users and General Questions Size error for remaster of LiveUSB

  • This topic has 17 replies, 5 voices, and was last updated Mar 24-7:40 pm by seaken64.
Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #19623
    Member
    seaken64
      Helpful
      Up
      0
      ::

      The simple solution is to boot with persistence *disabled* and then download and use the version of live-usb-maker from my git repo: https://github.com/BitJam/live-usb-maker When you clone with this version, it will copy the persistence files as long as they are not in use. This feature was added to help people who are the bind you find yourself. They need more room to do a remaster but they don’t want to lose their changes in persistence.

      You need to disable persistence (or only use dynamic root persistence) to use this feature because we will not copy an active file system because that would be a bad thing to do.

      HTH

      Thanks BitJam, yes, very helpful. I will try this.

      Am I correct in assuming that I should boot from my LiveUSB (the one with no room) and then use a *second* USB stick as the target of the LUM? Does it matter if I use a 16GB USB as the target is my current stick is 8GB?

      Seaken64

      #19627
      Forum Admin
      BitJam
        Helpful
        Up
        0
        ::

        Am I correct in assuming that I should boot from my LiveUSB (the one with no room) and then use a *second* USB stick as the target of the LUM?

        Yes. Select clone mode.

        Does it matter if I use a 16GB USB as the target is my current stick is 8GB?

        It does not matter. I made the changes (to copy the persistence files in clone mode when it is safe) for exactly your situation where you want to copy to a larger stick (with your persistence changes) in order to have enough space to remaster.

        I suggest you just use the command line version from my repo.

        You can also clone from one usb-stick to another on a host system. But you would need to specify you want to clone on the command line. For example, if your old live-usb is at /dev/sdd then you could use the option:
        --from=clone=sdd1
        Or if the old live-usb is mounted on the host at /media/antiX-live-usb then you could use:
        --from=clone=/media/antiX-live-usb

        • This reply was modified 4 years, 1 month ago by BitJam.

        Context is worth 80 IQ points -- Alan Kay

        #19689
        Member
        seaken64
          Helpful
          Up
          0
          ::

          (Solved)

          I started up the LiveUSB that did not have enough space for the remaster. I installed the live-usb-maker from the github following the directions on the git site. I then launched the live-usb-maker from the terminal. I had already put in a new 16GB USB stick. The program found the new USB stick and announced that it would use that for the target.

          I just said “yes” to everything and the program proceeded to clone the live system to the new USB. Once it was done I rebooted to the newly cloned 16GB USB stick. I then launched a remaster and chose to make a new rootfs of 1.5GB. I rebooted again to the 16GB stick and then I deleted the “old” files from the drive.

          Next, I did a “dist-upgrade”. After it finished I did another remaster and setup the new rootfs at 1.5GB. I again rebooted to do one final test. After reboot the linuxfs file was at about 1.1GB, homefs about 1GB, and rootfs at 1.5GB with only about 5MB used.

          Finally, I put the previous USB back in the USB port and ran live-usb-maker from the Control Centre and chose to “Clone running live system” to the old USB drive. (I had noticed that live-usb-maker was upgraded so I wondered if the update included the new stuff from github. I found the clone options on the gui so I used that. I’m not sure if I should have stayed with the console version but it seems to have worked). After the clone operation was done I shut down and removed the 16GB USB and rebooted with the now remastered old 8GB USB drive. On reboot it said there was no rootfs file and I made a new one of 1.5GB. It also asked me to create a homefs and I made it 1.0GB. After it booted I checked everything and it all works fine. I am not sure why I was asked to make both the rootfs and homefs files but it seems to be fine.

          I now have the old 8GB LiveUSB with all my changes and a current update and a 1.5GB rootfs file. I will be ready for my next remaster. It worked.

          It probably took me longer to do the cloning and remasters than it would have taken to start over. But I learned how to properly setup the 8GB USB for a remaster in the process so it was a success.

          Thank you BitJam and everyone else who contributed. I appreciate the help.

          Seaken64

        Viewing 3 posts - 16 through 18 (of 18 total)
        • You must be logged in to reply to this topic.