On Mon, May 11, 2009 at 12:09 AM, don fong <dfong(a)dfong.com> wrote:
question: how can i boot the livecd distro from a
hard disk partition, hopefully with the persistent
option? i have found a lot of pages
describing how to do this with a USB stick, but
i have not been able to find clear instructions on
how to do the equivalent thing with a regular
disk partition.
i have the fedora livecd iso image file on my disk.
i can mount it under linux. is there a way to
boot the iso file directly, without wasting a CD?
or to make another disk partition boot the livecd distro?
You need a separate partition if your rootfs is on LVM since livecd
initrd doesn't start LVM.
Loop mount the ISO and copy isolinux/vmlinuz0 and isolinux/initrd0.img
to /boot and LiveOS folder to / (or top-folder of the separate
partition)
Then add grub entry for livecd (assuming separate /boot partition and
sda2 partition with /LiveOS)
kernel /vmlinuz0 ro root=/dev/sda2
initrd /initrd0.img