Re: [Fedora-livecd-list] a boot option to remove the persistent layer and create a new one
I think the issue I see is if /home is %100. i.e. I login and create a file so home reaches %100 , I get stale nfs error messages. It will no longer let me delete the file. So I need to run something like. This I guess follows on from the mail from yesterday, and there is no simple solution, however a home rescue mode in the startup script, would atleast help some people out. i.e. from boot rescue_home losetup /dev/loop7 /mnt/live/LiveOS/home.img cryptsetup luksOpen /dev/loop7 Test e2fsck /dev/mapper/Test -y mount /dev/mapper/Test mnt/ # interactively remove the large file(s) umount mnt/ cryptsetup luksClose test losetup -d /dev/loop7 On Mar 16, 2009, at 2:28 PM, Jeremy Katz wrote: On Friday, March 13 2009, said: if one used more than the size of the persistent layer, system becomes corrupted and unusable one then can remove the layer to restore it to "factory defaults" but telling people to create a new layer is a but difficult for end users If you boot with 'reset_overlay', it resets the overlay. [snip] resetPersistentHome and resetOverlay should simply check the size of the img file we want to rest then remove it then create a new one with the same size Resetting the persistent home seems a little more questionable. Since it's just a filesystem image and not the weird dm-snapshot, it's a less straight-forward call of how/when it could get corrupted and then need any sort of resetting Jeremy -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
[Fedora-livecd-list] LiveUSB overlay size is smaller than expected
Hello, I'm using the LiveUSB feature of the LiveCDs, with the overlay feature to persist data. I have to say, I'm really enjoying the portability. However, I'm unable to install all the packages I would like to, due to a mysterious fact: the overlay file is way smaller than I created it to be. The details: -- The USB stick: 2.0GB Imation, listed as 1.88GiB in gparted (no bad sectors). Gparted also lists 548MB used, but that's inaccurate since the OS is squished. The ISO: a minimal install, 126 MB, expands to (presumably) ~500 MB at boot The install: I used "livecd-iso-to-disk --overlay-size-mb 1600 F10min.iso /deb/sdb1" I did this from an existing Fedora 10 install, and there were no problems or warnings. I installed from scratch seven times. Running "df -h" on a clean boot of the usb shows me: /dev/mapper/live-rw 741M (size) 715M(used) 20M(avail) (mounted as /) and several tmpfs's I'm using for /var/run and yum's cache Running "du -sh --exclude=proc /" shows a total of 698M used. This makes sense, and is close enough to df's proclaimed 715 MB that I accept it. (I know there were reported issues with df's accuracy on overlays). Either way, the overlay is clearly full; trying to install things with yum fails with an "xxx mb needed" message. Basically, it comes down to this: Expected overlay size: 1600 MB Reported overlay size: 741 MB ...and with my image loaded at 500MB, I'm restricted to 140MB of new data. Has anyone experienced something similar? Or, did I do something wrong with the flash to USB? Or, can someone at _least_ tell me how to re-create the overlay at 1600 MB? I'd really appreciate any help, as I quite enjoy carrying Fedora around with me, and abiword won't fit in the remaining 20 MB. Thanks in advance; I've scanned the mailing list archives while trying to debug this problem and this list seemed both helpful and polite. :) All the best, -->Seth -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Re: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected
On Tuesday, March 17 2009, S'orlok Reaves said: >I'm using the LiveUSB feature of the LiveCDs, with the overlay feature to > persist data. I have to say, I'm really enjoying the portability. However, > I'm unable to install all the packages I would like to, due to a mysterious > fact: the overlay file is way smaller than I created it to be. [snip] > Running "df -h" on a clean boot of the usb shows me: > /dev/mapper/live-rw 741M (size) 715M(used) 20M(avail) (mounted as /) > and several tmpfs's I'm using for /var/run and yum's cache While the overlay is larger than this, the filesystem size may be smaller. If you look at the kickstart config you used to create your image, you probably have a rootfs size specified to be on the smaller size Jeremy -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Re: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected
Ah, that makes sense! Thanks for the tip; it would have taken me ages to figure that one out on my own. I'm on my laptop now; I'll re-build the image tomorrow and let you know if it worked. Thanks again! -->Seth --- On Tue, 3/17/09, Jeremy Katz wrote: > From: Jeremy Katz > Subject: Re: [Fedora-livecd-list] LiveUSB overlay size is smaller than > expected > To: sorlok_rea...@yahoo.com, fedora-livecd-list@redhat.com > Date: Tuesday, March 17, 2009, 10:42 AM > On Tuesday, March 17 2009, S'orlok Reaves said: > >I'm using the LiveUSB feature of the LiveCDs, > with the overlay feature to persist data. I have to say, > I'm really enjoying the portability. However, I'm > unable to install all the packages I would like to, due to a > mysterious fact: the overlay file is way smaller than I > created it to be. > [snip] > > Running "df -h" on a clean boot of the usb > shows me: > > /dev/mapper/live-rw 741M (size) 715M(used) > 20M(avail) (mounted as /) > > and several tmpfs's I'm using for /var/run > and yum's cache > > While the overlay is larger than this, the filesystem size > may be > smaller. If you look at the kickstart config you used to > create your > image, you probably have a rootfs size specified to be on > the smaller > size > > Jeremy -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list