Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271852 - Fails to load GRUB with RAID 1, Screen says "GRUB" and then noting more
Summary: Fails to load GRUB with RAID 1, Screen says "GRUB" and then noting more
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-30 10:49 UTC by Thomas G
Modified: 2009-06-06 13:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas G 2009-05-30 10:49:26 UTC
Hello,

I've been struggling with my new computer for a few days now to no success. This is the 10:thish Gentoo Server I'm setting up and usually I've managed to solve the issues but here I could need some help. I'm not sure if it's a bug or if I'm simply missing something but here goes...

My computer is a Dell Optiplex 960 with a Intel SATA Raid Controller (82801 (ICH10 Family)). Live CD works like a charm (as always) and the system is setup. I've used genkernel with menuconfig and have tried to lookup all the modules to be included (* not M) in the kernel for the RAID specified (and probably I've added support for some that I don't need in the process).

RAID is configured in the BIOS as RAID 1 and Gentoo FDISK discovers it like it should, single disk (in cd live environment at least).

I installed GRUB and configured it as "usual":
---
default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux (2.6.28-gentoo-r5)
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.28-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev doscsi
initrd /initramfs-genkernel-x86-2.6.28-gentoo-r5
---

I exit from the chrooted env. and execute a "reboot".

First the system hangs at "Remounting remaining filesystems readonly" and I have to issue a soft reset with CTRL-ALT-DEL (this problem does only exist on the current livecd, the 2008.0 from last summer works OK but there's no drivers to the network card in that one). The system boots and right after the BIOS loads it says that an operating system cannot be found. If I press "Continue" I get the text "GRUB", but nothing more.

I've read about dmraid and various other things, tried most of them but to no success. The livecd finds the RAID perfectly, should it be so hard making them in the MBR/kernel?

Many thanks in advance,
/Thomas

Reproducible: Always

Steps to Reproduce:
1 - halts at reboot. With this system, just insert livecd, load and then "reboot"
2 - GRUB hangs. Try to load the system from the hard drive (RAID 1)


Actual Results:  
Hangs, stopps

Expected Results:  
Reboot and Loading of Gentoo
Comment 1 Wormo (RETIRED) gentoo-dev 2009-06-01 06:00:07 UTC
Well, it sounds like it is grub having problems with your RAID, rather than the kernel, so your kernel configuration is probably just fine. The liveCD doesn't need to access RAID until the kernel is booted, so that's why it does ok.

What version of grub are you using? What does grub-install have to say when you run it?
Comment 2 Thomas G 2009-06-01 08:05:28 UTC
Hello,

That sounds logical. I've read some more about the RAID features and that the software raid is recommended sometimes. I'd say that having the RAID as close to the hardware as possible is the best (which is firmware/bios in my case) but I don't know.

I've installed sys-boot/grub-0.97-r9


First I ran grub-install /dev/sda and I got this result:
---
(chroot) livecd / # grub-install /dev/sda
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/sda
(hd1)   /dev/sdb
(chroot) livecd / #
---
Which I thought was a little bit ambigous... First "Unknown partition table signature" and then "No error reported." Also I wouldn't expect to see (hd1) /dev/sdb since it should be on a RAID.

Then I tried to install it manually to see if I got the same message - I didn't it just said it completed successfully.

Your conclusion sounds, again, logical but I guess again that this isn't a bug - but how do I solve it?

Best regards,
/Thomas
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-06-06 13:01:50 UTC
You're right, unfortunately this isn't really a bug.  Your best bet is to ask around on forums, the gentoo forums [1] may have seen this issue before.

It looks as though [2] might be directly relevant.  Closing as INVALID in that it is a problem, but not a bug the developers can solve...

[1] http://forums.gentoo.org/
[2] http://forums.gentoo.org/viewtopic-t-697054-highlight-grub+bios+raid+1.html