Multi-boot

Discussion in 'Installation/Configuration' started by danh000, Dec 31, 2008.

  1. danh000

    danh000 New Member

    I want to configure my laptop for multi-boot. I want to boot SUSE 11.1, Fedora 10 and Ubuntu 8.10 from the same disk.

    In which order should they be installed so that I can end up with one grub configuration to control all three.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    As long as all OS' are Linux, the order is not important. If you want to use windows, you must install Windows first and then Linux.
     
  3. danh000

    danh000 New Member

    OK I installed in the following order.

    Windoze XP
    Ubuntu 8.10
    Fedora 10
    openSUSE 11.1

    All show up as selections in the suse grub menu and all boot except Ubuntu. I can't figure out why. It gives an error of a file missing when I try to boot Ubuntu.

    Please help!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the exact error message?
     
  5. danh000

    danh000 New Member

    Here is the output of fdisk -l

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x30b8ff87

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
    /dev/sda2 6375 17985 93265357+ 5 Extended
    /dev/sda3 17986 30401 99731520 83 Linux
    /dev/sda5 6375 17924 92775343+ 83 Linux
    /dev/sda6 17925 17985 489951 82 Linux swap / Solaris

    Disk /dev/sdb: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa9a4a9a4

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 14593 117218241 5 Extended
    /dev/sdb5 1 2611 20972794+ 83 Linux
    /dev/sdb6 2612 14593 96245383+ 83 Linux

    Here is my grub menu.lst

    # Modified by YaST2. Last modification on Tue Jan 6 20:11:57 MST 2009
    default 0
    timeout 8
    gfxmenu (hd1,4)/boot/message


    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 11.1
    root (hd1,4)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD1200BEVS-60RST0_WD-WXE707299119-part5 resume=/dev/disk/by-id/ata-WDC_WD2500BEVS-60UST0_WD-WXE708JC4018-part6 splash=silent showopts vga=0x317
    initrd /boot/initrd


    ###Don't change this comment - YaST2 identifier: Original name: Fedora (2.6.27.9-159.fc10.x86_64) (/dev/sda3)###
    title Fedora (2.6.27.9-159.fc10.x86_64) (/dev/sda3)
    root (hd0,2)
    configfile /boot/grub/menu.lst


    ###Don't change this comment - YaST2 identifier: Original name: Ubuntu 8.10, kernel 2.6.27-7-generic (/dev/sda5)###
    title Ubuntu 8.10, kernel 2.6.27-7-generic (/dev/sda5)
    root (hd0,4)
    configfile /boot/grub/menu.lst


    ###Don't change this comment - YaST2 identifier: Original name: windows###
    title Windows XP
    rootnoverify (hd0,0)
    chainloader +1


    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 11.1
    root (hd1,4)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD1200BEVS-60RST0_WD-WXE707299119-part5 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd


    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title Debug -- openSUSE 11.1 - 2.6.27.7-9
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.27.7-9-debug root=/dev/disk/by-id/ata-WDC_WD1200BEVS-60RST0_WD-WXE707299119-part5 resume=/dev/disk/by-id/ata-WDC_WD2500BEVS-60UST0_WD-WXE708JC4018-part6 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.27.7-9-debug

    Hope this helps. Thanks for the help!
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Try something like this for the Ubuntu stanza:

    Code:
    title           Ubuntu 8.10, kernel 2.6.27-7-generic
    root (hd0,4)
    kernel          /boot/vmlinuz-2.6.27-7-generic ro quiet splash
    initrd          /boot/initrd.img-2.6.27-7-generic
    quiet
     

Share This Page