You are not logged in.

#1 2012-06-04 08:33:49

Robert Finley
Member
From: Knoxville, TN
Registered: 2011-09-05
Posts: 14

Can't install grub on Hardware RAID

I am having trouble finding the Grub root device for /dev/cciss/c0d0, any help would be appreciated

HP DL360 Server
Compaq SmartArray i6 RAID controller

Offline

#2 2012-06-04 12:39:38

Robert Finley
Member
From: Knoxville, TN
Registered: 2011-09-05
Posts: 14

Re: Can't install grub on Hardware RAID

I tried manually installing GRUB2 after the installation following the instructions in the wiki.  I followed the instructions letter for letter except for the last.

# grub-install --directory=/usr/lib/grub/i386-pc --target=i386-pc --boot-directory=/boot --recheck --debug /dev/sda

In this step I changed "/dev/sda" to /dev/cciss/c0d0 and the bootloader installed successfully with no errors.
When I rebooted, GRUB2 started fine but when I try to start Arch I get "error: no such device:..." and "error: no such partition." 

There is obviously a configuration file somewhere that I need to edit.

Partition scheme looks like this:

/dev/cciss/c0d01p1 = /boot
/dev/cciss/c0d01p2 = /swap
/dev/cciss/c0d01p2 = /
/dev/cciss/c0d01p2 = /home

What do I need to edit?  How? What does it need to say?  Is manually installing GRUB2 even the proper solution?

Offline

#3 2012-06-04 12:58:47

Robert Finley
Member
From: Knoxville, TN
Registered: 2011-09-05
Posts: 14

Re: Can't install grub on Hardware RAID

Ok, scratch all that.  I have completely started over.  I am down to the "install bootloader" step.  I am looking at the /mnt/boot/grub/menu.lst.  Based on the partition scheme listed above, it there something I can change here to make this work?

Offline

#4 2012-06-04 13:16:38

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't install grub on Hardware RAID

/dev/cciss/c0d01p2 = /swap
/dev/cciss/c0d01p2 = /
/dev/cciss/c0d01p2 = /home

I'm no rocket scientist and I have never used RAID before, but by looking at this... Umm, same source? Really?

And have you seen this: https://wiki.archlinux.org/index.php/Gr … OS_devices ?

Enter the following commands. Replace /dev/vda, and (hd0,0) with the correct device and partition corresponding to your setup.

device (hd0) /dev/vda
root (hd0,0)
setup (hd0)
quit

Also: https://bbs.archlinux.org/viewtopic.php?id=142698

Apparently you need "cciss" in the MODULES section from /etc/mkinitcpio.conf. And don't forget to regenerate your initramfs:

# mkinitcpio -p linux

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-06-04 13:19:12

Robert Finley
Member
From: Knoxville, TN
Registered: 2011-09-05
Posts: 14

Re: Can't install grub on Hardware RAID

oh crap, sry...

/dev/cciss/c0d01p1 = /boot
/dev/cciss/c0d01p2 = /swap
/dev/cciss/c0d01p3 = /
/dev/cciss/c0d01p4 = /home

Offline

#6 2012-06-04 14:07:09

Robert Finley
Member
From: Knoxville, TN
Registered: 2011-09-05
Posts: 14

Re: Can't install grub on Hardware RAID

DSpider wrote:

Replace /dev/vda, and (hd0,0) with the correct device and partition corresponding to your setup.

This is the part I don't understand.

Offline

#7 2012-06-04 17:33:22

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't install grub on Hardware RAID

It means that you can launch the GRUB shell (using the Arch LiveCD) and install GRUB from there, with basic commands.

If the GRUB files are not present in your boot directory, you can copy them from the Arch LiveCD.


But like I said, I have never used RAID in my life... At least post an error or something so that I have something to work with. Post your menu.lst.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB