From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Q5fk2-0004XU-9B for mharc-grub-devel@gnu.org; Fri, 01 Apr 2011 10:54:26 -0400 Received: from [140.186.70.92] (port=35325 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5fjx-0004VN-EA for grub-devel@gnu.org; Fri, 01 Apr 2011 10:54:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5fjw-0003RW-DM for grub-devel@gnu.org; Fri, 01 Apr 2011 10:54:21 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:44756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5fjw-0003RE-7C for grub-devel@gnu.org; Fri, 01 Apr 2011 10:54:20 -0400 Received: by wyf19 with SMTP id 19so3573226wyf.0 for ; Fri, 01 Apr 2011 07:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=/W74voU1s7TZMkRgHi2uVqilG723ZfmMvCYEZcFu0Xc=; b=K264L72hS239i7ojz6GGEKDwX9NtfN0TuXZkNwkakKYhVKcTMtctCZJ61xMsnRr8vu luTuw9mfgUUjDAqcVWBrcDLQvPUg9Bgqtxoh8M8Tn2eiW+MI9jlUigwiQ6qUsK6grO9M /XN29OySP72Z9ydgQ+SsfRRDU69QvWeOvjnHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=tcLExC1R1ltPDi+D3+DAYjSHwNWCEKakxBRz76mKhXProme3HRpKz7hp1zfx4XVRy2 Lh8ehNed6OSHVCdtDRUoiIlbUzOj2/uVHCQhhwF6nMXeggxQ2p1xvc9VZqGGZA1cE/cf sPVZM4Mo62cz5ibFoLlx/+phhRQXVNeVZWwAE= Received: by 10.216.142.221 with SMTP id i71mr3898432wej.93.1301669659183; Fri, 01 Apr 2011 07:54:19 -0700 (PDT) Received: from debian.x201.phnet (gprs47.swisscom-mobile.ch [193.247.250.47]) by mx.google.com with ESMTPS id d59sm738675wed.21.2011.04.01.07.54.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 07:54:18 -0700 (PDT) Message-ID: <4D95E716.9060503@gmail.com> Date: Fri, 01 Apr 2011 16:54:14 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110303 Iceowl/1.0b1 Icedove/3.0.11 MIME-Version: 1.0 To: Sean Porth , The development of GRUB 2 References: <4D52EBFA.6040307@tortus.com> <4D94D420.8090505@gmail.com> <4D95E486.8030803@tortus.com> In-Reply-To: <4D95E486.8030803@tortus.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig1DC3A3CA05A4987074307175" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 Cc: Subject: Re: Grub not working under software RAID 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: Fri, 01 Apr 2011 14:54:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1DC3A3CA05A4987074307175 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01.04.2011 16:43, Sean Porth wrote: > > > On 03/31/11 15:21, Vladimir '=C3=86-coder/phcoder' Serbinenko wrote: > > On 09.02.2011 20:33, Sean Porth wrote: > >> I have the same exact issue. Upgrading to Debian squeeze. I even > upgraded the grub2 package to the Debian unstable version (1.99~rc1-2) > and same error. > >> > >> backup:/etc# grub-install /dev/md0 > >> /usr/sbin/grub-probe: error: no such disk. > >> Auto-detection of a filesystem of /dev/md0 failed. > >> Please report this together with the output of > "/usr/sbin/grub-probe --device-map=3D"/boot/grub/device.map" --target=3D= fs > -v /boot/grub" to > >> > >> backup:/etc# /usr/sbin/grub-probe > --device-map=3D"/boot/grub/device.map" --target=3Dfs -v /boot/grub > >> /usr/sbin/grub-probe: info: changing current directory to /dev. > >> /usr/sbin/grub-probe: info: changing current directory to disk. > >> /usr/sbin/grub-probe: info: changing current directory to by-uuid. > >> /usr/sbin/grub-probe: info: changing current directory to by-id. > >> /usr/sbin/grub-probe: info: changing current directory to block. > >> /usr/sbin/grub-probe: info: opening md0. > >> /usr/sbin/grub-probe: error: no such disk. > >> > >> =20 > > Could you supply the output of following commands: > > cat /proc/mdstat > > grub-fstest -d all -c `ls /dev/sd?|wc -l` /dev/sd? ls -- -l > > as well as first and last 128K of every array member? > > backup:~# cat /proc/mdstat > Personalities : [linear] [raid1] > md1 : active raid1 sdb3[1] sda3[0] > 945513536 blocks [2/2] [UU] > > md0 : active raid1 sdb1[1] sda1[0] > 29294400 blocks [2/2] [UU] > > unused devices: > > -- > > backup:/usr/src/grub-1.98# ./grub-fstest -d all -c `ls /dev/sd?|wc -l` > /dev/sd? ls -- -l > ls: cannot access /dev/sd?: No such file or directory > Invalid disk count. > Try `./grub-fstest --help' for more information. > > > I think the grub-fstest is showing the crux of the problem. After the > upgrade to squeeze I no longer have /dev/sda and /dev/sdb , all though > md seems to have no problem finding them. > Have you tried executing grub-mkdevicemap? Actually the normal way to launch grub-fstest is: =2E/grub-fstest -d all -c N ls -- -l Where DEVICES is devices in the md array and N is the number of them. The part with sd? was just a quick hack to detect this things for error reporting. > > >> _______________________________________________ > >> Bug-grub mailing list > >> Bug-grub@gnu.org > >> http://lists.gnu.org/mailman/listinfo/bug-grub > >> > >> =20 > > > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig1DC3A3CA05A4987074307175 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk2V5xYACgkQNak7dOguQglGHAEAnd8N3q5ga7XjNq2QjFm3eaX0 XqsNtyZBuoM9Oz8TIOMA/3hy4AnqDWBFBkkfX4fxIO2jNrjd8kwY+F/yaUb+qyRZ =8q2P -----END PGP SIGNATURE----- --------------enig1DC3A3CA05A4987074307175--