From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 857541381F3 for ; Mon, 26 Aug 2013 16:17:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 453C6E0E19; Mon, 26 Aug 2013 16:17:11 +0000 (UTC) Received: from mx1.hadt.biz (sil.hadt.biz [5.9.16.100]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E497FE0B49 for ; Mon, 26 Aug 2013 16:17:09 +0000 (UTC) Received: from [192.168.255.100] (p5B341EB2.dip0.t-ipconnect.de [91.52.30.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.hadt.biz (Postfix) with ESMTPSA id 1CEAC40035 for ; Mon, 26 Aug 2013 18:17:08 +0200 (CEST) Message-ID: <521B7F80.5000706@hadt.biz> Date: Mon, 26 Aug 2013 18:17:04 +0200 From: Michael Hampicke Organization: Hampicke Datentechnik User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dEifWxrnB58k4BaqvIhSFVBLJ1jO1etb8" X-Archives-Salt: b62a843c-cf18-4b95-8fc7-03884f06ffb6 X-Archives-Hash: d21d2cfce8bdd591bf242cf453234b34 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dEifWxrnB58k4BaqvIhSFVBLJ1jO1etb8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 26.08.2013 17:41, schrieb Francisco Ares: > Hi, >=20 > After a few solved problems, I am still unable to completely boot using= > grub:2, and now I just can't find anything else to fiddle with. >=20 > So I would really appreciate if someone could take a look at my > configuration: >=20 > - system is amd64; > - hard disk partitioning: > - two first primary partitions, unused (for now); > - third (/dev/sda3) is /boot partition, kernel built and in place; > - extended partition as fourth partition; > - logical partition (/dev/sda5) is "/" linux partition, ext4 formated= ; > - emerged the following, before building kernel; > - genkernel ; > - media-gfx/splashutils-1.5.4.4-r1; > - media-gfx/splash-themes-gentoo-20101212-r1 ; > - sys-apps/v86d-0.1.10; > - genkernel command line: > genkernel all \ > --color --menuconfig --splash=3Dnatural_gentoo \ > --splash-res=3D1024x768,1280x1024,1366x768,1440x900 \ > --mountboot --install --unionfs --real-root=3D/dev/sda5 \ > --ramdisk-modules --postclear > - kernel built with: > - CONFIG_FB_UVESA=3Dy > - CONFIG_INITRAMFS_SOURCE=3D"/usr/share/v86d/initramfs" > - CONFIG_EXT4_FS=3Dy > - CONFIG_EXT4_FS_POSIX_ACL=3Dy > - CONFIG_EXT4_FS_SECURITY=3Dy > - grub2 defaults (/etc/defaults/grub2) only difference from original: > GRUB_CMDLINE_LINUX=3D"init=3D/linuxrc real_root=3D/dev/sda5 > video=3Duvesafb,mtrr:3,ywrap splash=3Dsilent,fadein,theme:natural_gento= o > nodevfs udev devfs=3Dnomount CONSOLE=3D/dev/tty1 quiet" >=20 > - sample extract from grub:0 config file, used in a working (a bit olde= r) > system: > title=3DGentoo Linux (3.8.13-gentoo) > root (hd0,1) > kernel /boot/kernel-genkernel-x86_64-3.8.13-gentoo ro root=3D/dev/r= am0 \ > init=3D/linuxrc real_root=3D/dev/sda4 vga=3D791 > splash=3Dsilent,theme:natural_gentoo \ > console=3Dtty1 verbose nodevfs udev devfs=3Dnomount CONSOLE=3D/= dev/tty1 > quiet > initrd /boot/initramfs-genkernel-x86_64-3.8.13-gentoo >=20 >=20 > Now the boot stops showing the messages (after the Tux logos appeared):= >=20 > Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg > No verbose picture specified in the theme > No silent picture specified in the theme > No verbose picture specified in the theme > Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg > No verbose picture specified in the theme > No silent picture specified in the theme > !! Block device /dev/sda5 is not a valid root device >=20 >=20 > The last line explains the ones preceding it. >=20 > Any hints on where to look at? >=20 > Thanks > Francisco >=20 Have you tried generating a grub2 config file via grub2-mkconfig. You should try that and see if you can boot. Then adjust the configuration to your needs. On first glance, everything in your setup looks the way it's supposed to be, but I suspect your customized grub2 cfg. --dEifWxrnB58k4BaqvIhSFVBLJ1jO1etb8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iQEcBAEBAgAGBQJSG3+AAAoJEK7HowNX6Bk+zFQH/2GEj981LyJYgKbcdibs+8rI gI+ACCIXtFt4boJeRgtWjn/hADwuMXIdq+X80At5afeTjfmmnHQ01ePpGPjvVtVV U7jFCcbEDoZd8/LvOFhJxlXhEUTeOVuAFo39ggC4NP7CT0etqcu0pDLSX6aLo1Yy Fdjydvh4A2pX3+2hBnT5po0zzgKZMgYrH/70FFSoHJNuFU6Qi33Z8AaIzvW6W4U2 xsTudr/w55/pBTS9geGQEV9eCREAKMiOY7Kc9OBnvoWftbr8bptswt3N1yb9Vc3c Lz8aDzzJfPdohyRQLaxmJlAL0Tbgv/QCY8Beil/DSmMw0E5RK8u4d4TfGhssq10= =lVYl -----END PGP SIGNATURE----- --dEifWxrnB58k4BaqvIhSFVBLJ1jO1etb8--