i need help with Grub

Hi peoples…
ok… i have 2 hard drives and 2 distro’s…

I had Arch linux on sdb and i reinstalled opensuse today on sda. unfortunately arch linux wasn’t automatically configured by grub… so I mounted and copied the arch menu.lst parts that i needed and put it in my menu.lst in opensuse (as grub from my opensuse installation is now the default)

But it fails to boot…

i’ll post my partitions/drives/menu.lst config

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 83 Linux
/dev/sda2 2612 19457 135315495 83 Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00022715

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104422 83 Linux
/dev/sdb2 14 46 265072+ 82 Linux swap / S
/dev/sdb3 47 1003 7687102+ 83 Linux
/dev/sdb4 1004 9729 70091595 83 Linux

here is my menu.lst in arch

Config file for GRUB - The GNU GRand Unified Bootloader

/boot/grub/menu.lst

DEVICE NAME CONVERSIONS

Linux Grub

-------------------------

/dev/fd0 (fd0)

/dev/sda (hd0)

/dev/sdb2 (hd1,1)

/dev/sda3 (hd0,2)

FRAMEBUFFER RESOLUTION SETTINGS

±------------------------------------------------+

| 640x480 800x600 1024x768 1280x1024

----±-------------------------------------------

256 | 0x301=769 0x303=771 0x305=773 0x307=775

32K | 0x310=784 0x313=787 0x316=790 0x319=793

64K | 0x311=785 0x314=788 0x317=791 0x31A=794

16M | 0x312=786 0x315=789 0x318=792 0x31B=795

±------------------------------------------------+

for more details and different resolutions see

GRUB - ArchWiki

general configuration:

timeout 5
default 0
color light-blue/black light-cyan/blue

boot sections follow

each is implicitly numbered from 0 in the order of appearance below

TIP: If you want a 1024x768 framebuffer, add “vga=773” to your kernel line.

#-*

(0) Arch Linux

title Arch Linux
root (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/af5ceced-0a4b-41a7-b923-b6bcc2991621 ro
initrd /kernel26.img

(1) Arch Linux

title Arch Linux Fallback
root (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/af5ceced-0a4b-41a7-b923-b6bcc2991621 ro
initrd /kernel26-fallback.img

and heres my menu.lst in Opensuse with arch linux added to it

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.29-0.1
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.29-0.1-pae root=/dev/disk/by-id/ata-ST3160815AS_5RA2VFXY-part1 resume=/dev/disk/by-id/ata-MAXTOR_STM380211AS_6PT1KB90-part2 splash=silent showopts vga=0x31a
initrd /boot/initrd-2.6.27.29-0.1-pae

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.1 - 2.6.27.29-0.1
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.29-0.1-pae root=/dev/disk/by-id/ata-ST3160815AS_5RA2VFXY-part1 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
initrd /boot/initrd-2.6.27.29-0.1-pae

(0) Arch Linux

title Arch Linux
root (hd1,0)
kernel /vmlinuz26
root=/dev/disk/by-uuid/af5ceced-0a4b-41a7-b923-b6bcc2991621 ro
initrd /kernel26.img

(1) Arch Linux

title Arch Linux Fallback
root (hd1,0)
kernel /vmlinuz26
root=/dev/disk/by-uuid/af5ceced-0a4b-41a7-b923-b6bcc2991621 ro
initrd /kernel26-fallback.img

any ideas?
cheers

I might add that I get an “error 11” unknown device string
when trying to boot arch linux

thanx…
any suggestions?

These two lines from the Suse menu.lst:

kernel /vmlinuz26
root=/dev/disk/by-uuid/af5ceced-0a4b-41a7-b923-b6bcc2991621 ro

were on the same line in the Arch menu.lst. Why did you split them to two separate lines when you put them into Suse’s menu.lst? Stitch them back together the way they are in Arch and see if it boots.

Holey Crap… I can’t believe I didn’t notice that! arghhhh I feel like an idiot now! Lol!

It must of split them up when I copied and pasted them for some strange reason…

thanx mate rotfl!

:wink: