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 1LSyup-0008UN-4i for garchives@archives.gentoo.org; Fri, 30 Jan 2009 19:20:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4244AE0549; Fri, 30 Jan 2009 19:20:34 +0000 (UTC) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.158]) by pigeon.gentoo.org (Postfix) with ESMTP id 02E18E0549 for ; Fri, 30 Jan 2009 19:20:33 +0000 (UTC) Received: by yx-out-1718.google.com with SMTP id 4so234649yxp.46 for ; Fri, 30 Jan 2009 11:20:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=a/+TxBnrdH+upDSbElYFlkrL+AeNeNgq01w81pDGzPA=; b=mFZNOXFS2ZZpTBtKWwwT2am7mQd1mJeF/Ob1a/T1GygyqfkofFZe5OnDmdrsGI1Ijr uaokB6X+x1SZcXWM3ySLVqzXm8b8Sg8S3My9XehX9qPsX8Oh/QRy5AKMmxewMTuVPeWW p9/obj6T/pg2u/PTzV04xODw36bxYb96g46Do= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=fdWbN4hnHhuytCt8TA4cwzcHVJgwuz41MK7+TE4mhit6s5sPJgQ+8S+p7mPth4XojL gf2/AdN05smhyWzeG5AKX6lAm+PzWCxrRlAofZy5+X1kP0+eOna3aszgAnx8oJDrJg8N RJSrh9OYCMg6P5ofZeNwykLeMB3jxGipUq3GE= 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 Sender: paul.hartman@gmail.com Received: by 10.151.6.16 with SMTP id j16mr282424ybi.47.1233343233734; Fri, 30 Jan 2009 11:20:33 -0800 (PST) In-Reply-To: <21753398.post@talk.nabble.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> <21753398.post@talk.nabble.com> Date: Fri, 30 Jan 2009 13:20:33 -0600 X-Google-Sender-Auth: 8f608bbca5c8698a Message-ID: <58965d8a0901301120w1d5573c4i91b68c22e3e0acc6@mail.gmail.com> Subject: Re: [gentoo-user] Gentoo from ext3 to ext4 From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: fea0cb97-ea90-4573-afb3-db783d3797d0 X-Archives-Hash: 34c3c3f04dfb841c864efe146e704474 On Fri, Jan 30, 2009 at 12:53 PM, reQuiem23 wrote: > > > > 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. Congratulations, we never doubted your ability to succeed. :)