I read the great HOWTO (thanx for the people who did it).
Everything works perfect until i try to do the boot part:(
I have 5 raid5: /, /home, /usr, /tmp, /var. Besides i have 4 other
partitions, one on each disk (i've 4 barracuda disks). The first one, i
use it for /boot, and the other ones for swap. That 4 ones are not raids.
Well, i tried to do the lilo phase but i have probs with my stupid adaptec
raid controller (i can't choose which disk it's the boot one...only raids
) so i decide to boot from a floppy disk. I copied the kernel and loadlin.
The kernel begins to load everything...it reconizes all raids but at the
end, when it finishes reconizing all partitions i get the next message:
Kernel Panic! VFS: Cannot open root device 03:01
Btw, i copied all files inside /mnt/newroot (and of course, i
mount the other ones before/mnt/newroot/usr....) . I checked it already.
And i updated /mnt/newroot/etc/fstab and lilo.conf, although at the end, i
don't use that one.
Thanx in advance. I've tried some changes in the fstab but owing
to the kernel panic...next time i boot from the other hd, raid resyncs all
partitions and it took 40 min. Maybe someone knows how to fix it
Here it's my config files:
I'm using kernel 2.2.10 with raid patches.
/proc/mdstat
Personalities : [raid5]
read_ahead 1024 sectors
md0 : active raid5 sdd2[3] sdc2[2] sdb2[1] sda2[0] 120192 blocks level 5,
32k chunk, algorithm 2 [4/4] [UUUU]
md1 : active raid5 sdd3[3] sdc3[2] sdb3[1] sda3[0] 1349184 blocks level 5,
32k chunk, algorithm 2 [4/4] [UUUU]
md2 : active raid5 sdd5[3] sdc5[2] sdb5[1] sda5[0] 216576 blocks level 5,
32k chunk, algorithm 2 [4/4] [UUUU]
md3 : active raid5 sdd6[3] sdc6[2] sdb6[1] sda6[0] 120192 blocks level 5,
32k chunk, algorithm 2 [4/4] [UUUU]
md4 : active raid5 sdd7[3] sdc7[2] sdb7[1] sda7[0] 24747840 blocks level
5, 32k chunk, algorithm 2 [4/4] [UUUU]
unused devices: <none>
/etc/fstab (the one inside /mnt/newroot):
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump>
<pass>
/dev/md0 / ext2 defaults,errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
proc /proc proc defaults 0 0
#/dev/sdc1 none swap sw 0 0
#/dev/sdd1 none swap sw 0 0
/dev/sda1 /boot ext2 defaults 0 2
/dev/md1 /usr ext2 defaults 0 2
/dev/md2 /var ext2 defaults 0 2
/dev/md3 /tmp ext2 defaults 0 2
/dev/md4 /home ext2 defaults 0 2