[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wheezy install - grub wont write to MBR with RAID and LVM - SOLVED





On Wed, Jul 6, 2011 at 10:14 AM, S Scharf <ss11223@gmail.com> wrote:
I am trying to configure a new computer with a ASUS PSH67-M EVO motherboard and a AMD64 Wheezy net install. I have two issues:

1) using the Debian software RAID, I am trying to configure a RAID-1 on two 1.5T disks, with LVM on the RAID partitions.
With this configuration, I get an error that grub cannot be installed to the MBR. (I have tried both a MSDOS partition table, and a
GPT partition table with a grub-bios partition at the start of the disk.

If I try an non-raid config (the default with using the entire disk), everything works.

What do I have to do to get the config I want to work?




2) The Motherboard has Intel Raid support. If I enable the motherboard Raid, the installer does not see the raid disk. (for that matter neither does
my systemrescuecd, but a Ubuntu 11.4 live boot can see it). What do I have to do to make this useable?

Thanks
Stuart


Oh, dear, I am afraid that I started a rant list on "fake" or "dm" raid rather than on fixing gub install. Oh, well, I am happy with the
software raid that I have been running for years, but still would like to know for intellectual curiosity how to install the bios raid. :-(


But, Tom's comments on Grub were useful.
For the record, and any other poor soul with this problem I will now record the solution.


As I had already finished my install without grub,

I booted using my systemrescuecd (althoughI suppose recovery mode of the install disk would have worked).

I then mounted my new root partition (which had my entire system as I only had / and /home partitions defined).

Then I did a "mount --bind" for /dev and /proc on top of my mounted new root partition.
Then a "chroot" to the new root partition.
And finally a "grub-install --recheck /dev/sda" fixed all the problems.

Thanks
Stuart

Reply to: