Boot Fedora 18 from LiveCD ISO file

Sergio Belkin sebelk at gmail.com
Mon Jan 21 11:13:37 UTC 2013


Hi Fedora community,

I'm trying to avoid burning LiveCD iso file and boot from it.

I've added an entry to /etc/grub.d/40_custom :

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type
the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Fedora 18 LiveCD (Fedora-18-x86_64-Live-Desktop.iso)" {
        insmod part_msdos
        insmod lvm
        insmod ext2
        set root='lvm/vg_sebelk-root'
        if [ x$feature_platform_search_hint = xy ]; then
         search --no-floppy --fs-uuid --set=root
--hint='lvm/vg_sebelk-root'  eacc51f3-68a3-4839-88b0-7c1fc3531739
        else
          search --no-floppy --fs-uuid --set=root
eacc51f3-68a3-4839-88b0-7c1fc3531739
        fi
        loopback loop "/boot/fedora-isos/Fedora-18-x86_64-Live-Desktop.iso"
        set root=(loop)
        linux (loop)/isolinux/vmlinuz0
root=live:LABEL=Fedora-18-x86_64-Live-Desktop.is ro rd.live.image rd.shell
rd.debug
        initrd (loop)/isolinux/initrd0.img

}

EOF

But it fails, it says something like

 /dev/disk/by-label/Fedora-18-x86_64-Live-Desktop.is does not exist
/dev/mapper/live-rw does not exist


 I haven't figured it out how to wirte the root option. Please could you
help me?


Thanks in advance!

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130121/f5f2e3f3/attachment.html>


More information about the users mailing list