Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] AAC RAID Adaptec RAID array. Booting trouble
Date: Tue, 05 Jun 2007 16:12:34
Message-Id: 20070605110458.33a438ee@pascal.spore.ath.cx
In Reply to: [gentoo-user] AAC RAID Adaptec RAID array. Booting trouble by sa8o1age
1 On Tue, 5 Jun 2007 17:05:56 +0400
2 sa8o1age <gexlie@×××××.com> wrote:
3
4 > i'm trying to install gentoo on Adaptec AAC-RAID (rev 01) Subsystem:
5 > Hewlett-Packard Company AAR-2610SA. i've made RAID5 array with the 4
6 > sata disks. And i have also 1 IDE disk with the old gentoo. My aim is
7 > to get rid of this IDE disk and to install gentoo on whole RAID5
8 > array.
9 >
10 > so this is it.
11 > Old IDE:
12 >
13 > /dev/hda5 291M 79M 212M 28% /
14 > /dev/hda6 6.6G 1.7G 4.9G 26% /usr
15 > /dev/hda7 30G 195M 30G 1% /var
16 > /dev/hda1 71M 38M 34M 53% /boot
17 >
18 > and here is the sata array:
19 >
20 > /dev/sda1 /boot ext2
21 > noauto,noatime 1 2 /dev/sda3 /
22 > reiserfs noatime 0 1 /dev/sda2
23 > none swap sw 0
24 > 0 /dev/sda4 /store reiserfs
25 > auto 0 0
26 >
27 > so, i've just copied all files from IDE to sda-raid array, compiled
28 > new kernel with the genkernel-tool and installed it on sda.
29 >
30 > kernel configuration: http://paste.org.ru/?wa5zzf
31 > dmesg(of the same kernel on IDE): http://paste.org.ru/?9loypk
32 >
33 > my grub.conf:
34 >
35 > default 0
36 > timeout 10
37 > splashimage=(hd0,0)/grub/splash.xpm.gz
38 >
39 > title=Gentoo Linux
40 > root (hd0,0)
41 > kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
42 > init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
43 > initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
44 >
45 > after installation and copying i've removed IDE disk and tried to boot
46 > from sda array. grub was loaded succesfully but the kernel was stuck
47 > with this error:
48 >
49 > >> Activating mdev...
50 > ...
51 > mknod: /newroot/dev/console : read-only file system
52 > mknod: /newroot/dev/tty1 : read-only file system
53 > >> Booting (initramfs)..switch_root: Bad console '/dev/console'
54 > Kernel panic - not syncing : Attempted to kill init
55 >
56 >
57 > what am i doing wrong?
58 The problem appears to be with /dev. When you copied, did you preserve
59 all the permissions of everything and everything?
60 --
61 gentoo-user@g.o mailing list