Gentoo Archives: gentoo-user

From: reQuiem23 <niklas.baumstark@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo from ext3 to ext4
Date: Fri, 30 Jan 2009 18:23:31
Message-Id: 21752851.post@talk.nabble.com
In Reply to: Re: [gentoo-user] Gentoo from ext3 to ext4 by Albert Hopkins
1 Albert Hopkins-4 wrote:
2 >
3 > On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
4 >> Hi all,
5 >>
6 >> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
7 >> (cp) my whole root-dir into that new partition, change the /etc/fstab,
8 >> add
9 >> an entry to the grub.conf and booting into that new partition. My /boot
10 >> is
11 >> on a separate ext3 partition, so this is not a problem. The kernel i use
12 >> is
13 >> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
14 >> to
15 >> boot into my new system, the system starts, even the uvesafb starts, but
16 >> than the booting process stops with a message like "tty starting" and the
17 >> system reboots.
18 >>
19 >> I removed all the files in /proc /dev and /sys, so probably this could be
20 >> the cause of the problem.
21 >
22 > Yeah, you probably shouldn't have done that. There are 'skeleton'
23 > copies of /dev/ files in your root partition before udev kicks in and
24 > those files are needed by the boot process (e.g. /dev/console).
25 >
26 > What I recommend doing is:
27 > * boot into a livecd/usbstick
28 > * mount your root partition (ro) somewhere (e.g. /tmp/root
29 > * mount your empty destination partition somewhere
30 > (e.g. /tmp/newroot)
31 > * copy the files over to the new ext4 partition in whatever manner
32 > * reconfigure new fstab, grub.conf, etc and reboot.
33 >
34 > For livecd/usb I always use RipLinux. The latest version supports ext4
35 > and has both 32- and 64-bit kernels.
36 >
37 >
38 >
39 >
40
41 I did it exactly the way you recommended, but i still get an error, even
42 though it's another one than before:
43
44 Kernel: Unable to open an initial console.
45 Kernel panic - not syncing: No init found. Try passing init= option to
46 kernel.
47
48 An idea?
49 --
50 View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html
51 Sent from the gentoo-user mailing list archive at Nabble.com.

Replies

Subject Author
Re: [gentoo-user] Gentoo from ext3 to ext4 reQuiem23 <niklas.baumstark@×××××.com>
Re: [gentoo-user] Gentoo from ext3 to ext4 Saphirus Sage <saphirus497@×××××.com>