1 |
Hi All, |
2 |
|
3 |
I just fitted a new ATA drive (hdb) in my box and thought of doing the |
4 |
best thing for it - install Gentoo 2004.3 :-) |
5 |
|
6 |
I used the following partitioning scheme which spreads across both hda & |
7 |
hdb. Boot is ext2, the rest are reiserfs - straight forward stuff. |
8 |
Once I chroot into it I get: |
9 |
|
10 |
# df -h |
11 |
Filesystem Size Used Avail Use% Mounted on |
12 |
/dev/hdb7 393M 43M 350M 11% / |
13 |
none 393M 43M 350M 11% /sys |
14 |
none 393M 43M 350M 11% /dev |
15 |
none 393M 43M 350M 11% /dev/pts |
16 |
/dev/hdb1 46M 4.4M 39M 11% /boot |
17 |
/dev/hdb2 102M 33M 70M 32% /tmp |
18 |
/dev/hdb3 3.9G 50M 3.8G 2% /var |
19 |
/dev/hdb5 6.6G 861M 5.7G 13% /usr |
20 |
/dev/hdb6 1.6G 33M 1.6G 2% /home |
21 |
/dev/hda7 3.1G 421M 2.7G 14% /var/tmp |
22 |
/dev/hda8 306M 36M 270M 12% /lib |
23 |
none 393M 43M 350M 11% /dev/shm |
24 |
|
25 |
After I installed a stage three 2004.3 profile I compiled a kernel |
26 |
(2.6.9-r9 from gentoo-dev sources) and tried to boot into my new system. |
27 |
Grub launches and mounts hdb7. Then it fails with the following kernel |
28 |
panic error: |
29 |
|
30 |
ReiserFS: hdb7: Using r5 hash to sort names |
31 |
VFS: Mounted root (reiserfs filesystem) readonly. |
32 |
Freeing unused kernel memory: 212k freed. |
33 |
Kernel panic - not syncing: No init found. |
34 |
Try passing init= option to kernel. |
35 |
|
36 |
This is my fstab: |
37 |
|
38 |
/dev/hdb1 /boot ext2 noauto,noatime |
39 |
1 1 |
40 |
/dev/hdb7 / reiserfs noatime |
41 |
0 0 |
42 |
/dev/hda6 none swap sw |
43 |
0 0 |
44 |
|
45 |
/dev/hdb2 /tmp reiserfs noatime |
46 |
0 0 |
47 |
/dev/hdb3 /var reiserfs noatime |
48 |
0 0 |
49 |
/dev/hdb5 /usr reiserfs noatime |
50 |
0 0 |
51 |
/dev/hdb6 /home reiserfs noatime |
52 |
0 0 |
53 |
|
54 |
/dev/hda7 /var/tmp reiserfs noatime |
55 |
0 0 |
56 |
/dev/hda8 /lib reiserfs noatime |
57 |
0 0 |
58 |
|
59 |
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro |
60 |
0 0 |
61 |
/dev/fd0 /mnt/floppy auto noauto |
62 |
0 0 |
63 |
|
64 |
# NOTE: The next line is critical for boot! |
65 |
none /proc proc defaults |
66 |
0 0 |
67 |
|
68 |
none /dev/shm tmpfs defaults |
69 |
0 0 |
70 |
|
71 |
I cannot for the life of me understand what's wrong. Why isn't |
72 |
/sbin/init loaded into memory? I've checked /etc/inittab and there's |
73 |
nothing wrong with it. |
74 |
|
75 |
This is my grub.conf: |
76 |
|
77 |
title=Gentoo Linux 2.6.9-gentoo-r9 |
78 |
root (hd1,0) |
79 |
kernel /kernel-2.6.9-gentoo-r9 root=/dev/hdb7 |
80 |
|
81 |
I've sought help here: http://forums.gentoo.org/viewtopic.php?t=262302 |
82 |
but none of the suggestions helped me to solve it. I don't know what |
83 |
else to try. Could it be my partitioning scheme, paths or access |
84 |
rights? I've tried different configurations of 2.6.9-r9 (just in case) |
85 |
but the same error occurs. |
86 |
|
87 |
Any ideas? How can I troubleshoot it? What "init= option" is it asking |
88 |
for? |
89 |
-- |
90 |
Regards, |
91 |
Mick |
92 |
|
93 |
|
94 |
-- |
95 |
gentoo-user@g.o mailing list |