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