LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-10-2013, 10:03 AM   #1
osubuckeyes
LQ Newbie
 
Registered: Feb 2008
Distribution: Fedora
Posts: 10

Rep: Reputation: 0
Persistant storage problems


Using liveusb-creator, I can create a live usb stick that works for the Fedora 18 xfce spin, but persistent storage does not. Is this a problem with the spin or liveusb-creator? Is there a workaround?
 
Old 04-10-2013, 10:53 AM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,066

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
While running the liveusb-creator, the main window shows output. Did you see any warning/error messages there? What did you set the persistent storage to in size? What type filesystem did you use? If you mount the flash and look in the LiveOS directory, do you see an 'overlay...' file? If you look in the syslinux.cfg file in the syslinux directory, what do you see for the entry? You should see in the entry something like the following, obviously with different uuid numbers:

Quote:
menu label ^Start Fedora 18
kernel vmlinuz0
append initrd=initrd0.img root=live:UUID=A7D1-A364 rootfstype=vfat liveimg overlay=UUID=A7D1-A364 rw rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
You need the uuid after 'root=live:' as well as the 'liveimg overlay..'.
 
Old 04-11-2013, 12:21 PM   #3
osubuckeyes
LQ Newbie
 
Registered: Feb 2008
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
While running the liveusb-creator, the main window shows output. Did you see any warning/error messages there?

No

What did you set the persistent storage to in size?

275 MiB

What type filesystem did you use?

fat16

If you mount the flash and look in the LiveOS directory, do you see an 'overlay...' file?

Yes: "overlay-LIVE-6217-7E3E"

If you look in the syslinux.cfg file in the syslinux directory, what do you see for the entry?

label basic0
menu label Start Fedora 18 in ^basic graphics mode.
kernel vmlinuz0
append initrd=initrd0.img root=live:UUID=6217-7E3E rootfstype=vfat ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 xdriver=vesa nomodeset
text help
Try this option out if you're having trouble starting.
endtext
label check0
menu label ^Test this media & start Fedora 18
kernel vmlinuz0
append initrd=initrd0.img root=live:UUID=6217-7E3E rootfstype=vfat ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 rd.live.check

You should see in the entry something like the following, obviously with different uuid numbers:

---Quote---
menu label ^Start Fedora 18
kernel vmlinuz0
append initrd=initrd0.img root=live:UUID=A7D1-A364 rootfstype=vfat liveimg overlay=UUID=A7D1-A364 rw rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
---End Quote---

You need the uuid after 'root=live:' as well as the 'liveimg overlay..'.

Obviously, I am missing that.
 
Old 04-12-2013, 02:31 PM   #4
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,066

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Did you change your syslinux.cfg entry and add:
Code:
liveimg overlay=UUID=6217-7E3E
after rootfstype=vfat on the append line? What happened?
 
Old 04-13-2013, 11:17 AM   #5
osubuckeyes
LQ Newbie
 
Registered: Feb 2008
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks. Unfortunately, it did not work.
 
Old 04-13-2013, 08:55 PM   #6
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,066

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
I don't know what the problem might be. I had some problems initially with Fedora 18 but with the change I mentioned, it worked. I ran the liveusb-creator again with Fedora 18 and Fuduntu and they both were persistent without changes. You might just try running it again?
 
Old 04-14-2013, 11:14 AM   #7
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
Try creating it from a terminal.
Quote:
livecd-iso-to-disk --format --reset-mbr --overlay-size-mb 275 Fedoraxxxx.iso /dev/sdx
You just put in your Fedora .iso and device (sdx) use "df -h" with your usb device plugged in to find what it is listed as. You can open a terminal in or cd to the directory where the .iso is located and as "su" run the above command.
 
Old 04-14-2013, 02:00 PM   #8
osubuckeyes
LQ Newbie
 
Registered: Feb 2008
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
I don't know what the problem might be. I had some problems initially with Fedora 18 but with the change I mentioned, it worked. I ran the liveusb-creator again with Fedora 18 and Fuduntu and they both were persistent without changes. You might just try running it again?
I tried this, but no luck.
 
Old 04-14-2013, 02:05 PM   #9
osubuckeyes
LQ Newbie
 
Registered: Feb 2008
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ryptyde View Post
Try creating it from a terminal.You just put in your Fedora .iso and device (sdx) use "df -h" with your usb device plugged in to find what it is listed as. You can open a terminal in or cd to the directory where the .iso is located and as "su" run the above command.
I tried this some time ago, but no package existed, so just to double check, I ran it again without specifying the image and I don't have the livecd-iso-to-disk package:

# livecd-iso-to-disk --format --reset-mbr --overlay-size-mb 275 Fedoraxxxx.iso /dev/sdb
bash: livecd-iso-to-disk: command not found...
[root@xxxx~]# yum install livecd-iso-to-disk
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-i386 | 951 B 00:00
fedora/18/i386/metalink | 19 kB 00:00
updates/18/i386/metalink | 14 kB 00:00
updates | 4.6 kB 00:00
updates/primary_db | 7.4 MB 00:04
No package livecd-iso-to-disk available.

I don't generally install packages except from Fedora repositories.
 
Old 04-14-2013, 02:35 PM   #10
osubuckeyes
LQ Newbie
 
Registered: Feb 2008
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ryptyde View Post
Try creating it from a terminal.You just put in your Fedora .iso and device (sdx) use "df -h" with your usb device plugged in to find what it is listed as. You can open a terminal in or cd to the directory where the .iso is located and as "su" run the above command.
This worked. One of the things I discovered was the I had allocated too much space for persistent storage. I'm not sure why liveusb-creator did not find this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9 and persistant message penguindeb Linux - Server 2 02-01-2008 04:22 AM
FC 5 - Make pppd persistant dannybpng Fedora 0 12-28-2006 08:09 PM
x11vnc persistant? Lleb_KCir Linux - Software 11 01-15-2005 12:07 AM
Persistant Nvidia X86 Problems deft Linux - Software 3 04-13-2004 10:41 AM
Install persistant crashing F*SH Linux - Laptop and Netbook 0 03-09-2004 09:23 PM


All times are GMT -5. The time now is 06:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration