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