From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HlotM-0004r7-Vw for mharc-grub-devel@gnu.org; Wed, 09 May 2007 12:19:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlotL-0004qG-EK for grub-devel@gnu.org; Wed, 09 May 2007 12:19:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlotJ-0004oE-On for grub-devel@gnu.org; Wed, 09 May 2007 12:19:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlotJ-0004oB-IF for grub-devel@gnu.org; Wed, 09 May 2007 12:19:49 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hlom5-0004Qm-SV for grub-devel@gnu.org; Wed, 09 May 2007 12:12:22 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Hlom3-0005j3-EH; Wed, 09 May 2007 18:12:20 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1HlonQ-0006d1-Nn; Wed, 09 May 2007 18:13:44 +0200 Date: Wed, 9 May 2007 18:13:44 +0200 From: Robert Millan To: grub-devel@gnu.org Message-ID: <20070509161344.GA25183@aragorn> References: <1178710623.4102.37.camel@xerces> <20070509135853.GA31878@aragorn> <1178719368.4102.48.camel@xerces> <20070509151643.GB16077@aragorn> <1178725065.4102.65.camel@xerces> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1178725065.4102.65.camel@xerces> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Cc: Thomas Stewart , 422851@bugs.debian.org, Sam Morris , 422851-forwarded@bugs.debian.org Subject: "grub-probe -t partmap" doesn't work with software RAID X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 16:19:51 -0000 Hi, I'm forwarding you a bug report from Debian. It seems that the grub-probe -t partmap feature I just added doesn't play nice with RAID. Unfortunately, I have no idea how software RAID is implemented. Is it okay to just exit succesfuly and install core.img without any partmap module? On Wed, May 09, 2007 at 04:37:45PM +0100, Sam Morris wrote: > On Wed, 2007-05-09 at 17:16 +0200, Robert Millan wrote: > > On Wed, May 09, 2007 at 03:02:48PM +0100, Sam Morris wrote: > > > > > > Yes, "grub-probe: error: Cannot detect partition map for md0". The > > > message doesn't appear when grub-pc's postinst is run, however. Note to GRUB maintainers: earlier this caused a segfault. I fixed it in CVS to print that error instead. > > > > Also, what is the result of "parted /dev/md0 print" ? > > > > > > Disk /dev/md0: 300GB > > > Sector size (logical/physical): 512B/512B > > > Partition Table: loop > > ^^^^ > > This means there's indeed no partition table, just a filesystem. > > > > Did you install Debian on purpose without creating any partition table, or is > > this just the normal result when using software RAID? What does parted say > > about your real disk(s)? > > Interesting. This system has been installed for quite a few years; I > moved it to raid1 by hand. > > The system has several disks; md0 consists of hdb2 and hdg2. Here's what > parted says about hdb: > > Disk /dev/hdb: 300GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > > Number Start End Size Type File system Flags > 1 32.3kB 543MB 543MB primary > 2 543MB 300GB 300GB primary ext3 raid > > When you say there is no partition table, I guess you mean inside md0 > itself? AFAIR, the array was created before partitionable md arrays were > added to Linux... or at least before mdadm had the option to create > them. > > I just ran this on a system that uses RAID which I created with the etch > installer: > > Disk /dev/md8: 57.5MB > Sector size (logical/physical): 512B/512B > Partition Table: loop > > Number Start End Size File system Flags > 1 0.00kB 57.5MB 57.5MB ext3 > > Which appears to confirm my belief that partitionable arrays are unusual > rather than the default. -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.