Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] grub2 or kernel config - unable to properly boot Francisco Ares <frares@×××××.com>