From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ntpyt-0002cI-S2 for mharc-grub-devel@gnu.org; Mon, 22 Mar 2010 18:20:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ntpys-0002cC-0d for grub-devel@gnu.org; Mon, 22 Mar 2010 18:20:18 -0400 Received: from [140.186.70.92] (port=42715 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntpyp-0002c4-TA for grub-devel@gnu.org; Mon, 22 Mar 2010 18:20:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ntpyk-0000Cp-8T for grub-devel@gnu.org; Mon, 22 Mar 2010 18:20:15 -0400 Received: from smtp27.orange.fr ([80.12.242.96]:51013) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ntpyj-0000Cf-TU for grub-devel@gnu.org; Mon, 22 Mar 2010 18:20:10 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2727.orange.fr (SMTP Server) with ESMTP id 660071C006B1 for ; Mon, 22 Mar 2010 23:20:08 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2727.orange.fr (SMTP Server) with ESMTP id 590E81C00610 for ; Mon, 22 Mar 2010 23:20:08 +0100 (CET) Received: from [192.168.5.100] (AOrleans-251-1-88-128.w90-20.abo.wanadoo.fr [90.20.147.128]) by mwinf2727.orange.fr (SMTP Server) with ESMTP id 183BE1C006B1 for ; Mon, 22 Mar 2010 23:20:08 +0100 (CET) X-ME-UUID: 20100322222008993.183BE1C006B1@mwinf2727.orange.fr Message-ID: <4BA7ED2A.4020608@fr.oleane.com> Date: Mon, 22 Mar 2010 23:20:26 +0100 From: "info.emj@fr.oleane.com" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: GRUB2 and software RAID1 = insmod linux X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 22:20:18 -0000 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 :-)