Re: [gentoo-user] root on raid 1 = no boot

2008-09-24 Thread Volker Armin Hemmann
On Wednesday 17 September 2008, Nicolas Sebrecht wrote: Volker Armin Hemmann a écrit: and in grub.conf I have this: title=raid root (hd0,0) kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat Did you tried this : kernel /vmlinuz root=/dev/md1 md=1,1,/dev/sda3,/dev/sdb3 nopat

Re: [gentoo-user] root on raid 1 = no boot

2008-09-17 Thread Nicolas Sebrecht
Volker Armin Hemmann a écrit: Did you tried this : kernel /vmlinuz root=/dev/md1 md=1,1,/dev/sda3,/dev/sdb3 nopat nope. Why the second one? The fisrt one is the md device number and the second is to explicitly give the raid level. I personally have this line : kernel

Re: [gentoo-user] root on raid 1 = no boot

2008-09-16 Thread Nicolas Sebrecht
Volker Armin Hemmann a écrit: and in grub.conf I have this: title=raid root (hd0,0) kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat Did you tried this : kernel /vmlinuz root=/dev/md1 md=1,1,/dev/sda3,/dev/sdb3 nopat -- Nicolas Sebrecht

Re: [gentoo-user] root on raid 1 = no boot

2008-09-16 Thread Volker Armin Hemmann
On Wednesday 17 September 2008, Nicolas Sebrecht wrote: Volker Armin Hemmann a écrit: and in grub.conf I have this: title=raid root (hd0,0) kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat Did you tried this : kernel /vmlinuz root=/dev/md1 md=1,1,/dev/sda3,/dev/sdb3 nopat

[gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
Hi, I have tried to setup a software Raid1 for root (/), boot, home and var. So far, so good. Support is in kernel. The four ones are assembled: Personalities : [raid1] md3 : active raid1 sda6[0] sdb6[1] 421906944 blocks [2/2] [UU] md2 : active raid1 sda5[0] sdb5[1] 19534912 blocks

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Xav'
On Thu, 28 Aug 2008 16:41:42 +0200, Volker Armin Hemmann [EMAIL PROTECTED] wrote: Hi, I have tried to setup a software Raid1 for root (/), boot, home and var. So far, so good. Support is in kernel. The four ones are assembled: Personalities : [raid1] md3 : active raid1 sda6[0] sdb6[1]

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote: You have to know that the kernel isn't able to assemble RAID devices together without the use of mdadm. So you have to use an initrd with the mdadm binary to use a RAID root ! Could you please keep quiet about that, my computers have been using

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Xav'
On Thu, 28 Aug 2008 15:59:03 +0100, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote: You have to know that the kernel isn't able to assemble RAID devices together without the use of mdadm. So you have to use an initrd with the mdadm binary to use a

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread ert256
[ 28.08.2008 16:41 ], Volker Armin Hemmann : Hi, I have tried to setup a software Raid1 for root (/), boot, home and var. So far, so good. Support is in kernel. The four ones are assembled: Personalities : [raid1] md3 : active raid1 sda6[0] sdb6[1] 421906944 blocks [2/2] [UU]

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Neil Bothwick wrote: On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote: You have to know that the kernel isn't able to assemble RAID devices together without the use of mdadm. So you have to use an initrd with the mdadm binary to use a RAID root ! Could you

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, ert256 wrote: [ 28.08.2008 16:41 ], Volker Armin Hemmann : Hi, I have tried to setup a software Raid1 for root (/), boot, home and var. So far, so good. Support is in kernel. The four ones are assembled: Personalities : [raid1] md3 : active raid1

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann: thanks, the last thing I want to deal with is an initrd. It's initramfs nowadays and that's quite easy to handle. Bye... Dirk

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Dirk Heinrichs wrote: Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann: thanks, the last thing I want to deal with is an initrd. It's initramfs nowadays and that's quite easy to handle. do you have a nice little howto? Not some general one

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Luigi Pinna
You don't need all of that... With mdadm can you put your RAID array as persistent. If it is persistent your kernel can use the autodetect function and build it before mount / I have in my raidtab # cat /etc/raidtab raiddev /dev/md0 raid-level1 chunk-size4k persistent-superblock 1

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote: From the stuff I read it should work - but I always get a root not found panic Root device or root fs? -- Neil Bothwick Q: What's the proper plural of a 'Net-connected Windows machine? A: A Botnet signature.asc Description:

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Volker Armin Hemmann wrote: On Donnerstag, 28. August 2008, Dirk Heinrichs wrote: Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann: thanks, the last thing I want to deal with is an initrd. It's initramfs nowadays and that's quite easy

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Neil Bothwick wrote: On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote: From the stuff I read it should work - but I always get a root not found panic Root device or root fs? it doesn't find /dev/md1 (unknown block device) and panics. And yes, I

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Xav'
Le Thursday 28 August 2008 20:45:15 Volker Armin Hemmann, vous avez écrit : On Donnerstag, 28. August 2008, Neil Bothwick wrote: On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote: From the stuff I read it should work - but I always get a root not found panic Root device

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Xav' wrote: Le Thursday 28 August 2008 20:45:15 Volker Armin Hemmann, vous avez écrit : On Donnerstag, 28. August 2008, Neil Bothwick wrote: On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote: From the stuff I read it should work - but I

Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 20:52:33 +0200, Xav' wrote: it doesn't find /dev/md1 (unknown block device) and panics. And yes, I created md0,1,2,3 with mknod in /dev Did you create the nodes with de /dev partition unmounted ? I think you have to check this... because when the kernel boot up, the