<---- template headericclude ----->
[SOLVED] Fedora 15 Livecd ISO boot from harddisk..help needed
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Mar 2009
    Location
    Kerala,India
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Fedora 15 Livecd ISO boot from harddisk..help needed

    Hi,
    I am trying to boot Fedora 15 livecd iso in a seperate ext4 partition using grub2 menu entries as below but it fails.
    Code:
    menuentry "Fedora 15 Live" {
     insmod ext2
     set root=(hd0,msdos2)
     loopback loop (hd0,msdos2)/Fedora-15-x86_64-Live-Desktop.iso
     linux (loop)/isolinux/vmlinuz0 boot=isolinux root=CDLABEL=Fedora-15-x86_64-Live-Desktop.is rootfstype=auto ro quiet liveimg  noeject noprompt --
     initrd (loop)/isolinux/initrd0.img
    }
    during booting process, it falls into a # terminal and am clueless.

    I knew of this bug:
    https://bugzilla.redhat.com/show_bug.cgi?id=650672

    Is it not possible to boot Fedora 15 iso through grub2 ?

    If extracting whole content of ISO to a directory, can grub2 be able to boot?

    TIA+
    Last edited by deepclutch; 26th May 2011 at 11:37 AM.

  2. #2
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    I was able to do this with the DVD (I guess it is the same for the livecd).
    I have 2 partitions on my disk: the first is the system, and the second contains the iso.
    Unfortunately, I have not saved my grub2 configuration before the installation but I think it was the following (using the logs from anaconda and my memory)

    Code:
    menuentry "Fedora 15 (DVD)" {
     insmod loopback
     insmod iso9660
     set isofile="/Fedora-15-x86_64-DVD.iso"
     loopback loop (hd0,2)$isofile
     linux (loop)/isolinux/vmlinuz rootfstype=auto  root=live:UUID=<Partition UUID>:$isofile ro quiet
     initrd (loop)/isolinux/initrd.img
    }
    Adapt the bold terms to your case.
    Remark: anaconda taked a _very_ long time to start, and I had a black sreen with a blinking cursor for more than one minute (subjective time ). And the hardware probing also taked a long time, but after everything was fine.
    :confused:

  3. #3
    Join Date
    Mar 2009
    Location
    Kerala,India
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    @Skull One: it errors out : "you have to load kernel first" or something similar.

  4. #4
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    Quote Originally Posted by deepclutch
    @Skull One: it errors out : "you have to load kernel first" or something similar.
    I have checked on a livecd, and the files have a '0' in suffix.
    Here the correction:
    Code:
    menuentry "Fedora 15 (LiveCD)" {
     insmod loopback
     insmod iso9660
     set isofile="/Fedora-15-x86_64-Live-Desktop.iso"
     loopback loop (hd0,2)$isofile
     linux (loop)/isolinux/vmlinuz0 rootfstype=auto  root=live:UUID=<Partition UUID>:$isofile ro quiet
     initrd (loop)/isolinux/initrd0.img
    }
    with the bold terms to be adpted to your case.
    :confused:

  5. #5
    Join Date
    Mar 2009
    Location
    Kerala,India
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    I tried that also. but "dracut warning: no root is found root:live:/dev/disk/by-uuid:/Fedora15**"
    BTW, Fedora iso is placed in / of /dev/sda2 and it's uuid is correct.
    PS: I use a ext4 fs on this partition. is this an issue?

  6. #6
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    Quote Originally Posted by deepclutch
    I tried that also. but "dracut warning: no root is found root:live:/dev/disk/by-uuid:/Fedora15**"
    BTW, Fedora iso is placed in / of /dev/sda2 and it's uuid is correct.
    PS: I use a ext4 fs on this partition. is this an issue?
    Since it is a dracut message, it means that the initrd is launched.
    So, it is a problem with the kernel options.
    If your UUID is correct, I have no other idea for the moment...
    :confused:

  7. #7
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    OK, I did some tests. In summary:
    - no problem with the DVD;
    - with the livecd, dracut cannot read the iso file (bug https://bugzilla.redhat.com/show_bug.cgi?id=650672)

    So, the workaround is to extract the iso, for instance into the directory 'LiveCD', and the grub2 entry is then:
    Code:
    menuentry "Fedora 15 (LiveCD - extracted)" {
     insmod ext2
     set root='(hd0,2)'
     search --no-floppy --fs-uuid --set <Partition UUID>
     linux /LiveCD/isolinux/vmlinuz0 rootfstype=auto  root=UUID=<Partition UUID> liveimg live_dir=/LiveCD/LiveOS/ ro quiet rhgb
     initrd /LiveCD/isolinux/initrd0.img
    }
    with the bold terms to be adapted to your case, and the red term being the directory where the iso is extracted.
    I am not sure that the 'search' line is really relevant, but I have not tested without it.
    Enjoy !


    Edit: of course there is no problem with the DVD, since we just launch the installer and there is no need to mount the filesystem, which is where dracut hangs. The terms root=... is irrelevant for the DVD.
    Last edited by Skull One; 31st May 2011 at 03:20 PM.
    :confused:

  8. #8
    Join Date
    Mar 2009
    Location
    Kerala,India
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    @Skull One: Yes! it worked. after extracting Fedora Iso, it booted fine. I am posting from the live Fedora session. Thanks for the help.

    While Booting, grub2 showed some error which I cannot recollect. but, after that error message, grub transfers to Fedora boot sequence.. may be the line starting with "search --no-floppy" may not be needed.

    Thanks!

    edit: the error was caused by the line " search --no-floppy --fs-uuid --set <Partition UUID>" which is not needed.

    Thanks Again
    Last edited by deepclutch; 31st May 2011 at 07:53 PM. Reason: update

  9. #9
    Join Date
    Mar 2012
    Location
    Sydney Australia
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    Despite being a year old issue, there still isn't an official solution to it from Fedora.

    For benefit of others looking for a temporary solution besides extracting files, I have written a shell script which patches the initrd of the ISO image in order to allow using live:/*.iso boot parameter for the Live CD:

    https://gist.github.com/2132076

    Example of usage is in the comments.

    Enjoy!

  10. #10
    Join Date
    May 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    MultiBootUSB supports the booting of the latest Fedora (16) using a USB Flash Disk Drive.
    http://sourceforge.net/projects/multibootusb/

  11. #11
    Join Date
    May 2004
    Location
    Osijek, Croatia
    Age
    45
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 15 Livecd ISO boot from harddisk..help needed

    I have finally found a script that actually works booting Fedora 18 iso from usb:
    http://git.marmotte.net/git/glim/plain/fedora18-fromiso

    Details are here:
    http://git.marmotte.net/git/glim/plain/README

    Cheers,
    Valent.
    Last edited by Valent; 27th February 2013 at 04:07 PM.

Similar Threads

  1. Replies: 1
    Last Post: 8th October 2008, 09:26 AM
  2. Ideas needed for livecd
    By AutoC in forum Using Fedora
    Replies: 6
    Last Post: 7th April 2008, 11:15 AM
  3. 5 STARS! Fedora 7 i386 livecd - how to boot from livecd - need SERIOUS help please!
    By newfedorahat in forum Installation, Upgrades and Live Media
    Replies: 14
    Last Post: 25th June 2007, 07:37 AM
  4. HardDisk Partitioning-Help needed
    By CNR in forum Installation, Upgrades and Live Media
    Replies: 17
    Last Post: 26th February 2006, 04:53 AM
  5. Fedora doesn't boot after cloning it to new Harddisk
    By creiter in forum Using Fedora
    Replies: 8
    Last Post: 25th November 2005, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]