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 1Lh9CP-0003bB-QW for garchives@archives.gentoo.org; Tue, 10 Mar 2009 21:09:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 833CEE02C1; Tue, 10 Mar 2009 21:09:16 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.144]) by pigeon.gentoo.org (Postfix) with ESMTP id 475E8E02C1 for ; Tue, 10 Mar 2009 21:09:16 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 9so1219275qwj.10 for ; Tue, 10 Mar 2009 14:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=lnc0aH05/AjxGlffi04SbduWG8ID2XW4NR1DSaPJvoE=; b=W6bD5awzMPXEzn1h8jkX+88mm8OiS+tNme7OcvXBeh/J60P8Q95/V8FykenQnK4Go1 4oFwtEJVV3YfIsOcEwPg6uTcn5gXaBIyIPxScYh6EX4hR1vFN4NJyu9rtZ6FIHoH2WA1 YXniMMCv0Ao74XofAEq6Wn41UD7VD53NqBClo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jRnQP7G/+j4By5FHFBZe8Pm9xy1+wfP+Qdgzj4iFGUqKEaSekp8zUlH/INHdsiVw9b Ys0Zqp5D8sgaRuecylvJsLC4fqvMa9G2oXHkgzjmZJ0/Z7geRT9lr3KrqnwOV855LurW aJ/GnxrGBFMGOq0nsxuwO90e6O20r639LDkk4= 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 Received: by 10.229.95.16 with SMTP id b16mr4612593qcn.33.1236719355410; Tue, 10 Mar 2009 14:09:15 -0700 (PDT) Date: Tue, 10 Mar 2009 17:09:13 -0400 Message-ID: Subject: [gentoo-user] installation / grub boot problem From: Heping He To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=001636426e35de5f920464ca299b X-Archives-Salt: fd72140d-a2c1-45ab-b5c2-37d9c76531dd X-Archives-Hash: b2a177ab5c5810c06de94efc841477a8 --001636426e35de5f920464ca299b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --001636426e35de5f920464ca299b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I tried to install gentoo on my AMD 64 dual core machine. It has four 5= 00 GB HDs. I followed the instruction on http://www.gentoo.org/doc/en/g= entoo-x86+raid+lvm2-quickinstall.xml. I replaced /dev/md4 with raid5 in= stead of raid0. Here is the list of each HD's partitiion:

/dev/sda:
partition #,=A0 boot=A0=A0 start=A0=A0=A0 end=A0=A0=A0=A0 = type
1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 *=A0=A0=A0=A0=A0=A0=A0= 1=A0=A0=A0=A0=A0=A0=A0 18=A0=A0=A0=A0 fd
2=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 19=A0=A0=A0=A0=A0=A0 36= 1=A0=A0 fd
3=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 362 =A0=A0=A0 end=A0 fd

/dev/sdb
partition = #,=A0 boot=A0=A0 start=A0=A0=A0 end=A0=A0=A0=A0 type
1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 1=A0=A0=A0=A0=A0=A0=A0 361=A0=A0=A0=A0 82
2=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 362=A0=A0=A0=A0 e= nd=A0=A0=A0 fd

/dev/sdc is the same to /dev/sda, and /dev/sdd =3D /d= ev/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=3D1 --raid-devices=3D2 /dev/sda1 /dev/sdc1<= br>mdadm --create /dev/md3 --level=3D1 --raid-devices=3D2 /dev/sda2 /dev/sd= c2
mdadm --create /dev/md4 --level=3D5 --raid-devices=3D4 /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,=A0 /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=3D/dev/md3

and issue grubgrub> 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 /d= ev/md/3 or (hd2,0) is invalid device.

Any idea what went wrong?
<= br>Thanks in advance for any suggestion.

--HH
--001636426e35de5f920464ca299b--