grub error 2
Code:
GRUB loading stage1.5 First a bit of information about my system: Motherboard Asus A7v133 (2-ide, 2-onboard raid) Jumper settings for RAID: J13 (1-2) J14 (2-3) ( Chapter 3.4 section 5 manual ) I installed Debian 4.0 r2 on /dev/hde1 (swap = /dev/hde2): Code:
livecd ~ # fdisk -l My menu.lst: Code:
livecd mnt # mount /dev/hde1 hde/ When I read several other threads ppl said that you cannot boot from raid or that the driver is missing in the kernel. Quote:
Also the rescue mode that is on the same debian cd is able to read from the partition. So it is my assumption that the driver is loaded in the kernel. Code:
Output of grub-install /dev/hde: Quote:
|
Quote:
Looking at your fdisk and menu.lst, it looks right, but the error leads me to suspect this is wrong: Code:
title Debian GNU/Linux, kernel 2.6.18-5-486 Try this: Code:
title Debian GNU/Linux, kernel 2.6.18-5-486 |
http://www.gnu.org/software/grub/manual/grub.html
yes, I read about the error 2 there. The kernel files are located in ./boot on /dev/hde1. I tried all posibilities of your suggestion, but those didn't work. Everytime I edit the menu.lst, save and grub-install /dev/hde. |
Quote:
With your controller configuration the first device on the raid controller may be /dev/hdc instead of /dev/hde. That would be the case if all four hard drive slots were on the same controller chip. If the ide controller and the raid controller are separate chips then the first device on the raid chip could be /dev/hde. However secondary IDE controllers (and a raid chip is a somewhat altered IDE chip) are often less than a complete IDE controller. Common missing functions on a secondary IDE controller are CD-ROM support and the ability to boot. Another common failure is that they will work with some brands of hard drives and not others. I suggest that you physically move your hard drive to /dev/hda and make the appropriate changes to grub and fstab. Then boot to check if things will work OK on the primary controller. If they do then that means that you have a separate raid controller chip and that the raid controller chip doesn't have all possible functions. In that case you might have to do something like put /boot on /dev/hda and the rest of the OS on /dev/hde. Also you should go through your BIOS and see what configuration settings are available for your IDE and RAID controller(s). ---------------------- Steve Stites |
It's fairly easy to hit "e" key when GRUB displays the menu and then use the GRUB editor and tab-completion to find out what GRUB would like to use for the drive and file name entries.
Since changes made with the GRUB editor are only made in memory, you're free to experiment 'till you find out what works. |
Quote:
Quote:
I can also put /boot and mbr grub on /dev/fd0 or /dev/cdrom or /dev/usb. I don't want to use an entire harddrive for that (although on my old system, I used a very old harddrive and used hdparm to turn off the harddrive after boot). Quote:
1) cd/dvd (my dvd drive / disabled) 2) ide hard drive (none / disabled) 3) removable device (disabled / floppy / ls-120 / zip / atapi mo / usb fdd / usb zip) 4) other boot device (disabled / onboard ata100 boot device/scsi / int18 device (network) And a bit further: SCSI/ATA100 boot sequence Currently using onboard ata100 boot device/scsi as boot medium. Quote:
My conclusion is that it isn't possible to boot from raid devices. The drivers you need are in the kernel. But because the raid system is composed of a differend filesystem, grub cannot read the kernel because of that differend filesystem, and that results in grub error 2. Solution: Install grub on a filesystem that grub can read, such as a device on hda, b, c or d. A floppy disk, cdrom or usb drive. These are just examples, there's much more. What about me? Well, I think I'm going to try md software raid-1 on /dev/hda and /dev/hdc. |
All times are GMT -5. The time now is 08:36 PM. |