2013/8/27 Francisco Ares <frares@gmail.com>
2013/8/27 Francisco Ares <frares@gmail.com>2013/8/27 Michael Hampicke <mh@hadt.biz>Am 26.08.2013 20:11, schrieb Francisco Ares:
> Hi, Michael, thanks for you reply.On a failed boot, can you reach the rescue system from the initramfs?
>
> 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
(The message is something like "enter password for rescue or ctrl+d) If
so, are you able mount your actual root partiton (sda5) manually?
No, unfortunately. But I am able to use the grub console prior to boot.By doing so, I have listed the command about to be used to boot the first entry in the grub menu, it installs some modules. In regard of file systems, it only loads a ext2 module, and the root partition is ext4 formated.
Although this kernel has ext2, ext3 and ext4 built in (not modules), can this be a cue? Right now I am preparing to format the root partition as ext2, just to check this out.Thanks againFranciscoIt didn't work, so I suppose the embedded ext2, ext3 and ext4 in the kernel is not the issue, and might be working. Going to explore the grub console now.
ThanksFranciscoIn the grub console, prior to boot, I was able to mount any partition using commands like:root=(hd0,msdos5)
and then listing the directory tree structure with " ls / " gave the expected results.Francisco