LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multi-boot (https://www.linuxquestions.org/questions/linux-newbie-8/multi-boot-695451/)

danh000 01-06-2009 05:46 PM

Multi-boot
 
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!

Drakeo 01-06-2009 06:53 PM

well obviouslk suse did not read your meneu first file. and load ubuntu. go into you /boot/grub/menu.1st. and configure it. mine is on hard drive hdc. so my grub points to hd2,0.

title Ubuntu 8.04.1, kernel 2.6.24-22-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=6d6554fb-b8ec-4b77-af61-e4d3ef6298f0 ro quiet splash loglevel=0
initrd /boot/initrd.img-2.6.24-22-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=6d6554fb-b8ec-4b77-af61-e4d3ef6298f0 ro single
initrd /boot/initrd.img-2.6.24-22-generic

Larry Webb 01-06-2009 07:48 PM

If Suse was your last install go to YaST and select 'system' in the left panel then 'boot' in the right panel then find the edit menu list. It has been sometime and I am not near my home computer so I may miss a step in my directions. If ubuntu is not listed then the easiest would be to open terminal and type the 'fdisk -l' command and post it so that we can see the layout of your hd. If there is anything you do not understand please ask.

danh000 01-06-2009 09:21 PM

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!

yancek 01-06-2009 11:00 PM

In your first post, you indicate you get a message that a file is missing, which file?

You have an entry for Ubuntu in your posted Opensuse menu.lst file so the missing file is the problem. You might try removing the configfile line for Ubuntu by putting a hash mark (#) to the left of it so it looks like:

#configfile /boot/grub/menu.lst

immediately below that line enter "chainloader +1" (w/out quotes) and see if that works. If not, let us know which file is missing.


All times are GMT -5. The time now is 09:16 AM.