public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo from ext3 to ext4
Date: Fri, 30 Jan 2009 12:23:36 -0500	[thread overview]
Message-ID: <1233336216.2842.6.camel@localhost.localdomain> (raw)
In-Reply-To: <21750949.post@talk.nabble.com>

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.




  parent reply	other threads:[~2009-01-30 17:25 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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:05     ` Paul Hartman
2009-01-30 17:13     ` Graham Murray
2009-01-30 17:19       ` reQuiem23
2009-01-30 17:04   ` Paul Hartman
2009-01-30 17:31     ` Rodolphe Rocca
2009-01-30 16:53 ` Paul Hartman
2009-01-30 17:04   ` reQuiem23
2009-01-30 17:08     ` Paul Hartman
2009-01-30 17:16       ` reQuiem23
2009-01-30 16:57 ` Joshua Murphy
2009-01-30 17:04   ` reQuiem23
2009-01-30 17:22     ` Dale
2009-01-30 17:23 ` Albert Hopkins [this message]
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
2009-01-30 19:20         ` Paul Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1233336216.2842.6.camel@localhost.localdomain \
    --to=marduk@letterboxes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox