All of lore.kernel.org
 help / color / mirror / Atom feed
* GRUB2 and software RAID1 = insmod linux
@ 2010-03-22 22:20 info.emj
  2010-03-26 15:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 3+ messages in thread
From: info.emj @ 2010-03-22 22:20 UTC (permalink / raw)
  To: grub-devel


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  :-)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-27  7:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-22 22:20 GRUB2 and software RAID1 = insmod linux info.emj
2010-03-26 15:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-03-27  7:00   ` info.emj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.