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 1LSyUl-0005Op-PJ for garchives@archives.gentoo.org; Fri, 30 Jan 2009 18:53:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A41C2E0400; Fri, 30 Jan 2009 18:53:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6AD09E0400 for ; Fri, 30 Jan 2009 18:53:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D6A706438C for ; Fri, 30 Jan 2009 18:53:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.298 X-Spam-Level: X-Spam-Status: No, score=-2.298 required=5.5 tests=[AWL=0.301, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A7VTtmDJc-jb for ; Fri, 30 Jan 2009 18:53:31 +0000 (UTC) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4FA9F643A7 for ; Fri, 30 Jan 2009 18:53:31 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LSyUc-0007pW-A8 for gentoo-user@gentoo.org; Fri, 30 Jan 2009 10:53:30 -0800 Message-ID: <21753398.post@talk.nabble.com> Date: Fri, 30 Jan 2009 10:53:30 -0800 (PST) From: reQuiem23 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gentoo from ext3 to ext4 In-Reply-To: <6B9088FA-132E-4E88-8E1B-A652391094F0@gmail.com> 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: niklas.baumstark@gmail.com References: <21750949.post@talk.nabble.com> <1233336216.2842.6.camel@localhost.localdomain> <21752851.post@talk.nabble.com> <6B9088FA-132E-4E88-8E1B-A652391094F0@gmail.com> X-Archives-Salt: 0d3d5bf0-49a5-4c75-904d-46b70aed614e X-Archives-Hash: 2823633ebc11d88a566ab287afa52e87 Saphirus Sage wrote: > > > > On Jan 30, 2009, at 1:23 PM, 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? >> -- >> 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.