1 |
Saphirus Sage wrote: |
2 |
> |
3 |
> |
4 |
> |
5 |
> On Jan 30, 2009, at 1:23 PM, reQuiem23 <niklas.baumstark@×××××.com> |
6 |
> wrote: |
7 |
> |
8 |
>> |
9 |
>> |
10 |
>> |
11 |
>> Albert Hopkins-4 wrote: |
12 |
>>> |
13 |
>>> On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote: |
14 |
>>>> Hi all, |
15 |
>>>> |
16 |
>>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) |
17 |
>>>> and copy |
18 |
>>>> (cp) my whole root-dir into that new partition, change the /etc/ |
19 |
>>>> fstab, |
20 |
>>>> add |
21 |
>>>> an entry to the grub.conf and booting into that new partition. My / |
22 |
>>>> boot |
23 |
>>>> is |
24 |
>>>> on a separate ext3 partition, so this is not a problem. The kernel |
25 |
>>>> i use |
26 |
>>>> is |
27 |
>>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when |
28 |
>>>> i want |
29 |
>>>> to |
30 |
>>>> boot into my new system, the system starts, even the uvesafb |
31 |
>>>> starts, but |
32 |
>>>> than the booting process stops with a message like "tty starting" |
33 |
>>>> and the |
34 |
>>>> system reboots. |
35 |
>>>> |
36 |
>>>> I removed all the files in /proc /dev and /sys, so probably this |
37 |
>>>> could be |
38 |
>>>> the cause of the problem. |
39 |
>>> |
40 |
>>> Yeah, you probably shouldn't have done that. There are 'skeleton' |
41 |
>>> copies of /dev/ files in your root partition before udev kicks in and |
42 |
>>> those files are needed by the boot process (e.g. /dev/console). |
43 |
>>> |
44 |
>>> What I recommend doing is: |
45 |
>>> * boot into a livecd/usbstick |
46 |
>>> * mount your root partition (ro) somewhere (e.g. /tmp/root |
47 |
>>> * mount your empty destination partition somewhere |
48 |
>>> (e.g. /tmp/newroot) |
49 |
>>> * copy the files over to the new ext4 partition in whatever |
50 |
>>> manner |
51 |
>>> * reconfigure new fstab, grub.conf, etc and reboot. |
52 |
>>> |
53 |
>>> For livecd/usb I always use RipLinux. The latest version supports |
54 |
>>> ext4 |
55 |
>>> and has both 32- and 64-bit kernels. |
56 |
>>> |
57 |
>>> |
58 |
>>> |
59 |
>>> |
60 |
>> |
61 |
>> I did it exactly the way you recommended, but i still get an error, |
62 |
>> even |
63 |
>> though it's another one than before: |
64 |
>> |
65 |
>> Kernel: Unable to open an initial console. |
66 |
>> Kernel panic - not syncing: No init found. Try passing init= option |
67 |
>> to |
68 |
>> kernel. |
69 |
>> |
70 |
>> An idea? |
71 |
>> -- |
72 |
>> View this message in context: |
73 |
>> http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html |
74 |
>> Sent from the gentoo-user mailing list archive at Nabble.com. |
75 |
>> |
76 |
>> |
77 |
> I had a similar problem with my initial LiveCD install. Do you just |
78 |
> boot directly from the gzipped kernel image or use initramfs? |
79 |
> |
80 |
> |
81 |
> |
82 |
|
83 |
|
84 |
As expected, it was not a good idea to try and boot from an empty root |
85 |
partition :D now it all works, I'm writing this from ext4, thanks to all of |
86 |
you for your kind help. |
87 |
|
88 |
Greetings, |
89 |
Niklas |
90 |
-- |
91 |
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21753398.html |
92 |
Sent from the gentoo-user mailing list archive at Nabble.com. |