Gentoo Archives: gentoo-user

From: Michael Kintzios <michaelkintzios@××××××××.uk>
To: gentoo-user@l.g.o, Martoni <shieldfire@×××××.com>
Subject: Re: Re: [gentoo-user] Cannot boot multipartitioned installation
Date: Wed, 08 Dec 2004 12:47:44
Message-Id: 1102510043002254@lycos-europe.com
1 Thanks Martin,
2
3 > From:: Martoni <shieldfire@×××××.com>
4 > To: gentoo-user@l.g.o
5 > Subject: Re: [gentoo-user] Cannot boot multipartitioned installation
6 > Date: Wed, 8 Dec 2004 12:23:42 +0100
7
8 > Are you sure you have the kernel directly in the root?
9 > Looks like this is they you've defined it in the files....
10
11 Can you please explain? I compiled the kernel as I always have been (on
12 a conventional three partition installation /boot, /, /home) by:
13
14 # cd /usr/src/linux <-- after I check that it is linked to the correct
15 kernel -->
16 # make menuconfig
17 # make && make modules_install
18
19 Then I copy the newly compiled kernel bzImage, System.map and .config to
20 /boot and alter the grub.conf for the new kernel. Is there something I
21 should be doing differently for multiple partitions?
22
23 Please tell me more! :-)
24
25 >
26 > On Wed, 8 Dec 2004 10:38:52 -0000, Michael Kintzios
27 > <michaelkintzios@××××××××.uk> wrote:
28 > > Hi All,
29 > >
30 > > I just fitted a new ATA drive (hdb) in my box and thought of
31 doing
32 > the
33 > > best thing for it - install Gentoo 2004.3 :-)
34 > >
35 > > I used the following partitioning scheme which spreads across
36 both
37 > hda &
38 > > hdb. Boot is ext2, the rest are reiserfs - straight forward
39 stuff.
40 > > Once I chroot into it I get:
41 > >
42 > > # df -h
43 > > Filesystem Size Used Avail Use% Mounted on
44 > > /dev/hdb7 393M 43M 350M 11% /
45 > > none 393M 43M 350M 11% /sys
46 > > none 393M 43M 350M 11% /dev
47 > > none 393M 43M 350M 11% /dev/pts
48 > > /dev/hdb1 46M 4.4M 39M 11% /boot
49 > > /dev/hdb2 102M 33M 70M 32% /tmp
50 > > /dev/hdb3 3.9G 50M 3.8G 2% /var
51 > > /dev/hdb5 6.6G 861M 5.7G 13% /usr
52 > > /dev/hdb6 1.6G 33M 1.6G 2% /home
53 > > /dev/hda7 3.1G 421M 2.7G 14% /var/tmp
54 > > /dev/hda8 306M 36M 270M 12% /lib
55 > > none 393M 43M 350M 11% /dev/shm
56 > >
57 > > After I installed a stage three 2004.3 profile I compiled a kernel
58 > > (2.6.9-r9 from gentoo-dev sources) and tried to boot into my
59 new system.
60 > > Grub launches and mounts hdb7. Then it fails with the following
61 kernel
62 > > panic error:
63 > >
64 > > ReiserFS: hdb7: Using r5 hash to sort names
65 > > VFS: Mounted root (reiserfs filesystem) readonly.
66 > > Freeing unused kernel memory: 212k freed.
67 > > Kernel panic - not syncing: No init found.
68 > > Try passing init= option to kernel.
69 > >
70 > > This is my fstab:
71 > >
72 > > /dev/hdb1 /boot ext2 noauto,noatime
73 > > 1 1
74 > > /dev/hdb7 / reiserfs noatime
75 > > 0 0
76 > > /dev/hda6 none swap sw
77 > > 0 0
78 > >
79 > > /dev/hdb2 /tmp reiserfs noatime
80 > > 0 0
81 > > /dev/hdb3 /var reiserfs noatime
82 > > 0 0
83 > > /dev/hdb5 /usr reiserfs noatime
84 > > 0 0
85 > > /dev/hdb6 /home reiserfs noatime
86 > > 0 0
87 > >
88 > > /dev/hda7 /var/tmp reiserfs noatime
89 > > 0 0
90 > > /dev/hda8 /lib reiserfs noatime
91 > > 0 0
92 > >
93 > > /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro
94 > > 0 0
95 > > /dev/fd0 /mnt/floppy auto noauto
96 > > 0 0
97 > >
98 > > # NOTE: The next line is critical for boot!
99 > > none /proc proc defaults
100 > > 0 0
101 > >
102 > > none /dev/shm tmpfs defaults
103 > > 0 0
104 > >
105 > > I cannot for the life of me understand what's wrong. Why isn't
106 > > /sbin/init loaded into memory? I've checked /etc/inittab and
107 there's
108 > > nothing wrong with it.
109 > >
110 > > This is my grub.conf:
111 > >
112 > > title=Gentoo Linux 2.6.9-gentoo-r9
113 > > root (hd1,0)
114 > > kernel /kernel-2.6.9-gentoo-r9 root=/dev/hdb7
115 > >
116 > > I've sought help here: <A HREF="<A HREF="http://forums.gentoo.org/viewtopic.php?t=262302"
117 TARGET="_blank">http://forums.gentoo.org/viewtopic.php?t=262302</A>"
118 > TARGET="_blank"><A HREF="http://forums.gentoo.org/viewtopic.php?t=262302</a>"
119 TARGET="_blank">http://forums.gentoo.org/viewtopic.php?t=262302</a>
120 </A>
121 > > but none of the suggestions helped me to solve it. I don't know
122 what
123 > > else to try. Could it be my partitioning scheme, paths or access
124 > > rights? I've tried different configurations of 2.6.9-r9 (just
125 in
126 > case)
127 > > but the same error occurs.
128 > >
129 > > Any ideas? How can I troubleshoot it? What "init= option"
130 > is it asking
131 > > for?
132 > > --
133 > > Regards,
134 > > Mick
135 > >
136 > > --
137 > > gentoo-user@g.o mailing list
138 > >
139 > >
140 >
141 >
142 > --
143 > Regards,
144 >
145 > Martin S
146 >
147 > --
148 > gentoo-user@g.o mailing listnull
149
150 Win one of eight stylish mini iPods. Go to http://www.myoffers.co.uk/prizedraw.asp?cid=1088&src=27526&pd=2518&pn=0&r=1&nopopup=1&cpid=7