PDA

View Full Version : LiveUsb on 16G SDHC


KingJL
2009-06-22, 09:57 AM CDT
I have just finished creating a FC11 LiveUsb on a 18G SDHC card with the following charactaristics:
4G persistent overlay
4G persistent home (un-encrypted)

I had to modify the 'livecd-iso-to-disk' script to get the 4G sizes for the overlay and home (my sdhc is formatted FAT32). My notebook that I use for testing has a broadcom 4306 (rev 3) wireless card, so of course that initially did not work. Applied the offline rpm offered at the dnmouse page, and got the wireless working. Originally, I tried to apply the 'online' fix for the braodcom, but was not successful (It completely hosed my network devices).

I disabled the auto login of 'liveuser' by editing the /etc/gdm/custom.conf script and removed the liveuser user account. I also wrote a script for applying system updates that first makes a backup copy of the overlay, so that in event of a caused by the update, the backup copy can be copied back to the proper folder. It the invonkes 'yum upgrade'. Making a copy of the overlay file still leaves me ~2G for misc. files that I may want to keep and have access to globally.

I probably could have (an may in the future) have created the home overlay smaller (let's say ~2G). I wanted the persistent home to keep things that I have no need of globally.

So far, so good and I am pleased with the result.

Regards,
J. L. King

vencax
2009-10-19, 03:21 AM CDT
Hi,
i am trying to accomplish the same thing whole weekend but still have not succeeded. Could you please provide some howto or procedure how you did it?
Thanks

Apple
2009-10-19, 08:01 AM CDT
I used the Graphical Method posed here (http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo)

Hope this helped.
Alex

ispanico
2009-11-16, 10:46 AM CST
Hello,

I am trying to do something similar using the liveusb-creator.
I have a flash memory SDHC 16Gb and I would like to install FC11 on it.
I used the liveusb-creator trying to set 10Gb of persistent overlay but it did't work out and from the error I understood (but I am not an expert) that there were some sort of problems with the size of the file
...I though it was some incompatibility with the FAT32 formatting configuration I made.
So I tried to do it again with ~3.9Gb of persistent overlay and it worked out.
Then I boot it and everything was working but I saw that the space allocated to /
was not enough to install all I wanted so I really need to have more than 4Gb in the /.
Is it this possible?
Is it really the formatting configuration FAT32 that create problems?
How can I do?

Regarding KingJL:
i don't understand exactly why you wanted to have 4G persistent home...could you please explain it to me?
To what I see, the system recognize the memory card so whatever you download you can keep it there
as home.... am I wrong? (i repeat I am not expert).

Thank you

Edit: Hello again,

ok, I understand a bit more of what you said now, but I still don't understand why I could not put 10Gb of persistance
and I don't see why by putting 3.9Gb I got the following results:
[liveuser@localhost ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/live-rw 3.0G 2.8G 173M 95% /
tmpfs 498M 896K 497M 1% /dev/shm
/dev/sdb1 15G 6.6G 8.4G 44% /mnt/live
varcacheyum 498M 0 498M 0% /var/cache/yum
/tmp 498M 12K 498M 1% /tmp
vartmp 498M 0 498M 0% /var/tmp

How can I do to have at least 4Gb, though it will much better, of persistance for the /
and 4 Gb for the /home?
I am using a SDHC 16Gb and I want to dedicate it all to Linux so that i will have my FC11 or newer version always with me on that flash memory.
In particular I notice here that the "home" directory it is under "/", is it possible to have it in a different partition so that the '/' will keep all the space?

Well I know those are a lot of questions but it will be great to have this
portable linux !
Could you please help me?

thank you a lot

SaGS
2009-11-19, 04:15 AM CST
… but I still don't understand why I could not put 10Gb of persistance …
The persistent overlay is stored as a single file on the host drive, and the FAT32 filesystem has a limit of 4GB for the file size.

ispanico
2009-11-19, 04:34 AM CST
Ok thanks,

so which file system I have to use in order to use all the capacity of the usb?

thank you