LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   unable to create persistent overlay with fc-15 live-usb (https://www.linuxquestions.org/questions/fedora-35/unable-to-create-persistent-overlay-with-fc-15-live-usb-910809/)

schneidz 10-29-2011 12:11 PM

unable to create persistent overlay with fc-15 live-usb
 
hi, i am trying to create a fc-15 live usb but the persistent overlay is not working. i tired with both the gui liveusb-creator and with this command:
Code:

sudo livecd-iso-to-disk --overlay-size-mb 6500 Downloads/Fedora-15-x86_64-Live-Desktop.iso /dev/sdc1
(i also tried with --overlay-size-mb = 2000) but everytime i boot the live-usb and type something like touch hello.txt then reboot, hello.txt is nowhere to be found.

i am using this usb drive:
Code:

Oct 29 12:46:06 hyper kernel: [  226.032066] usb 1-5: new high speed USB device number 4 using ehci_hcd
Oct 29 12:46:06 hyper kernel: [  226.149278] usb 1-5: New USB device found, idVendor=03f0, idProduct=3207
Oct 29 12:46:06 hyper kernel: [  226.149288] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 29 12:46:06 hyper kernel: [  226.149295] usb 1-5: Product: v100w
Oct 29 12:46:06 hyper kernel: [  226.149300] usb 1-5: Manufacturer: HP
Oct 29 12:46:06 hyper kernel: [  226.149306] usb 1-5: SerialNumber: 6E96111B0E5B
Oct 29 12:46:06 hyper kernel: [  226.152734] scsi7 : usb-storage 1-5:1.0
Oct 29 12:46:06 hyper kernel: [  226.181099] usb 1-5: USB disconnect, device number 4
Oct 29 12:46:06 hyper mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:04.1/usb1/1-5"
Oct 29 12:46:07 hyper kernel: [  226.443075] usb 1-5: new high speed USB device number 5 using ehci_hcd
Oct 29 12:46:07 hyper kernel: [  226.560030] usb 1-5: New USB device found, idVendor=03f0, idProduct=3207
Oct 29 12:46:07 hyper kernel: [  226.560041] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 29 12:46:07 hyper kernel: [  226.560048] usb 1-5: Product: v100w
Oct 29 12:46:07 hyper kernel: [  226.560053] usb 1-5: Manufacturer: HP
Oct 29 12:46:07 hyper kernel: [  226.560059] usb 1-5: SerialNumber: 6E96111B0E5B
Oct 29 12:46:07 hyper kernel: [  226.561097] scsi8 : usb-storage 1-5:1.0
Oct 29 12:46:07 hyper mtp-probe: bus: 1, device: 4 was not an MTP device
Oct 29 12:46:07 hyper mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:04.1/usb1/1-5"
Oct 29 12:46:07 hyper mtp-probe: bus: 1, device: 5 was not an MTP device
Oct 29 12:46:08 hyper kernel: [  227.587737] scsi 8:0:0:0: Direct-Access    HP      v100w            PMAP PQ: 0 ANSI: 0 CCS
Oct 29 12:46:08 hyper kernel: [  227.591469] sd 8:0:0:0: Attached scsi generic sg2 type 0
Oct 29 12:46:08 hyper kernel: [  228.164955] sd 8:0:0:0: [sdc] 15667200 512-byte logical blocks: (8.02 GB/7.47 GiB)
Oct 29 12:46:08 hyper kernel: [  228.165721] sd 8:0:0:0: [sdc] Write Protect is off
Oct 29 12:46:08 hyper kernel: [  228.166746] sd 8:0:0:0: [sdc] No Caching mode page present
Oct 29 12:46:08 hyper kernel: [  228.166757] sd 8:0:0:0: [sdc] Assuming drive cache: write through
Oct 29 12:46:08 hyper kernel: [  228.176736] sd 8:0:0:0: [sdc] No Caching mode page present
Oct 29 12:46:08 hyper kernel: [  228.176750] sd 8:0:0:0: [sdc] Assuming drive cache: write through
Oct 29 12:46:08 hyper kernel: [  228.197646]  sdc: sdc1
Oct 29 12:46:08 hyper kernel: [  228.208747] sd 8:0:0:0: [sdc] No Caching mode page present
Oct 29 12:46:08 hyper kernel: [  228.208761] sd 8:0:0:0: [sdc] Assuming drive cache: write through
Oct 29 12:46:08 hyper kernel: [  228.208774] sd 8:0:0:0: [sdc] Attached SCSI removable disk

and i am using gparted to format it as ext2.

can somebody help me realize what i am doing wrong ?

thanks,

Ryptyde 10-29-2011 12:27 PM

Fedora 15 livecd's had a problem with "persistent overlay". Sometime after packages were updated and persistent overlay worked again but you have to create a new "spin" that will contain the updated packages. I used "livecd-creator" and a kickstart (.ks) from the "spin-kickstarts" directory. If you create a new spin it will have all the new packages that are available during your build. :)

phil

schneidz 10-29-2011 04:24 PM

Quote:

Originally Posted by Ryptyde (Post 4511320)
Fedora 15 livecd's had a problem with "persistent overlay". Sometime after packages were updated and persistent overlay worked again but you have to create a new "spin" that will contain the updated packages. I used "livecd-creator" and a kickstart (.ks) from the "spin-kickstarts" directory. If you create a new spin it will have all the new packages that are available during your build. :)

phil

thx, but i am not really following. do i start by downloading a different iso ?

thanks,

edit: i stumbled across this:
http://fedoraproject.org/wiki/Common...ounted_on_boot
so i am trying to figure out how to make sense of it.

RockDoctor 10-29-2011 06:59 PM

I believe persistent overlay sizes are limited. FWIW, I've never gone above 1GB in any of my attempts. If you've got enough space for a 6GB persistent storage file, why not just do a full install to the flash drive?

schneidz 10-31-2011 08:38 AM

i figured this out. i had to do:
Code:

sudo livecd-creator --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks --fslabel=schneidz-fc-15 --cache=/var/cache/live
then ran sudo liveusb-creator using the newly created schneidz-fc-15.iso as input.

thanks,

for some reason i assumed i needed to do something like loop mount the original Fedora-15-x86_64-Live-Desktop.iso so i can merge the changes with it...


All times are GMT -5. The time now is 05:19 PM.