* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:48 [gentoo-user] Gentoo from ext3 to ext4 reQuiem23
@ 2009-01-30 16:52 ` Rodolphe Rocca
2009-01-30 16:57 ` reQuiem23
2009-01-30 17:04 ` Paul Hartman
2009-01-30 16:53 ` Paul Hartman
` (2 subsequent siblings)
3 siblings, 2 replies; 21+ messages in thread
From: Rodolphe Rocca @ 2009-01-30 16:52 UTC (permalink / raw
To: gentoo-user
reQuiem23 wrote:
> Hi all,
>
> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
> (cp) my whole root-dir into that new partition, change the /etc/fstab, add
> an entry to the grub.conf and booting into that new partition. My /boot is
> on a separate ext3 partition, so this is not a problem. The kernel i use is
> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want to
> boot into my new system, the system starts, even the uvesafb starts, but
> than the booting process stops with a message like "tty starting" and the
> system reboots.
>
> I removed all the files in /proc /dev and /sys, so probably this could be
> the cause of the problem. Or does anyone have an idea what could be the
> problematic factor here? unfortunately i can't provide any logging
> information because i can't get to a working shell :(
>
> Greetings,
> Niklas
>
grub is not compatible with ext4
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:52 ` Rodolphe Rocca
@ 2009-01-30 16:57 ` reQuiem23
2009-01-30 17:05 ` Paul Hartman
2009-01-30 17:13 ` Graham Murray
2009-01-30 17:04 ` Paul Hartman
1 sibling, 2 replies; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 16:57 UTC (permalink / raw
To: gentoo-user
Rodolphe Rocca-2 wrote:
>
> reQuiem23 wrote:
>> Hi all,
>>
>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>> add
>> an entry to the grub.conf and booting into that new partition. My /boot
>> is
>> on a separate ext3 partition, so this is not a problem. The kernel i use
>> is
>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>> to
>> boot into my new system, the system starts, even the uvesafb starts, but
>> than the booting process stops with a message like "tty starting" and the
>> system reboots.
>>
>> I removed all the files in /proc /dev and /sys, so probably this could be
>> the cause of the problem. Or does anyone have an idea what could be the
>> problematic factor here? unfortunately i can't provide any logging
>> information because i can't get to a working shell :(
>>
>> Greetings,
>> Niklas
>>
> grub is not compatible with ext4
>
>
yeah, but my /boot is still ext3 and grub IS actually loading the system, it
even runs uvesafb. or is grub even incompatible with ext4 root-filesystems?
i thought this was entirely handled by the kernel.
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21751136.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:57 ` reQuiem23
@ 2009-01-30 17:05 ` Paul Hartman
2009-01-30 17:13 ` Graham Murray
1 sibling, 0 replies; 21+ messages in thread
From: Paul Hartman @ 2009-01-30 17:05 UTC (permalink / raw
To: gentoo-user
On Fri, Jan 30, 2009 at 10:57 AM, reQuiem23 <niklas.baumstark@gmail.com> wrote:
>
>
>
> Rodolphe Rocca-2 wrote:
>>
>> reQuiem23 wrote:
>>> Hi all,
>>>
>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>>> add
>>> an entry to the grub.conf and booting into that new partition. My /boot
>>> is
>>> on a separate ext3 partition, so this is not a problem. The kernel i use
>>> is
>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>>> to
>>> boot into my new system, the system starts, even the uvesafb starts, but
>>> than the booting process stops with a message like "tty starting" and the
>>> system reboots.
>>>
>>> I removed all the files in /proc /dev and /sys, so probably this could be
>>> the cause of the problem. Or does anyone have an idea what could be the
>>> problematic factor here? unfortunately i can't provide any logging
>>> information because i can't get to a working shell :(
>>>
>>> Greetings,
>>> Niklas
>>>
>> grub is not compatible with ext4
>>
>>
>
>
> yeah, but my /boot is still ext3 and grub IS actually loading the system, it
> even runs uvesafb. or is grub even incompatible with ext4 root-filesystems?
> i thought this was entirely handled by the kernel.
I have ext4 root filesystem on 2 machines running gentoo & grub and
it's working fine. Don't give up :)
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:57 ` reQuiem23
2009-01-30 17:05 ` Paul Hartman
@ 2009-01-30 17:13 ` Graham Murray
2009-01-30 17:19 ` reQuiem23
1 sibling, 1 reply; 21+ messages in thread
From: Graham Murray @ 2009-01-30 17:13 UTC (permalink / raw
To: gentoo-user
reQuiem23 <niklas.baumstark@gmail.com> writes:
> yeah, but my /boot is still ext3 and grub IS actually loading the system, it
> even runs uvesafb. or is grub even incompatible with ext4 root-filesystems?
> i thought this was entirely handled by the kernel.
Grub is not incompatible with ext4 root filesystems as long as you, as
you do, have a separate /boot partition with a 'supported' format. It
works fine here with ext2 /boot and ext4 / - but I converted this using
tune2fs from etx3 rather than creating a new etx4 root (but I did create
a new ext4 /home on a different drive)
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 17:13 ` Graham Murray
@ 2009-01-30 17:19 ` reQuiem23
0 siblings, 0 replies; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 17:19 UTC (permalink / raw
To: gentoo-user
Graham Murray wrote:
>
> reQuiem23 <niklas.baumstark@gmail.com> writes:
>
>> yeah, but my /boot is still ext3 and grub IS actually loading the system,
>> it
>> even runs uvesafb. or is grub even incompatible with ext4
>> root-filesystems?
>> i thought this was entirely handled by the kernel.
>
> Grub is not incompatible with ext4 root filesystems as long as you, as
> you do, have a separate /boot partition with a 'supported' format. It
> works fine here with ext2 /boot and ext4 / - but I converted this using
> tune2fs from etx3 rather than creating a new etx4 root (but I did create
> a new ext4 /home on a different drive)
>
>
>
What you describe is pretty much my setup. I read that converting the FS
with tune2fs would not affect the storage of already existing files so i
thought it would be better to copy it all over. I also don't have another
64bit system with 2.6.28 kernel on my PC, so I tried it this way.
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21751560.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:52 ` Rodolphe Rocca
2009-01-30 16:57 ` reQuiem23
@ 2009-01-30 17:04 ` Paul Hartman
2009-01-30 17:31 ` Rodolphe Rocca
1 sibling, 1 reply; 21+ messages in thread
From: Paul Hartman @ 2009-01-30 17:04 UTC (permalink / raw
To: gentoo-user
On Fri, Jan 30, 2009 at 10:52 AM, Rodolphe Rocca <fake2@free.fr> wrote:
> reQuiem23 wrote:
>>
>> Hi all,
>>
>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>> (cp) my whole root-dir into that new partition, change the /etc/fstab, add
>> an entry to the grub.conf and booting into that new partition. My /boot is
>> on a separate ext3 partition, so this is not a problem. The kernel i use
>> is
>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>> to
>> boot into my new system, the system starts, even the uvesafb starts, but
>> than the booting process stops with a message like "tty starting" and the
>> system reboots.
>>
>> I removed all the files in /proc /dev and /sys, so probably this could be
>> the cause of the problem. Or does anyone have an idea what could be the
>> problematic factor here? unfortunately i can't provide any logging
>> information because i can't get to a working shell :(
>>
>> Greetings,
>> Niklas
>>
>
> grub is not compatible with ext4
# ChangeLog for sys-boot/grub
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.110
2009/01/02 01:51:05 robbat2 Exp $
*grub-0.97-r9 (02 Jan 2009)
02 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> +grub-0.97-r9.ebuild:
Ext4 funtime for grub-0.97 series. Remember to reinstall it in your MBR.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 17:04 ` Paul Hartman
@ 2009-01-30 17:31 ` Rodolphe Rocca
0 siblings, 0 replies; 21+ messages in thread
From: Rodolphe Rocca @ 2009-01-30 17:31 UTC (permalink / raw
To: gentoo-user
Paul Hartman wrote:
> On Fri, Jan 30, 2009 at 10:52 AM, Rodolphe Rocca <fake2@free.fr> wrote:
>
>> reQuiem23 wrote:
>>
>>> Hi all,
>>>
>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>>> (cp) my whole root-dir into that new partition, change the /etc/fstab, add
>>> an entry to the grub.conf and booting into that new partition. My /boot is
>>> on a separate ext3 partition, so this is not a problem. The kernel i use
>>> is
>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>>> to
>>> boot into my new system, the system starts, even the uvesafb starts, but
>>> than the booting process stops with a message like "tty starting" and the
>>> system reboots.
>>>
>>> I removed all the files in /proc /dev and /sys, so probably this could be
>>> the cause of the problem. Or does anyone have an idea what could be the
>>> problematic factor here? unfortunately i can't provide any logging
>>> information because i can't get to a working shell :(
>>>
>>> Greetings,
>>> Niklas
>>>
>>>
>> grub is not compatible with ext4
>>
>
> # ChangeLog for sys-boot/grub
> # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
> # $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.110
> 2009/01/02 01:51:05 robbat2 Exp $
>
> *grub-0.97-r9 (02 Jan 2009)
>
> 02 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> +grub-0.97-r9.ebuild:
> Ext4 funtime for grub-0.97 series. Remember to reinstall it in your MBR.
>
Great. Last time I checked was... probably before jan, the 2th ;-)
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:48 [gentoo-user] Gentoo from ext3 to ext4 reQuiem23
2009-01-30 16:52 ` Rodolphe Rocca
@ 2009-01-30 16:53 ` Paul Hartman
2009-01-30 17:04 ` reQuiem23
2009-01-30 16:57 ` Joshua Murphy
2009-01-30 17:23 ` Albert Hopkins
3 siblings, 1 reply; 21+ messages in thread
From: Paul Hartman @ 2009-01-30 16:53 UTC (permalink / raw
To: gentoo-user
On Fri, Jan 30, 2009 at 10:48 AM, reQuiem23 <niklas.baumstark@gmail.com> wrote:
>
> Hi all,
>
> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
> (cp) my whole root-dir into that new partition, change the /etc/fstab, add
> an entry to the grub.conf and booting into that new partition. My /boot is
> on a separate ext3 partition, so this is not a problem. The kernel i use is
> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want to
> boot into my new system, the system starts, even the uvesafb starts, but
> than the booting process stops with a message like "tty starting" and the
> system reboots.
>
> I removed all the files in /proc /dev and /sys, so probably this could be
> the cause of the problem. Or does anyone have an idea what could be the
> problematic factor here? unfortunately i can't provide any logging
> information because i can't get to a working shell :(
Don't know if it is related, but for me I had to put rootfstype=ext4
on the kernel commandline. Also make sure you're using
sys-boot/grub-0.97-r9, I know it has ext4 support.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:53 ` Paul Hartman
@ 2009-01-30 17:04 ` reQuiem23
2009-01-30 17:08 ` Paul Hartman
0 siblings, 1 reply; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 17:04 UTC (permalink / raw
To: gentoo-user
Paul Hartman-3 wrote:
>
> On Fri, Jan 30, 2009 at 10:48 AM, reQuiem23 <niklas.baumstark@gmail.com>
> wrote:
>>
>> Hi all,
>>
>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>> add
>> an entry to the grub.conf and booting into that new partition. My /boot
>> is
>> on a separate ext3 partition, so this is not a problem. The kernel i use
>> is
>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>> to
>> boot into my new system, the system starts, even the uvesafb starts, but
>> than the booting process stops with a message like "tty starting" and the
>> system reboots.
>>
>> I removed all the files in /proc /dev and /sys, so probably this could be
>> the cause of the problem. Or does anyone have an idea what could be the
>> problematic factor here? unfortunately i can't provide any logging
>> information because i can't get to a working shell :(
>
> Don't know if it is related, but for me I had to put rootfstype=ext4
> on the kernel commandline. Also make sure you're using
> sys-boot/grub-0.97-r9, I know it has ext4 support.
>
>
>
I actually have that parameter on the kernel command line. I'll check my
grub version, though, thank you.
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21751280.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 17:04 ` reQuiem23
@ 2009-01-30 17:08 ` Paul Hartman
2009-01-30 17:16 ` reQuiem23
0 siblings, 1 reply; 21+ messages in thread
From: Paul Hartman @ 2009-01-30 17:08 UTC (permalink / raw
To: gentoo-user
On Fri, Jan 30, 2009 at 11:04 AM, reQuiem23 <niklas.baumstark@gmail.com> wrote:
>
>
>
> Paul Hartman-3 wrote:
>>
>> On Fri, Jan 30, 2009 at 10:48 AM, reQuiem23 <niklas.baumstark@gmail.com>
>> wrote:
>>>
>>> Hi all,
>>>
>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>>> add
>>> an entry to the grub.conf and booting into that new partition. My /boot
>>> is
>>> on a separate ext3 partition, so this is not a problem. The kernel i use
>>> is
>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>>> to
>>> boot into my new system, the system starts, even the uvesafb starts, but
>>> than the booting process stops with a message like "tty starting" and the
>>> system reboots.
>>>
>>> I removed all the files in /proc /dev and /sys, so probably this could be
>>> the cause of the problem. Or does anyone have an idea what could be the
>>> problematic factor here? unfortunately i can't provide any logging
>>> information because i can't get to a working shell :(
>>
>> Don't know if it is related, but for me I had to put rootfstype=ext4
>> on the kernel commandline. Also make sure you're using
>> sys-boot/grub-0.97-r9, I know it has ext4 support.
>>
>>
>>
>
> I actually have that parameter on the kernel command line. I'll check my
> grub version, though, thank you.
Be sure to re-install grub to MBR as well. Just emerging it won't be
good enough.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 17:08 ` Paul Hartman
@ 2009-01-30 17:16 ` reQuiem23
0 siblings, 0 replies; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 17:16 UTC (permalink / raw
To: gentoo-user
Paul Hartman-3 wrote:
>
> On Fri, Jan 30, 2009 at 11:04 AM, reQuiem23 <niklas.baumstark@gmail.com>
> wrote:
>>
>>
>>
>> Paul Hartman-3 wrote:
>>>
>>> On Fri, Jan 30, 2009 at 10:48 AM, reQuiem23 <niklas.baumstark@gmail.com>
>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and
>>>> copy
>>>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>>>> add
>>>> an entry to the grub.conf and booting into that new partition. My /boot
>>>> is
>>>> on a separate ext3 partition, so this is not a problem. The kernel i
>>>> use
>>>> is
>>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i
>>>> want
>>>> to
>>>> boot into my new system, the system starts, even the uvesafb starts,
>>>> but
>>>> than the booting process stops with a message like "tty starting" and
>>>> the
>>>> system reboots.
>>>>
>>>> I removed all the files in /proc /dev and /sys, so probably this could
>>>> be
>>>> the cause of the problem. Or does anyone have an idea what could be the
>>>> problematic factor here? unfortunately i can't provide any logging
>>>> information because i can't get to a working shell :(
>>>
>>> Don't know if it is related, but for me I had to put rootfstype=ext4
>>> on the kernel commandline. Also make sure you're using
>>> sys-boot/grub-0.97-r9, I know it has ext4 support.
>>>
>>>
>>>
>>
>> I actually have that parameter on the kernel command line. I'll check my
>> grub version, though, thank you.
>
> Be sure to re-install grub to MBR as well. Just emerging it won't be
> good enough.
>
>
>
Okay, i still got that in mind from the installation guide, but thanks
nevertheless :)
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21751479.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:48 [gentoo-user] Gentoo from ext3 to ext4 reQuiem23
2009-01-30 16:52 ` Rodolphe Rocca
2009-01-30 16:53 ` Paul Hartman
@ 2009-01-30 16:57 ` Joshua Murphy
2009-01-30 17:04 ` reQuiem23
2009-01-30 17:23 ` Albert Hopkins
3 siblings, 1 reply; 21+ messages in thread
From: Joshua Murphy @ 2009-01-30 16:57 UTC (permalink / raw
To: gentoo-user
On Fri, Jan 30, 2009 at 11:48 AM, reQuiem23 <niklas.baumstark@gmail.com> wrote:
>
> Hi all,
>
> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
> (cp) my whole root-dir into that new partition, change the /etc/fstab, add
> an entry to the grub.conf and booting into that new partition. My /boot is
> on a separate ext3 partition, so this is not a problem. The kernel i use is
> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want to
> boot into my new system, the system starts, even the uvesafb starts, but
> than the booting process stops with a message like "tty starting" and the
> system reboots.
>
> I removed all the files in /proc /dev and /sys, so probably this could be
> the cause of the problem. Or does anyone have an idea what could be the
> problematic factor here? unfortunately i can't provide any logging
> information because i can't get to a working shell :(
>
> Greetings,
> Niklas
Make sure you have /dev/console and /dev/null in place ... it's needed
*before* /dev is mounted over with tmpfs for udev.
--
Poison [BLX]
Joshua M. Murphy
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:57 ` Joshua Murphy
@ 2009-01-30 17:04 ` reQuiem23
2009-01-30 17:22 ` Dale
0 siblings, 1 reply; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 17:04 UTC (permalink / raw
To: gentoo-user
Joshua Murphy-2 wrote:
>
> On Fri, Jan 30, 2009 at 11:48 AM, reQuiem23 <niklas.baumstark@gmail.com>
> wrote:
>>
>> Hi all,
>>
>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>> add
>> an entry to the grub.conf and booting into that new partition. My /boot
>> is
>> on a separate ext3 partition, so this is not a problem. The kernel i use
>> is
>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>> to
>> boot into my new system, the system starts, even the uvesafb starts, but
>> than the booting process stops with a message like "tty starting" and the
>> system reboots.
>>
>> I removed all the files in /proc /dev and /sys, so probably this could be
>> the cause of the problem. Or does anyone have an idea what could be the
>> problematic factor here? unfortunately i can't provide any logging
>> information because i can't get to a working shell :(
>>
>> Greetings,
>> Niklas
>
> Make sure you have /dev/console and /dev/null in place ... it's needed
> *before* /dev is mounted over with tmpfs for udev.
>
>
can i just copy these from my existing setup? I'll try that, thanks for the
hint
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21751259.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 17:04 ` reQuiem23
@ 2009-01-30 17:22 ` Dale
0 siblings, 0 replies; 21+ messages in thread
From: Dale @ 2009-01-30 17:22 UTC (permalink / raw
To: gentoo-user
reQuiem23 wrote:
>
> Joshua Murphy-2 wrote:
>
>> On Fri, Jan 30, 2009 at 11:48 AM, reQuiem23 <niklas.baumstark@gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>>> add
>>> an entry to the grub.conf and booting into that new partition. My /boot
>>> is
>>> on a separate ext3 partition, so this is not a problem. The kernel i use
>>> is
>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>>> to
>>> boot into my new system, the system starts, even the uvesafb starts, but
>>> than the booting process stops with a message like "tty starting" and the
>>> system reboots.
>>>
>>> I removed all the files in /proc /dev and /sys, so probably this could be
>>> the cause of the problem. Or does anyone have an idea what could be the
>>> problematic factor here? unfortunately i can't provide any logging
>>> information because i can't get to a working shell :(
>>>
>>> Greetings,
>>> Niklas
>>>
>> Make sure you have /dev/console and /dev/null in place ... it's needed
>> *before* /dev is mounted over with tmpfs for udev.
>>
>>
>>
>
> can i just copy these from my existing setup? I'll try that, thanks for the
> hint
>
>
You can copy those from where ever, CD, old install, it shouldn't
matter. They just need to be there.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 16:48 [gentoo-user] Gentoo from ext3 to ext4 reQuiem23
` (2 preceding siblings ...)
2009-01-30 16:57 ` Joshua Murphy
@ 2009-01-30 17:23 ` Albert Hopkins
2009-01-30 18:23 ` reQuiem23
3 siblings, 1 reply; 21+ messages in thread
From: Albert Hopkins @ 2009-01-30 17:23 UTC (permalink / raw
To: gentoo-user
On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
> Hi all,
>
> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
> (cp) my whole root-dir into that new partition, change the /etc/fstab, add
> an entry to the grub.conf and booting into that new partition. My /boot is
> on a separate ext3 partition, so this is not a problem. The kernel i use is
> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want to
> boot into my new system, the system starts, even the uvesafb starts, but
> than the booting process stops with a message like "tty starting" and the
> system reboots.
>
> I removed all the files in /proc /dev and /sys, so probably this could be
> the cause of the problem.
Yeah, you probably shouldn't have done that. There are 'skeleton'
copies of /dev/ files in your root partition before udev kicks in and
those files are needed by the boot process (e.g. /dev/console).
What I recommend doing is:
* boot into a livecd/usbstick
* mount your root partition (ro) somewhere (e.g. /tmp/root
* mount your empty destination partition somewhere
(e.g. /tmp/newroot)
* copy the files over to the new ext4 partition in whatever manner
* reconfigure new fstab, grub.conf, etc and reboot.
For livecd/usb I always use RipLinux. The latest version supports ext4
and has both 32- and 64-bit kernels.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 17:23 ` Albert Hopkins
@ 2009-01-30 18:23 ` reQuiem23
2009-01-30 18:38 ` reQuiem23
2009-01-30 18:38 ` Saphirus Sage
0 siblings, 2 replies; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 18:23 UTC (permalink / raw
To: gentoo-user
Albert Hopkins-4 wrote:
>
> On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
>> Hi all,
>>
>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and copy
>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>> add
>> an entry to the grub.conf and booting into that new partition. My /boot
>> is
>> on a separate ext3 partition, so this is not a problem. The kernel i use
>> is
>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>> to
>> boot into my new system, the system starts, even the uvesafb starts, but
>> than the booting process stops with a message like "tty starting" and the
>> system reboots.
>>
>> I removed all the files in /proc /dev and /sys, so probably this could be
>> the cause of the problem.
>
> Yeah, you probably shouldn't have done that. There are 'skeleton'
> copies of /dev/ files in your root partition before udev kicks in and
> those files are needed by the boot process (e.g. /dev/console).
>
> What I recommend doing is:
> * boot into a livecd/usbstick
> * mount your root partition (ro) somewhere (e.g. /tmp/root
> * mount your empty destination partition somewhere
> (e.g. /tmp/newroot)
> * copy the files over to the new ext4 partition in whatever manner
> * reconfigure new fstab, grub.conf, etc and reboot.
>
> For livecd/usb I always use RipLinux. The latest version supports ext4
> and has both 32- and 64-bit kernels.
>
>
>
>
I did it exactly the way you recommended, but i still get an error, even
though it's another one than before:
Kernel: Unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
An idea?
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 18:23 ` reQuiem23
@ 2009-01-30 18:38 ` reQuiem23
2009-01-30 18:38 ` Saphirus Sage
1 sibling, 0 replies; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 18:38 UTC (permalink / raw
To: gentoo-user
reQuiem23 wrote:
>
>
>
> Albert Hopkins-4 wrote:
>>
>> On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
>>> Hi all,
>>>
>>> i just had the idea to make a new ext4 partition (via mkfs.ext4) and
>>> copy
>>> (cp) my whole root-dir into that new partition, change the /etc/fstab,
>>> add
>>> an entry to the grub.conf and booting into that new partition. My /boot
>>> is
>>> on a separate ext3 partition, so this is not a problem. The kernel i use
>>> is
>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when i want
>>> to
>>> boot into my new system, the system starts, even the uvesafb starts, but
>>> than the booting process stops with a message like "tty starting" and
>>> the
>>> system reboots.
>>>
>>> I removed all the files in /proc /dev and /sys, so probably this could
>>> be
>>> the cause of the problem.
>>
>> Yeah, you probably shouldn't have done that. There are 'skeleton'
>> copies of /dev/ files in your root partition before udev kicks in and
>> those files are needed by the boot process (e.g. /dev/console).
>>
>> What I recommend doing is:
>> * boot into a livecd/usbstick
>> * mount your root partition (ro) somewhere (e.g. /tmp/root
>> * mount your empty destination partition somewhere
>> (e.g. /tmp/newroot)
>> * copy the files over to the new ext4 partition in whatever manner
>> * reconfigure new fstab, grub.conf, etc and reboot.
>>
>> For livecd/usb I always use RipLinux. The latest version supports ext4
>> and has both 32- and 64-bit kernels.
>>
>>
>>
>>
>
> I did it exactly the way you recommended, but i still get an error, even
> though it's another one than before:
>
> Kernel: Unable to open an initial console.
> Kernel panic - not syncing: No init found. Try passing init= option to
> kernel.
>
> An idea?
>
Oh man, apparently i havent umounted the partition properly, for there is no
single file on it... This is of course not going to work.
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21753124.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 18:23 ` reQuiem23
2009-01-30 18:38 ` reQuiem23
@ 2009-01-30 18:38 ` Saphirus Sage
2009-01-30 18:53 ` reQuiem23
1 sibling, 1 reply; 21+ messages in thread
From: Saphirus Sage @ 2009-01-30 18:38 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
On Jan 30, 2009, at 1:23 PM, reQuiem23 <niklas.baumstark@gmail.com>
wrote:
>
>
>
> Albert Hopkins-4 wrote:
>>
>> On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
>>> Hi all,
>>>
>>> i just had the idea to make a new ext4 partition (via mkfs.ext4)
>>> and copy
>>> (cp) my whole root-dir into that new partition, change the /etc/
>>> fstab,
>>> add
>>> an entry to the grub.conf and booting into that new partition. My /
>>> boot
>>> is
>>> on a separate ext3 partition, so this is not a problem. The kernel
>>> i use
>>> is
>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when
>>> i want
>>> to
>>> boot into my new system, the system starts, even the uvesafb
>>> starts, but
>>> than the booting process stops with a message like "tty starting"
>>> and the
>>> system reboots.
>>>
>>> I removed all the files in /proc /dev and /sys, so probably this
>>> could be
>>> the cause of the problem.
>>
>> Yeah, you probably shouldn't have done that. There are 'skeleton'
>> copies of /dev/ files in your root partition before udev kicks in and
>> those files are needed by the boot process (e.g. /dev/console).
>>
>> What I recommend doing is:
>> * boot into a livecd/usbstick
>> * mount your root partition (ro) somewhere (e.g. /tmp/root
>> * mount your empty destination partition somewhere
>> (e.g. /tmp/newroot)
>> * copy the files over to the new ext4 partition in whatever
>> manner
>> * reconfigure new fstab, grub.conf, etc and reboot.
>>
>> For livecd/usb I always use RipLinux. The latest version supports
>> ext4
>> and has both 32- and 64-bit kernels.
>>
>>
>>
>>
>
> I did it exactly the way you recommended, but i still get an error,
> even
> though it's another one than before:
>
> Kernel: Unable to open an initial console.
> Kernel panic - not syncing: No init found. Try passing init= option
> to
> kernel.
>
> An idea?
> --
> View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html
> Sent from the gentoo-user mailing list archive at Nabble.com.
>
>
I had a similar problem with my initial LiveCD install. Do you just
boot directly from the gzipped kernel image or use initramfs?
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 18:38 ` Saphirus Sage
@ 2009-01-30 18:53 ` reQuiem23
2009-01-30 19:20 ` Paul Hartman
0 siblings, 1 reply; 21+ messages in thread
From: reQuiem23 @ 2009-01-30 18:53 UTC (permalink / raw
To: gentoo-user
Saphirus Sage wrote:
>
>
>
> On Jan 30, 2009, at 1:23 PM, reQuiem23 <niklas.baumstark@gmail.com>
> wrote:
>
>>
>>
>>
>> Albert Hopkins-4 wrote:
>>>
>>> On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
>>>> Hi all,
>>>>
>>>> i just had the idea to make a new ext4 partition (via mkfs.ext4)
>>>> and copy
>>>> (cp) my whole root-dir into that new partition, change the /etc/
>>>> fstab,
>>>> add
>>>> an entry to the grub.conf and booting into that new partition. My /
>>>> boot
>>>> is
>>>> on a separate ext3 partition, so this is not a problem. The kernel
>>>> i use
>>>> is
>>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when
>>>> i want
>>>> to
>>>> boot into my new system, the system starts, even the uvesafb
>>>> starts, but
>>>> than the booting process stops with a message like "tty starting"
>>>> and the
>>>> system reboots.
>>>>
>>>> I removed all the files in /proc /dev and /sys, so probably this
>>>> could be
>>>> the cause of the problem.
>>>
>>> Yeah, you probably shouldn't have done that. There are 'skeleton'
>>> copies of /dev/ files in your root partition before udev kicks in and
>>> those files are needed by the boot process (e.g. /dev/console).
>>>
>>> What I recommend doing is:
>>> * boot into a livecd/usbstick
>>> * mount your root partition (ro) somewhere (e.g. /tmp/root
>>> * mount your empty destination partition somewhere
>>> (e.g. /tmp/newroot)
>>> * copy the files over to the new ext4 partition in whatever
>>> manner
>>> * reconfigure new fstab, grub.conf, etc and reboot.
>>>
>>> For livecd/usb I always use RipLinux. The latest version supports
>>> ext4
>>> and has both 32- and 64-bit kernels.
>>>
>>>
>>>
>>>
>>
>> I did it exactly the way you recommended, but i still get an error,
>> even
>> though it's another one than before:
>>
>> Kernel: Unable to open an initial console.
>> Kernel panic - not syncing: No init found. Try passing init= option
>> to
>> kernel.
>>
>> An idea?
>> --
>> View this message in context:
>> http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html
>> Sent from the gentoo-user mailing list archive at Nabble.com.
>>
>>
> I had a similar problem with my initial LiveCD install. Do you just
> boot directly from the gzipped kernel image or use initramfs?
>
>
>
As expected, it was not a good idea to try and boot from an empty root
partition :D now it all works, I'm writing this from ext4, thanks to all of
you for your kind help.
Greetings,
Niklas
--
View this message in context: http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21753398.html
Sent from the gentoo-user mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Gentoo from ext3 to ext4
2009-01-30 18:53 ` reQuiem23
@ 2009-01-30 19:20 ` Paul Hartman
0 siblings, 0 replies; 21+ messages in thread
From: Paul Hartman @ 2009-01-30 19:20 UTC (permalink / raw
To: gentoo-user
On Fri, Jan 30, 2009 at 12:53 PM, reQuiem23 <niklas.baumstark@gmail.com> wrote:
>
>
>
> Saphirus Sage wrote:
>>
>>
>>
>> On Jan 30, 2009, at 1:23 PM, reQuiem23 <niklas.baumstark@gmail.com>
>> wrote:
>>
>>>
>>>
>>>
>>> Albert Hopkins-4 wrote:
>>>>
>>>> On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:
>>>>> Hi all,
>>>>>
>>>>> i just had the idea to make a new ext4 partition (via mkfs.ext4)
>>>>> and copy
>>>>> (cp) my whole root-dir into that new partition, change the /etc/
>>>>> fstab,
>>>>> add
>>>>> an entry to the grub.conf and booting into that new partition. My /
>>>>> boot
>>>>> is
>>>>> on a separate ext3 partition, so this is not a problem. The kernel
>>>>> i use
>>>>> is
>>>>> gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when
>>>>> i want
>>>>> to
>>>>> boot into my new system, the system starts, even the uvesafb
>>>>> starts, but
>>>>> than the booting process stops with a message like "tty starting"
>>>>> and the
>>>>> system reboots.
>>>>>
>>>>> I removed all the files in /proc /dev and /sys, so probably this
>>>>> could be
>>>>> the cause of the problem.
>>>>
>>>> Yeah, you probably shouldn't have done that. There are 'skeleton'
>>>> copies of /dev/ files in your root partition before udev kicks in and
>>>> those files are needed by the boot process (e.g. /dev/console).
>>>>
>>>> What I recommend doing is:
>>>> * boot into a livecd/usbstick
>>>> * mount your root partition (ro) somewhere (e.g. /tmp/root
>>>> * mount your empty destination partition somewhere
>>>> (e.g. /tmp/newroot)
>>>> * copy the files over to the new ext4 partition in whatever
>>>> manner
>>>> * reconfigure new fstab, grub.conf, etc and reboot.
>>>>
>>>> For livecd/usb I always use RipLinux. The latest version supports
>>>> ext4
>>>> and has both 32- and 64-bit kernels.
>>>>
>>>>
>>>>
>>>>
>>>
>>> I did it exactly the way you recommended, but i still get an error,
>>> even
>>> though it's another one than before:
>>>
>>> Kernel: Unable to open an initial console.
>>> Kernel panic - not syncing: No init found. Try passing init= option
>>> to
>>> kernel.
>>>
>>> An idea?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html
>>> Sent from the gentoo-user mailing list archive at Nabble.com.
>>>
>>>
>> I had a similar problem with my initial LiveCD install. Do you just
>> boot directly from the gzipped kernel image or use initramfs?
>>
>>
>>
>
>
> As expected, it was not a good idea to try and boot from an empty root
> partition :D now it all works, I'm writing this from ext4, thanks to all of
> you for your kind help.
Congratulations, we never doubted your ability to succeed. :)
^ permalink raw reply [flat|nested] 21+ messages in thread