[Fedora-livecd-list] Can not get persistence

ToddAndMargo ToddAndMargo at zoho.com
Wed May 7 02:15:21 UTC 2014


On 05/05/2014 09:27 AM, Brian C. Lane wrote:
> On Sun, May 04, 2014 at 11:34:55PM -0700, ToddAndMargo wrote:
>> On 05/04/2014 07:09 PM, ToddAndMargo wrote:
>>> On 05/04/2014 05:09 PM, ToddAndMargo wrote:
>>>> Hi All,
>>>>
>>>> Xfce 4.8
>>>> Scientific Linux 6.4, 64 bit
>>>> livecd-tools-13.4.5-1.el6.x86_64
>>>>
>>>> For the life of me I can not get any persistence (things
>>>> don't stay between reboots).
>>>>
>>>> What am I doing wrong ("#" is my boot prompt)?
>>>>
>>>> # fdisk /dev/sdc    d1, n, p1, t, c, w   (use type "C" for fat32)
>>>>
>>>> # mkdosfs -v -c  /dev/sdc1
>>>>
>>>> # livecd-iso-to-disk --overlay-size-mb 4095 --format --reset-mbr
>>>> /home/kvm/Fedora-Live-Xfce-x86_64-20-1.iso /dev/sdc1
>
> What does the syslinux.cfg look like on the stick? And is there a
> overlay-* file in the LiveOS directory?

Hi Brian,

I can create anything I want on the desktop.  Reboot, and it
is gone.


I did not know if you meant just mounted or booted up.
Just mounted I have a syslinux directory, but no syslinux.cfg.
I have no *.cfg files at all.

I do have this:

$ ls -al /mnt/LIVE/LiveOS/over*
-rwxrwsrwx. 1 root root 4293918720 May  4 22:52 
/mnt/LIVE/LiveOS/overlay-LIVE-2b22693d-ad63-40eb-b63b-b55ac288f34a


Booted, I don't have a syslinux.cfg either.

$ su root -c "find / -iname \*.cfg\*"
/etc/rearj.cfg
/etc/grub2.cfg
/etc/grub2-efi.cfg
/etc/vdpau_wrapper.cfg

Is this it?

$ su root -c "find / -iname overlay\* -exec ls -al {} \;"
-rwxrwsrwx. 1 root root 4293918720 May  5 01:52 
/run/initramfs/live/LiveOS/overlay-LIVE-2b22693d-ad63-40eb-b63b-b55ac288f34a

# grep -i overlay  /var/log/messages
# grep -i liveos  /var/log/messages
<nothing on either>

Searching through messages for failed, only give
a bunch of stuff about D-Message failing

# more /etc/prelink.conf.d/grub2.conf
# these have execstack, and break under selinux
-b /usr/bin/grub2-script-check
-b /usr/bin/grub2-mkrelpath
-b /usr/bin/grub2-fstest
-b /usr/sbin/grub2-bios-setup
-b /usr/sbin/grub2-probe
-b /usr/sbin/grub2-sparc64-setup

# grep -i initramfs  /var/log/messages
May  6 21:26:09 localhost kernel: [    0.106307] Unpacking initramfs...
May  6 21:26:07 localhost systemd: Starting Import network configuration 
from initramfs...
May  6 21:26:07 localhost systemd: Started Import network configuration 
from initramfs.

>
> If the cmdline looks ok and the file is there you can try addinf
> rd.debug to the cmdline to get dracut to log what's happening at boot
> time (it is what actually sets up the overlay during boot).
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the livecd mailing list