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 9B3AF1381F3 for ; Mon, 26 Aug 2013 18:12:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DD2EE0D57; Mon, 26 Aug 2013 18:12:05 +0000 (UTC) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 845C9E0D45 for ; Mon, 26 Aug 2013 18:12:04 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id wc20so3623010obb.14 for ; Mon, 26 Aug 2013 11:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=WA/d+4kcGDE8YCWPBF/WwGzYB3HxHsi5ee6t7W2viQg=; b=Qi3XDPpaz+yIZDMt15Cqqbu58G4NbobcrTCTqXXvtn8JFWh3l5WybdEk41Eev2pVAl kB42t1IxJ5NJKlM8o4KaramrEXhtNumX3UqSSq3PgmTLNP5Wy+Fpd4j6d0K2cY/fQ26z CwOyFUHM4RwXe684kEl53guNTJjhFZy4tHYFv5ZMXYn8vmZemSsTvYvZ9xIEavaDo7/g CPh7lcAV51bv0ju4MX7sYgd0e5NpmiUDYYcot5UAefG/eYXdUxj2CZLgFwZLlnLSvHjf SYKgRLaW5k1BFftzymK3XoHiwqTxkx+jBeh4X5nYrCTUi73VquBn3MIvwhTOitZ5fsrE Px6Q== X-Received: by 10.60.134.230 with SMTP id pn6mr2355319oeb.52.1377540723474; Mon, 26 Aug 2013 11:12:03 -0700 (PDT) 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 Received: by 10.60.52.79 with HTTP; Mon, 26 Aug 2013 11:11:23 -0700 (PDT) In-Reply-To: <521B7F80.5000706@hadt.biz> References: <521B7F80.5000706@hadt.biz> From: Francisco Ares Date: Mon, 26 Aug 2013 15:11:23 -0300 Message-ID: Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot To: gentoo-user Content-Type: multipart/alternative; boundary=047d7b471e6a7c876d04e4ddb15a X-Archives-Salt: 1ec95dd7-6578-4387-8249-e45185d3cb11 X-Archives-Hash: 08061e5c31c7ebf42b694931f0b26aee --047d7b471e6a7c876d04e4ddb15a Content-Type: text/plain; charset=UTF-8 Hi, Michael, thanks for you reply. Please forgive me for not having mentioned grub2-mkconfig and grub2-install. The mentioned grub.cfg was a sample from a working system, with legacy grub:0, from which I have recovered parts of the kernel command line parameters. After "genkernel" finished to build the kernel, I've issued: grub2-mkconfig -o /boot/grub2/grub.cfg grub2-install /dev/sda Sorry for this. Francisco 2013/8/26 Michael Hampicke > Am 26.08.2013 17:41, schrieb Francisco Ares: > > Hi, > > > > 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. > > > > So I would really appreciate if someone could take a look at my > > configuration: > > > > - 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=natural_gentoo \ > > --splash-res=1024x768,1280x1024,1366x768,1440x900 \ > > --mountboot --install --unionfs --real-root=/dev/sda5 \ > > --ramdisk-modules --postclear > > - kernel built with: > > - CONFIG_FB_UVESA=y > > - CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs" > > - CONFIG_EXT4_FS=y > > - CONFIG_EXT4_FS_POSIX_ACL=y > > - CONFIG_EXT4_FS_SECURITY=y > > - grub2 defaults (/etc/defaults/grub2) only difference from original: > > GRUB_CMDLINE_LINUX="init=/linuxrc real_root=/dev/sda5 > > video=uvesafb,mtrr:3,ywrap splash=silent,fadein,theme:natural_gentoo > > nodevfs udev devfs=nomount CONSOLE=/dev/tty1 quiet" > > > > - sample extract from grub:0 config file, used in a working (a bit older) > > system: > > title=Gentoo Linux (3.8.13-gentoo) > > root (hd0,1) > > kernel /boot/kernel-genkernel-x86_64-3.8.13-gentoo ro root=/dev/ram0 > \ > > init=/linuxrc real_root=/dev/sda4 vga=791 > > splash=silent,theme:natural_gentoo \ > > console=tty1 verbose nodevfs udev devfs=nomount CONSOLE=/dev/tty1 > > quiet > > initrd /boot/initramfs-genkernel-x86_64-3.8.13-gentoo > > > > > > Now the boot stops showing the messages (after the Tux logos appeared): > > > > 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 > > > > > > The last line explains the ones preceding it. > > > > Any hints on where to look at? > > > > Thanks > > Francisco > > > > 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. > > --047d7b471e6a7c876d04e4ddb15a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Michael, thanks for you reply.

= Please forgive me for not having mentioned grub2-mkconfig and grub2-install= . The mentioned grub.cfg was a sample from a working system, with legacy gr= ub:0, from which I have recovered parts of the kernel command line paramete= rs.

After "genkernel" finished to build the kernel, I&= #39;ve issued:

grub2-mkconfig -o /boot/grub2/grub.cfg
=
grub2-install /dev/sda

Sorry for this.
Francisco



2013/8/26 Michael Hampicke <mh@hadt.biz>
Am 26.08.2013 17:41, schrieb Francisco Ares:
> Hi,
>
> After a few solved problems, I am still unable to completely boot usin= g
> grub:2, and now I just can't find anything else to fiddle with. >
> So I would really appreciate if someone could take a look at my
> configuration:
>
> - system is amd64;
> - hard disk partitioning:
> =C2=A0 - two first primary partitions, unused (for now);
> =C2=A0 - third (/dev/sda3) is /boot partition, kernel built and in pla= ce;
> =C2=A0 - extended partition as fourth partition;
> =C2=A0 - logical partition (/dev/sda5) is "/" linux partitio= n, ext4 formated;
> - emerged =C2=A0the following, before building kernel;
> =C2=A0 - genkernel ;
> =C2=A0 - media-gfx/splashutils-1.5.4.4-r1;
> =C2=A0 - media-gfx/splash-themes-gentoo-20101212-r1 ;
> =C2=A0 - sys-apps/v86d-0.1.10;
> - genkernel command line:
> =C2=A0 =C2=A0 genkernel all \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 --color --menuconfig --splash=3Dnatural_ge= ntoo \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 --splash-res=3D1024x768,1280x1024,1366x768= ,1440x900 \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 --mountboot --install =C2=A0--unionfs --re= al-root=3D/dev/sda5 \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 --ramdisk-modules --postclear
> - kernel built with:
> =C2=A0 - CONFIG_FB_UVESA=3Dy
> =C2=A0 - CONFIG_INITRAMFS_SOURCE=3D"/usr/share/v86d/initramfs&quo= t;
> =C2=A0 - CONFIG_EXT4_FS=3Dy
> =C2=A0 - CONFIG_EXT4_FS_POSIX_ACL=3Dy
> =C2=A0 - CONFIG_EXT4_FS_SECURITY=3Dy
> - grub2 defaults (/etc/defaults/grub2) only difference from original:<= br> > =C2=A0 GRUB_CMDLINE_LINUX=3D"init=3D/linuxrc real_root=3D/dev/sda= 5
> video=3Duvesafb,mtrr:3,ywrap splash=3Dsilent,fadein,theme:natural_gent= oo
> nodevfs udev devfs=3Dnomount CONSOLE=3D/dev/tty1 quiet"
>
> - sample extract from grub:0 config file, used in a working (a bit old= er)
> system:
> =C2=A0 =C2=A0 title=3DGentoo Linux (3.8.13-gentoo)
> =C2=A0 =C2=A0 root (hd0,1)
> =C2=A0 =C2=A0 kernel /boot/kernel-genkernel-x86_64-3.8.13-gentoo ro ro= ot=3D/dev/ram0 \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 init=3D/linuxrc real_root=3D/dev/sda4 vga= =3D791
> splash=3Dsilent,theme:natural_gentoo \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 console=3Dtty1 verbose nodevfs udev devfs= =3Dnomount CONSOLE=3D/dev/tty1
> quiet
> =C2=A0 =C2=A0 initrd /boot/initramfs-genkernel-x86_64-3.8.13-gentoo >
>
> Now the boot stops showing the messages (after the Tux logos appeared)= :
>
> 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
>
>
> The last line explains the ones preceding it.
>
> Any hints on where to look at?
>
> Thanks
> Francisco
>

Have you tried generating a grub2 config file via grub2-mkconfi= g. 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 t= o
be, but I suspect your customized grub2 cfg.


--047d7b471e6a7c876d04e4ddb15a--