[Fedora-livecd-list] Re: How do I save and restore my overlay?

martin.x.long at jpmchase.com martin.x.long at jpmchase.com
Tue Jul 22 23:56:12 UTC 2008


Douglas McClendon <dmc.fedora at filteredperception.or wrote:

>If that doesn't help or answer you question, try to add more detail to 
>your question.

Douglas -

Thanks for the reply. 

I use the live usb tools to create my live USB stick with a 2047 MB 
overlay.  I boot from it and let it run updates. I reboot the LiveUSB to 
make sure it still boots, then I shut down.  I boot a system on a copy of 
Fedora 9 on the hard drive and plug in my Live USB so I can see the files 
on my USB stick. 

I see 2 folders:
LiveOS
and 
syslinux

in the LiveOS folder I see three files:
osmin.img
overlay-FEDORA-3099-53F2
and 
squashfs.img

======
assumptions

squashfs.img looks to be the size of the live iso
overlay-FEDORA-3099-53F2 looks to be the size of the overlay and has 
overlay in the file name 
osmin.img is only 8k probably a boot strap, I'm not sure.
=======

I'm sorry, I can't find anything on the LiveUSB file structure on the 
WiKi.  I've signed on as a writer for the Fedore project so I'd like to 
write it once I figure out what it is.

I was hoping that I could backup the overlay file and the syslinux folder 
from my completely updated LiveUSB stick and restore them to a newly built 
LiveUSB from my backup.

> I'm not entirely sure what you mean.  One thing that is possible is to 
> copy the overlay file from one liveusb and put it on another.  Though 
> the format of the overlay file is inherently tied to the specific liveos 

> it was originally with.  I.e. you won't be able to copy an overlay file 
> from an f9-x86 liveusb onto an f9-x64 or f10-x86 liveusb.  Or even a 
> customized f9-x86 liveusb that you created with livecd-creator/tools.

Nothing fancy - The same USB stick, built in the same way with the same 
iso and the same overlay size.

The overlay file name changes.  I've given the updated file (the overlay 
that was part of the LiveUSB for all of the updates) the same name as the 
new file that is created and left the updated file with its original name. 
I've overwritten just the overlay itself and the overlay and every 
combinarion of the osmin.img and squashfs.img files.

I could never get it to boot.  The boot starts but then hangs.

Ideally, it would be great to specify the overlay and the syslinyx folder 
that goes with that overlay in the command line to build the LiveUSB.

At this point I would be thrilled if I could get a set of manual steps 
together to have an updated system without going through the update 
process.  I loose a day each time.

> From an engineering standpoint, of course anything is possible.  One 
> use case I see, is to use the persistence feature to add an entry to 
> fstab, such that say, /mnt/data mounts to a ext3fs image located on a 
> file on your liveusb.  You can then add a user that has a home directory 

> under there, and perhaps install applications under there.  In this way, 

> you could then copy that ext3fs image file to an f10 liveusb, and then 
> only have to re-do the fstab and passwd modifications, such that 
> everything now pretty much looks the same.

Your suggestion of building a file structure that would transcend 
different releases would be awesome but alas I need to crawl before I can 
run.

Any help would be greatly appreciated.

Thanks again

Martin


-----------------------------------------
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20080722/6ee47ef9/attachment.htm>


More information about the Fedora-livecd-list mailing list