LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   How to boot Fedora Live CD iso from Hard Drive? (http://www.linuxquestions.org/questions/fedora-35/how-to-boot-fedora-live-cd-iso-from-hard-drive-843564/)

drroot 11-10-2010 08:59 PM

How to boot Fedora Live CD iso from Hard Drive?
 
I tried to use Grub to boot Fedora 14 Live CD from its iso image on the hard drive.

I put Fedora-14-x86_64-Live-Desktop.iso in the root directory of the partition D: (sda5).
Then extract isolinux from this iso, and put it on D:

I followed the isolinux.cfg file, and wrote a menu.lst as:
Code:

title Fedora 14 Live CD
 root (hd0,4)
 kernel (hd0,4)/isolinux/vmlinuz0 root=live:CDLABEL=Fedora-14-x86_64-Live-Desktop rootfstype=auto ro liveimg quiet  rhgb
 initrd (hd0,4)/isolinux/initrd0.img

But get "uncompression error -- system halted". I verified the SHA256 hash of the downloaded iso file. It's correct.


Here's the content of isolinux.cfg:
Code:

default vesamenu.c32
timeout 100

menu background splash.jpg
menu title Welcome to Fedora-14-x86_64-Live-Desktop!
menu color border 0 #ffffffff #00000000
menu color sel 7 #ffffffff #ff000000
menu color title 0 #ffffffff #00000000
menu color tabmsg 0 #ffffffff #00000000
menu color unsel 0 #ffffffff #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
menu color timeout_msg 0 #ffffffff #00000000
menu color timeout 0 #ffffffff #00000000
menu color cmdline 0 #ffffffff #00000000
menu hidden
menu hiddenrow 5
label linux0
  menu label Boot
  kernel vmlinuz0
  append initrd=initrd0.img root=live:CDLABEL=Fedora-14-x86_64-Live-Desktop rootfstype=auto ro liveimg quiet  rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM 
menu default
label linux0
  menu label Boot (Basic Video)
  kernel vmlinuz0
  append initrd=initrd0.img root=live:CDLABEL=Fedora-14-x86_64-Live-Desktop rootfstype=auto ro liveimg quiet  rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM xdriver=vesa nomodeset
label check0
  menu label Verify and Boot
  kernel vmlinuz0
  append initrd=initrd0.img root=live:CDLABEL=Fedora-14-x86_64-Live-Desktop rootfstype=auto ro liveimg quiet  rhgb  check
label memtest
  menu label Memory Test
  kernel memtest
label local
  menu label Boot from local drive
  localboot 0xffff


btncix 11-11-2010 06:11 PM

One option you could try is first create a partition, create a file system on it, label that partition, and then extract and copy all the files from the iso image onto your partition. Finally, modify grub's menu.lst (I assume you're using grub legacy) to boot off your partition.

Another option would be to look into grub2. Grub2 makes it easier to boot off iso images without having to extract them. However, I find it more complicated to work with grub2 than grub legacy.

udaman 11-11-2010 06:27 PM

Quote:

Originally Posted by drroot (Post 4155328)
I tried to use Grub to boot Fedora 14 Live CD from its iso image on the hard drive.

Why not just do a normal install from the live CD? What could be simpler?

drroot 11-11-2010 11:33 PM

This might be a problem related to the bug posted here:

Bug 515008 in UNetbootin Root is incorrect in menu_lst for fedora 12 hard disk install
https://bugs.launchpad.net/unetbootin/+bug/515008

I extracted all of the content of the iso image to a FAT32 partion.
And replace the CDLABEL of the "root" with the UUID of the partition where the iso file exist. Modify the entry of menu.lst with
Code:

title Fedora 14 Live CD
 root (hd0,4)
 kernel (hd0,4)/isolinux/vmlinuz0 root=UUID=My_UUID_of_the_partition rootfstype=auto ro liveimg quiet  rhgb
 initrd (hd0,4)/isolinux/initrd0.img

But still no success to directly boot the iso image?


All times are GMT -5. The time now is 06:27 PM.