Find the answer to your Linux question:
Results 1 to 7 of 7
I dont know much about kernels and their commands. To boot Ubuntu livecd from iso using grub2, the following entry is used Code: menuentry "Lucid ISO on /dev/sda1" { loopback ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    3

    Install from iso grub2


    I dont know much about kernels and their commands. To boot Ubuntu livecd from iso using grub2, the following entry is used

    Code:
    menuentry "Lucid ISO on /dev/sda1" {
    loopback loop (hd0,1)/home/drs305/Desktop/ubuntu-10.04-beta2-desktop-amd64.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/drs305/Desktop/ubuntu-10.04-beta2-desktop-amd64.iso noprompt
    initrd (loop)/casper/initrd.lz
    }
    Here /casper/vmlinuz (kernel or loader?) uses iso-scan/filename but the kernel with opensuse livecd (/boot/i386/loader/linux) does not recognize it.

    I want to know what command (kinda) the opensuse kernel uses in place of iso-scan/filename so that i can boot the iso image through grub.

    Thank you

  2. #2
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    vmlinuz is the kernel.

    To boot, you first have to point to the root.
    Then load vmlinuz and initrd.
    And boot then.

    However I don't know the syntax of GRUB2 because I never used it.

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    3
    I have been able to load vmlinuz and initrd and boot. But when I do, it says livecd configuration missing. It needs something after "linux (loop)/boot/loader/i386/linux" and I dont know what. vmlinuz takes "iso-scan/filename" but this one doesn't recognize it.
    Thanks

  4. #4
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    I don't know what you are actually doing.

    Are you booting to opensuse with GRUB by loading the opensuse kernel and initrd?
    And then booting to ubuntu with GRUB2?
    I don't know if that should work.

    In GRUB1 the command to load the kernel is kernel and load initrd is initrd.
    In GRUB2 the command to load the kernel is changed to linux or multiboot.

    Anyway, if you want to boot to ubuntu, you shouldn't load the opensuse kernel but the ubuntu kernel.
    To see what happens during boot, just hit the escape key.

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    3
    I am sorry guys I didn't make myself clear. I have an openSUSE livecd image on my hard drive. I want to boot off it. I have successfully booted an Ubuntu image so I assume booting an openSUSE iso is possible as well. But I dont know how to do it.

  6. #6
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    Yes sure, you have to be much more precise.

    The opensuse iso-file is on the hard drive.
    But what is on that drive, ubuntu or opensuse where it resides, what file-system?

    To boot an OS you need to have a boot-file, GRUB1 or GRUB2, on that drive.
    If it is possible to boot an opensuse iso file I don't know.

  7. #7
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •