On Tue, Oct 1, 2013 at 3:41 PM, Peter Volkov <p...@gentoo.org> wrote: > В Вт, 01/10/2013 в 10:59 +0400, Andrey Borzenkov пишет: >> On Tue, Oct 1, 2013 at 1:51 AM, Peter Volkov <p...@gentoo.org> wrote: >> > We are using may be strange but rather convenient scheme of booting >> > linux where real system root is all inside initramfs (/init is symlink >> > to /sbin/init). Everything works fine but grub2-mkconfig that ends out >> > the error: >> > >> > /usr/sbin/grub2-probe: error: failed to get canonical path of `rootfs'. >> > >> > Sure with root on rootfs this grub2-probe is not supposed to work. >> > >> > # mount | grep ' / ' >> > rootfs on / type rootfs (rw) >> >> Could you show full /proc/mounts (or even better, /proc/self/mountinfo)? > > Yup, here is /proc/self/mountinfo: > 1 1 0:1 / / rw - rootfs rootfs rw
OK so do I understand it correctly - you are running purely from initramfs and do not have any additional filesystems? On which device do you install grub? Where is your /boot/grub located? Please show full command line and its output used to install grub. _______________________________________________ Help-grub mailing list Help-grub@gnu.org https://lists.gnu.org/mailman/listinfo/help-grub