Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] grub2 or kernel config - unable to properly boot
Date: Mon, 26 Aug 2013 15:42:47
Message-Id: CAHH9eM4gY1zeTdUQy=HBgpjay13c-w1yhQmeDzeemjWt1hWWtQ@mail.gmail.com
1 Hi,
2
3 After a few solved problems, I am still unable to completely boot using
4 grub:2, and now I just can't find anything else to fiddle with.
5
6 So I would really appreciate if someone could take a look at my
7 configuration:
8
9 - system is amd64;
10 - hard disk partitioning:
11 - two first primary partitions, unused (for now);
12 - third (/dev/sda3) is /boot partition, kernel built and in place;
13 - extended partition as fourth partition;
14 - logical partition (/dev/sda5) is "/" linux partition, ext4 formated;
15 - emerged the following, before building kernel;
16 - genkernel ;
17 - media-gfx/splashutils-1.5.4.4-r1;
18 - media-gfx/splash-themes-gentoo-20101212-r1 ;
19 - sys-apps/v86d-0.1.10;
20 - genkernel command line:
21 genkernel all \
22 --color --menuconfig --splash=natural_gentoo \
23 --splash-res=1024x768,1280x1024,1366x768,1440x900 \
24 --mountboot --install --unionfs --real-root=/dev/sda5 \
25 --ramdisk-modules --postclear
26 - kernel built with:
27 - CONFIG_FB_UVESA=y
28 - CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs"
29 - CONFIG_EXT4_FS=y
30 - CONFIG_EXT4_FS_POSIX_ACL=y
31 - CONFIG_EXT4_FS_SECURITY=y
32 - grub2 defaults (/etc/defaults/grub2) only difference from original:
33 GRUB_CMDLINE_LINUX="init=/linuxrc real_root=/dev/sda5
34 video=uvesafb,mtrr:3,ywrap splash=silent,fadein,theme:natural_gentoo
35 nodevfs udev devfs=nomount CONSOLE=/dev/tty1 quiet"
36
37 - sample extract from grub:0 config file, used in a working (a bit older)
38 system:
39 title=Gentoo Linux (3.8.13-gentoo)
40 root (hd0,1)
41 kernel /boot/kernel-genkernel-x86_64-3.8.13-gentoo ro root=/dev/ram0 \
42 init=/linuxrc real_root=/dev/sda4 vga=791
43 splash=silent,theme:natural_gentoo \
44 console=tty1 verbose nodevfs udev devfs=nomount CONSOLE=/dev/tty1
45 quiet
46 initrd /boot/initramfs-genkernel-x86_64-3.8.13-gentoo
47
48
49 Now the boot stops showing the messages (after the Tux logos appeared):
50
51 Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg
52 No verbose picture specified in the theme
53 No silent picture specified in the theme
54 No verbose picture specified in the theme
55 Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg
56 No verbose picture specified in the theme
57 No silent picture specified in the theme
58 !! Block device /dev/sda5 is not a valid root device
59
60
61 The last line explains the ones preceding it.
62
63 Any hints on where to look at?
64
65 Thanks
66 Francisco

Replies

Subject Author
Re: [gentoo-user] grub2 or kernel config - unable to properly boot Michael Hampicke <mh@××××.biz>