From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Liwb0-0007GX-Au for garchives@archives.gentoo.org; Sun, 15 Mar 2009 20:06:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87190E0205; Sun, 15 Mar 2009 20:06:04 +0000 (UTC) Received: from fed1rmmtao103.cox.net (fed1rmmtao103.cox.net [68.230.241.43]) by pigeon.gentoo.org (Postfix) with ESMTP id 26F15E0205 for ; Sun, 15 Mar 2009 20:06:04 +0000 (UTC) Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090315200602.OXDE4363.fed1rmmtao103.cox.net@fed1rmimpo02.cox.net> for ; Sun, 15 Mar 2009 16:06:02 -0400 Received: from [192.168.2.3] ([70.173.92.33]) by fed1rmimpo02.cox.net with bizsmtp id TY631b0090jBJGe04Y63SV; Sun, 15 Mar 2009 16:06:03 -0400 X-Authority-Analysis: v=1.0 c=1 a=OGMok2fGmNwA:10 a=E1U_RlVsTU0A:10 a=7mOBRU54AAAA:8 a=kon2GYXFvQ3njDBdNBMA:9 a=Dyn1mnZtkxRcB1L4DEOnQKzKCkIA:4 a=b8hG5vVbyAkA:10 X-CM-Score: 0.00 Message-ID: <49BD5FAB.1070307@cox.net> Date: Sun, 15 Mar 2009 13:06:03 -0700 From: "Charles R., Porter" User-Agent: Thunderbird 2.0.0.19 (X11/20090101) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] installation / grub boot problem References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 16d8a678-f155-4df6-8c95-965f862b59cb X-Archives-Hash: 737ba0ec6c924f2929418d6ff6d38c1c Heping He wrote: > Hi, I tried to install gentoo on my AMD 64 dual core machine. It has > four 500 GB HDs. I followed the instruction on > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml. I > replaced /dev/md4 with raid5 instead of raid0. Here is the list of > each HD's partitiion: > > /dev/sda: > partition #, boot start end type > 1 * 1 18 fd > 2 19 361 fd > 3 362 end fd > > /dev/sdb > partition #, boot start end type > 1 1 361 82 > 2 362 end fd > > /dev/sdc is the same to /dev/sda, and /dev/sdd = /dev/sdb > > I created /dev/md1, /dev/md3 and /dev/md4: > mknod /dev/md1 b 9 1 > mknod /dev/md3 b 9 3 > mknod /dev/md4 b 9 4 > > and then form raid: > mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1 > mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda2 /dev/sdc2 > mdadm --create /dev/md4 --level=5 --raid-devices=4 /dev/sda3 /dev/sdb2 > /dev/sdc3 /dev/sdd2 > > /dev/sdb1 and /dev/sdd1 forms the swap space > > mount: > mount /dev/md3 /mnt/gentoo > mount /dev/md1 /mnt/gentto/boot > > /dev/md4 is for lvm2 and /usr, /home, /opt and other common unix dir > are created there > > after chroot and emerge, I issued emerge grub and modified > /boot/grub/grub.conf > > default 0 > timeout 10 > > title gentoo > root (hd0,0) > kernel /boot/kernel root=/dev/md3 > > and issue grub > grub> root (hd0,0) > .... > grub> setup (hd0) > .... > grub> root (hd2,0) > ..... > grub> setup (hd2) > ..... > grub> quit > > When I reboot, the kernel issued a panic msg: it says can't read > /dev/md/3 or (hd2,0) is invalid device. > > Any idea what went wrong? > > Thanks in advance for any suggestion. > > --HH I'm running a similar RAID setup and I found that I must add " root=/dev/md3 md=3,sda3,sdb3,hda3 ". It seems that md3 must be defined. At least I had kernel panics until I added this. Chuck