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 <m...@hadt.biz>

> 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.
>
>

Reply via email to