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