PDA

View Full Version : Fedora 11 Live USB - Overlay file not found!


dantux
2009-07-19, 03:31 PM CDT
Good day everyone!

I hope someone can assist me with an issue I have.
Here is my configuration: Fedora 11 installed on a 8GB USB stick. Created two partitions. The first one formatted as FAT32, 4 GB in size and the second one formatted in ext3 and used it to install the Live USB on it. It worked great, booting everytime. Deleted the liveuser account, created a new one and costumized. I created an overlay file of about 3GB.
Everything worked like a charm until I decided to rname my partitions (new label) to "show nice" when mounting the USB drive on another linux machine.
After I did this, and tried to boot again from the USB drive, I noticed the liveuser account re-appeared and my custom changes dissappeared. Checked the logs and noticed that at boot time, a message was generated: "Cannot find overlay file, using temporary" or something similar.
I checked the LiveOS folder and I noticed the overlay file is there and is named:
"overlay--e2183684-dc53-421d-84c8-f3b4275624d7"
I assumed the long name is based on the partition UUID or label. It didn't have a label before so... I don't know how to solve it. I googled it with no success.
My question is: what is the name is the start-up looking for? The new label for the partition is "FedoraLive". I tried to modify the filename to "overlay--FedoraLive" or "overlay-FedoraLive" with no success. Any ideas?
Would be greatly appreciated, because I have a few very important files saved inside that overlay.

Thanks!
dantux
http://www.dantux.com

JEO
2009-07-19, 04:00 PM CDT
When you renamed the partition maybe the UUID changed. Boot from it, open a terminal,

su -
blkid

Look though the information to see what your current UUID is for that partition then change the overlay filename to match. The overlay file name also appears in the kernel line in syslinux.cfg so check that too.

JEO
2009-07-19, 04:20 PM CDT
Okay, I figured it out. The UUID didn't change. The overlay filename has to have the name you changed added to it like:

overlay-<the name you changed>-<the uuid>

dantux
2009-07-19, 09:33 PM CDT
I can't believe someone replied to my thread so quickly!
Thank you JEO. It works like a charm. I changed the file as you suggested and everything came back as it was.
It only makes sense, because my filename before was "overlay--<UUID>. The two dashes at the beginning is actually enclosing my previous partition label which was.... nothing.

Good job JEO and thank you millions!

dantux.