Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
I have many OS's installed atm, here they are: Windows XP Pro Windows Server 2003 R2 Windows Server 2008 SUSE 11.0 Fedora 9 Kubuntu 8.04 Ubuntu 8.04 The problem is, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    47

    Multiple OS's GRUB help


    I have many OS's installed atm, here they are:
    Windows XP Pro
    Windows Server 2003 R2
    Windows Server 2008
    SUSE 11.0
    Fedora 9
    Kubuntu 8.04
    Ubuntu 8.04

    The problem is, I can;t boot up into Ubuntu, I can't see it in the grub menu. i tried adding it to the GRUB menu. Here is what the menu.lst is currently:
    Code:
    title		Kubuntu 8.04.1, kernel 2.6.24-19-generic
    root		(hd0,9)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=8527e682-a2e9-4a32-b82b-d8b23a022902 ro quiet splash
    initrd		/boot/initrd.img-2.6.24-19-generic
    quiet
    
    title		Kubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
    root		(hd0,9)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=8527e682-a2e9-4a32-b82b-d8b23a022902 ro single
    initrd		/boot/initrd.img-2.6.24-19-generic
    
    title		Kubuntu 8.04.1, memtest86+
    root		(hd0,9)
    kernel		/boot/memtest86+.bin
    quiet
    
    title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
    root		(hd0,10)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=8527e682-a2e9-4a32-b82b-d8b23a022902 ro quiet splash
    initrd		/boot/initrd.img-2.6.24-19-generic
    quiet
    
    title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
    root		(hd0,10)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=8527e682-a2e9-4a32-b82b-d8b23a022902 ro single
    initrd		/boot/initrd.img-2.6.24-19-generic
    
    title		Ubuntu 8.04.1, memtest86+
    root		(hd0,10)
    kernel		/boot/memtest86+.bin
    quiet
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title		Windows Vista/Longhorn (loader)
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda7.
    title		openSUSE 11.0 - 2.6.25.5-1.1 (on /dev/sda7)
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.25.5-1.1-pae root=/dev/disk/by-id/scsi-SATA_WDC_WD800BB-08J_WD-WCAM9N420454-part7 resume=/dev/sda8 splash=silent showopts vga=0x317 
    initrd		/boot/initrd-2.6.25.5-1.1-pae
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda7.
    title		Failsafe -- openSUSE 11.0 - 2.6.25.5-1.1 (on /dev/sda7)
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.25.5-1.1-pae root=/dev/disk/by-id/scsi-SATA_WDC_WD800BB-08J_WD-WCAM9N420454-part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x317 
    initrd		/boot/initrd-2.6.25.5-1.1-pae
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda9.
    title		Fedora (2.6.25-14.fc9.i686) (on /dev/sda9)
    root		(hd0,8)
    kernel		/boot/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=91a270aa-77df-4a85-b098-6938670dab02 rhgb quiet 
    initrd		/boot/initrd-2.6.25-14.fc9.i686.img
    savedefault
    boot
    Here is what each hard drive partition each OS is on:
    sda1: Windows XP Pro
    sda5: Windows Server 2003 R2
    sda6: Windows Server 2008
    ada7: SUSE 11.0
    sda8: SWAP
    sda9: Fedora 9
    sda10: Kubuntu 8.04
    sda11: Ubuntu 8.04

    So if you can help me get Ubuntu into the GRUB boot menu, it would help alot.
    P.S. I do like the SUSE GRUB menu the most, so would it be possible to have SUSE GRUB menu?

    btw.. I'm a super linux noob...

    Thanks In Advance

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Start linux, open a terminal and type
    Code:
    sudo fdisk -l
    sudo grub
    find /boot/grub/menu.lst
    the l is a small L

    post the output here ... type
    Code:
    quit
    to leave grub ... if your using SUSE then start with
    Code:
    su -
    and leave the sudo bit off the commands

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    16
    Hi I'm pretty new myself but from what I have learnt you will need to edit the file for grub which I think you'll find in your /dev directory. You need an entry in this file for every partition you want to see in your boot choices when the Grub boot menu appears.

    Not sure about accessing the /dev location if you can't boot into the Ubuntu partition though. I noticed it mentioned in your screen print is it that there is just no option to select it in your grub screen?

    I agree the Suse grub is very friendly looking also. From what I understand it is possible to down load it and install it seperately and I have come across info about this when googling other stuff. I had a quick look but no joy sorry can not be further help.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Quote Originally Posted by t.web View Post
    Hi I'm pretty new myself but from what I have learnt you will need to edit the file for grub which I think you'll find in your /dev directory. You need an entry in this file for every partition you want to see in your boot choices when the Grub boot menu appears.

    Not sure about accessing the /dev location if you can't boot into the Ubuntu partition though. I noticed it mentioned in your screen print is it that there is just no option to select it in your grub screen?

    I agree the Suse grub is very friendly looking also. From what I understand it is possible to down load it and install it seperately and I have come across info about this when googling other stuff. I had a quick look but no joy sorry can not be further help.
    Hi t.web
    Grub menu files are located in /boot/grub folder and are called either menu.lst or grub.conf dependent on distro being used.
    Grub is usually installed with the distro, selecting which grub menu to access is quite straight forward ... there are tutorials and the grub manual is available on the net. There is no need to download grub again.

  6. #5
    Just Joined!
    Join Date
    Nov 2007
    Posts
    47
    Code:
    Disk /dev/sda: 80.0 GB, 80032038912 bytes
    255 heads, 63 sectors/track, 9730 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0009e222
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        1275    10239988+   7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2            1275        9221    63827631+   f  W95 Ext'd (LBA)
    /dev/sda5            1275        2550    10239988+   7  HPFS/NTFS
    /dev/sda6            2550        3825    10239988+   7  HPFS/NTFS
    /dev/sda7            3947        5252    10490413+  83  Linux
    /dev/sda8            5253        5514     2104483+  82  Linux swap / Solaris
    /dev/sda9            5515        6789    10241406   83  Linux
    /dev/sda10           6790        8005     9767488+  83  Linux
    /dev/sda11           8006        9221     9767488+  83  Linux
    
    grub> find /boot/grub/menu.lst
     (hd0,6)
     (hd0,8)
     (hd0,9)

  7. #6
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Quote Originally Posted by Blue_3 View Post
    Code:
    grub> find /boot/grub/menu.lst
     (hd0,6)
     (hd0,8)
     (hd0,9)
    Looks like you only installed grub when you installed
    (hd0,6) openSUSE on sda7
    (hd0,8 ) Fedora on sda9
    (hd0,9) Kubuntu on sda10

    Its' up to you how you run your system but I like to install grub with each version of linux ... that way when kernel updates happen the grub menus get automatically updated. If you have only just done the Ubuntu install I would do this and install grub to the root partition ... but its up to you.

    If you prefer the openSUSE menu then you can change to this as your start menu using
    Code:
    sudo grub
    root (hd0,6)
    setup (hd0)
    quit
    When you reboot you should get the openSUSE grub menu.

    If you want to add Ubuntu to a menu then you will need to edit /boot/grub/menu.lst to add the required entry.
    I suggest initially you mount the Ubuntu partition and check the kernel version and also either check the uuid value or use /dev/sda11 instead of uuid. Post back if you need further help with this.

    I install each version of grub with menu files and then add entries to call up other menu files eg to add Fedora menu to either openSUSE or kubuntu then add to /boot/grub/menu.lst (use sudo nano /boot/grub/menu.lst) the following
    Code:
    title Fedora grub menu (sda9)
    root (hd0,8)
    configfile=/boot/grub/menu.lst

  8. #7
    Just Joined!
    Join Date
    Nov 2007
    Posts
    47
    ummmm.. yeah.. I'm super Linux noob... lol... so most of that didn't make much since...

    I'll read through it again, but I will more than likely need your help.. a lot..

    As for GRUB.. I dunno how to install it or not install it, when installing a distro.

    Thanks In Advance

  9. #8
    Just Joined!
    Join Date
    Nov 2007
    Posts
    47
    Umm problem now.. I did the menu change like you said, but now all I can see to boot from is SUSE or windows.. lol.

    I would like to have my GRUB have everything showed on it at all times. As of now, for my 3 windows it just says Windows. I would like it to have "Windows XP Pro" "Windows Server 2003 R2" and "Windows Server 2008" and then have all the linux there too. As for when i said suse menu, I was meaning I wanted my GRUB to look like the SUSE menu but still have everything.
    Hope you understand, and hope you can help me.. haha.

    Heres what I would like my GRUB to have:
    Windows XP Pro
    Windows Server 2003 R2
    Windows Server 2008
    SUSE 11.0
    Fedora 9.0
    Kubuntu 8.04
    Ubuntu 8.04

    I would like to see those all on the GRUB page at all times. Hope I explained myself completly.

    Thanks In Advance

  10. #9
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    The menu.lst you posted in your first post appears to be from Kubuntu. You stated that you want to use the Opensuse bootloader so you need to modify the menu.lst from Opensuse. If you followed Jonathan183's instruction, you have installed the Opensuse stage1 file to the mbr. The stage1 file points to the stage2 of Opensuse on (hd0,6) so you need to have all the correct entries in that (Opensuse) menu.lst. The menu you see on boot is part of the stage2.

    You also indicated that you could not see Ubuntu in the Grub menu on boot yet, in the menu.lst in your first post, there are entries for Ubuntu. Which distro was the last one you installed?

    Usually, in Grub, there is one entry for windows and when you click it, you get multiple options if you have multiple windows partitions. You may be able to modify that in Grub through chainloading but I'm not sure and don't know how you would do that.

  11. #10
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    From your original menu.lst you could paste the following into openSUSE /boot/grub/menu.lst file to get the options you had before ...
    Code:
    title		Kubuntu 8.04.1, kernel 2.6.24-19-generic
    root		(hd0,9)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=8527e682-a2e9-4a32-b82b-d8b23a022902 ro quiet splash
    initrd		/boot/initrd.img-2.6.24-19-generic
    quiet
    
    title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
    root		(hd0,10)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=8527e682-a2e9-4a32-b82b-d8b23a022902 ro quiet splash
    initrd		/boot/initrd.img-2.6.24-19-generic
    quiet
    
    title		Windows Vista/Longhorn (loader)
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    
    title		Fedora (2.6.25-14.fc9.i686) (on /dev/sda9)
    root		(hd0,8)
    kernel		/boot/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=91a270aa-77df-4a85-b098-6938670dab02 rhgb quiet 
    initrd		/boot/initrd-2.6.25-14.fc9.i686.img
    savedefault
    boot
    You need to use
    Code:
    su
    to edit the file. Nano is not installed in openSUSE by default but you could use vi or other text editor.

    Grub does not directly load Windows it chainloads Windows bootloader so you only have the single Windows entry in grub and then select Windows OS for its bootloader menu.

    Ed: to sort Ubuntu boot issue first mount the Ubuntu partition and check kernel name in Ubuntu partition /boot folder, also check uuid value ... at the command prompt use
    Code:
    ls /dev/disk/by-uuid -l
    You should find an entry for sda11 which is the Ubuntu partition.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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