Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] root fs moved, but no init
Date: Mon, 25 Jul 2011 10:22:20
Message-Id: 1311589249.109434.3.camel@localhost.localdomain
In Reply to: [gentoo-user] root fs moved, but no init by Adam Carter
1 On Sunday, July 24 at 09:49 (+1000), Adam Carter said:
2
3 > Summary;
4 > Copied / from sda3 to sdb3
5 > Updated the fstab in the new disk (/dev/sdb3 /
6 > btrfs noatime,compress=lzo 0 0)
7 > Updated the kernel line's root=/dev/sda3 to /dev/sdb3 in grub.conf,
8 > but left the root (hd0,0) as it is. So, kernel is loaded from sda but
9 > init should run from sdb.
10 > When booting the kernel successfully mounts /dev/sdb3 as root fs
11 > Then the system halts at one of the freeing memory messages, but I
12 > assume the problem is that init isn't executed from /dev/sdb3
13
14 I wouldn't assume. If init isn't executed you should get an explicit
15 error from the kernel:
16
17 Kernel panic - not syncing: No init found. Try passing init=
18 option to the kernel.