LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install grub with knoppix on hardware RAID 5 (https://www.linuxquestions.org/questions/linux-software-2/install-grub-with-knoppix-on-hardware-raid-5-a-647725/)

elliotfuller 06-08-2008 12:00 AM

Install grub with knoppix on hardware RAID 5
 
I just installed a debian based distro on my Dell poweredge 2900. It comes with a perc 5/i raid card which actually translates to a MegaRAID 8408E card, but dell likes to slap there name on it.

The install went okay, except for grub. I get the classic failed to install grub to hd(0,0) message and I am left with an un-bootable system.

The configuration is RAID 5, and the installer is labeling the partitions as /dev/sda1 and /dev/sda2 (root and swap respectively).

I booted in with knoppix to install grub, but knoppix doesn't recognize the individual disks so i cant install grub on the first hard drive.

Its been awhile since I have installed grub, so i tried a few things...

Here is my fstab from the boot disk

Code:

proc      /proc      proc  rw,nosuid,nodev,noexec 0 0
/sys      /sys        sysfs  rw,nosuid,nodev,noexec 0 0
/dev/shm  /dev/shm    tmpfs  rw,nosuid,nodev,noexec 0 0
/dev/pts  /dev/pts    devpts mode=0622          0 0
/dev/fd0  /media/fd0  auto  user,noauto,exec,umask=000    0 0
/dev/cdrom /media/cdrom  auto  user,noauto,exec,ro 0 0
/dev/hda /media/hda  auto  users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/sda1 /media/sda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sda2 /media/sda2 auto noauto,users,exec 0 0

So I blunderingly tried..

Code:

grub> root (hd0,0)
 Filesystem type unknown, partition type 0xee

grub>

to no avail..

and I even tried,
Code:

root@Knoppix:/mnt# grub-install /dev/hda
/dev/hda does not have any corresponding BIOS drive.
root@Knoppix:/mnt# grub-install /dev/sda
Could not find device for /boot: Not found or not a block device.
root@Knoppix:/mnt# grub-install /dev/sda1
Could not find device for /boot: Not found or not a block device.

to no avail..

Any idea how to get knoppix to write grub to the MBR of the first disk?

I gotta have this system running!

aus9 06-08-2008 01:09 AM

until you get a better reply...I do not use raid...I believe you will have more relable success if you make a separate /boot partition for grub to work with....here are some images and notes on howto

edit wrong link try

http://www.linuxquestions.org/questi...83#post3074583

elliotfuller 06-08-2008 01:31 PM

Looks like grub cant install on a partition larger than 2 TB. I'm gonna verify that this is the reason for the failed install this afternoon.

aus9 06-08-2008 08:17 PM

agreed but it appears to affect lilo as well
http://www.unixgods.org/~tilo/linux_larger_2TB.html


All times are GMT -5. The time now is 05:00 PM.