Error 22 on MacBook Pro

When going through the installation process of openSUSE 11, I encounter an error when attempting to install the bootloader.

I see that there is an error installing grub.
setup stage2 on (hd0,3) (hd0,3)

This does not make sense because I am quite sure that my partition for openSUSE is in fact the 4th.

I did some research and found that it might be a with the device.map.

I attempted to go in through “rescue” to read what device.map says, but at the command line, it asks me for a login. It does not let me login as myself. If I type “root” I am met with a ‘#’. I do know what I should be typing as “cat /boot/grub/device.map” does nothing.

Further details of my system, I have 4 partitions, in the order of EFI partition, OSX, SWAP, openSUSE.

The Grub boot loader would be called from an EFI boot screen (rEFIt).

Any suggestions would be great! Just a note, I was able to get Ubuntu installed with the same partition layout. So I guess it is possible to install Grub.

try this to mount your Suse installation in the rescue system:

mount /dev/sda4 /mnt
mount -t proc none /mnt/proc
mount -o bind /dev/mnt/dev

afterwards you can chroot to it with

chroot /mnt

sda/hda starts counting with 1, but grub starts with 0, so sda1 is (hd0,0) and sda4 is (hd0,3)