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