[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRUB2 and software RAID1 = insmod linux
From: |
address@hidden |
Subject: |
GRUB2 and software RAID1 = insmod linux |
Date: |
Mon, 22 Mar 2010 23:20:26 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
Hello list,
it's not a devel question, but seems this is a not-so-bad place to
expose my problem. Searching with google and inside this list's archives
didn't gave me any clue.
I want: Debian Lenny + GRUB2 + RAID1 on boot+root partition
With GRUB legacy I do:
root (hd0,0)
setup (hd0)
setup (hd1)
and everything works fine. I can boot nearly in every cases (inverted
disks, disconnect disk, and some other weird things). Nice.
With GRUB 2 I do:
grub-install /dev/sda # from the right /dev/md0 partition
and when I reboot I have "error: cannot find C/H/S values".
I just type "insmod linux" then "normal" then wizzzzz the system is
loaded correctly.
I tested with GRUB_PRELOAD_MODULES="linux" in /etc/default/grub then
update-grub but this didn't corrected the problem (obvious for me, but I
may be wrong, so I tested).
note: I tested with GRUB2 1.96 and 1.97 from the Debian Lenny regular
repository and backport.
My question: how can I explain to GRUB2 I don't want to type "insmod
linux" and "normal" ?
The next step will be to install GRUB2 on both disks to allow booting
from either one.
And my final step will be to write a small GRUB2-RAID howto nicely fited
for GRUB2's wiki. Because hey, sparse documentation :-)
- GRUB2 and software RAID1 = insmod linux,
address@hidden <=