LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Generate an ISO from Live USB (https://www.linuxquestions.org/questions/linux-newbie-8/generate-an-iso-from-live-usb-4175467993/)

DrumAliens 07-01-2013 07:45 AM

Generate an ISO from Live USB
 
I have Live USB version of Lubuntu and I have installed some software on it to do a specific task. I have stored away the casper-rw file so I have a copy of the additional information, software and data.

The problem is that the USB keeps getting corrupted after a few reboots. Since I have all of the information I can easily regenerate a new Live USB version and copy across. Though doing this is getting a tad boring.

Ideally I would like to generate a Live CD of where I have got to which I hope will be more stable.

Thanks for any suggestions

Paul

schneidz 07-01-2013 08:29 AM

i did one for the base xbmc live-usb and have a script to apt-get install vlc gparted libreoffice-calc libreoffice-writer then i would run:
Code:

dd bs=8192 if=/dev/sdd | bzip2 > xbmc-01.05.2011.iso.bz2 # to create the image
bunzip2 -c ./xbmc-01.05.2011.iso.bz2 | dd bs=8192 of=/dev/sdd # to restore the image


DrumAliens 07-01-2013 04:46 PM

Thanks for that I will look into it

Paul

yancek 07-01-2013 04:51 PM

Is this a persistent usb install created with software like unetbootin which is not maintaining persistence? What type of 'corruption' are you experiencing?

DrumAliens 07-02-2013 02:49 PM

Yes the Live USB is created with unetbootin and it is maintaining persistence OK. The issue is that after a number of reboots either the USB won't reboot or some of the menus won't work properly. I have tried different USB sticks and I get the same issue.

schneidz 07-02-2013 05:22 PM

the same happens to me after at least a few months of using fedora live-usb with a 6 gb persistant-overlay (usually after doing a huge yum install something).

a few reboots seems like a very short lifespan even for a live distro.

also, my xbmc-live-9.10 was running for about two years until i broke down and installed xbmcbuntu-12.04 onto the internal harddrive (but i never apt-get installed anything).

maybe your persistant overlay file is too small for what you are trying to install ?


All times are GMT -5. The time now is 01:48 PM.