Reply To: Size error for remaster of LiveUSB

Forum › Forums › New users › New Users and General Questions › Size error for remaster of LiveUSB › Reply To: Size error for remaster of LiveUSB

#19689
seaken64
Member

    (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