From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LSx7q-0002ko-EM for garchives@archives.gentoo.org; Fri, 30 Jan 2009 17:25:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC97DE02EB; Fri, 30 Jan 2009 17:25:52 +0000 (UTC) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by pigeon.gentoo.org (Postfix) with ESMTP id 98304E02EB for ; Fri, 30 Jan 2009 17:25:52 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 95ED5265385 for ; Fri, 30 Jan 2009 12:23:34 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 30 Jan 2009 12:23:34 -0500 X-Sasl-enc: WEKQiycXSTFd6zklRiECRQ1/UBOD0uS5ii+zZxyyeKa8 1233336214 Received: from [10.11.243.204] (nat-pool-rdu.redhat.com [66.187.233.202]) by www.fastmail.fm (Postfix) with ESMTPSA id 460A72D955 for ; Fri, 30 Jan 2009 12:23:34 -0500 (EST) Subject: Re: [gentoo-user] Gentoo from ext3 to ext4 From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <21750949.post@talk.nabble.com> References: <21750949.post@talk.nabble.com> Content-Type: text/plain Organization: Marduk Enterprises Date: Fri, 30 Jan 2009 12:23:36 -0500 Message-Id: <1233336216.2842.6.camel@localhost.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 (2.24.3-1.fc10) Content-Transfer-Encoding: 7bit X-Archives-Salt: 7a748f8f-1a71-4741-9352-64bc4827c8bf X-Archives-Hash: 00228e788e597d409fe58db98ee341a2 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.