[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub2-mkconfig with root on rootfs
From: |
Andrey Borzenkov |
Subject: |
Re: grub2-mkconfig with root on rootfs |
Date: |
Tue, 1 Oct 2013 17:18:10 +0400 |
On Tue, Oct 1, 2013 at 3:41 PM, Peter Volkov <address@hidden> wrote:
> В Вт, 01/10/2013 в 10:59 +0400, Andrey Borzenkov пишет:
>> On Tue, Oct 1, 2013 at 1:51 AM, Peter Volkov <address@hidden> 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.
- grub2-mkconfig with root on rootfs, Peter Volkov, 2013/10/01
- Re: grub2-mkconfig with root on rootfs, Andrey Borzenkov, 2013/10/01
- Re: grub2-mkconfig with root on rootfs, Peter Volkov, 2013/10/01
- Re: grub2-mkconfig with root on rootfs, Y, 2013/10/01
- Re: grub2-mkconfig with root on rootfs,
Andrey Borzenkov <=
- Re: grub2-mkconfig with root on rootfs, Peter Volkov, 2013/10/01
- Re: grub2-mkconfig with root on rootfs, Andrey Borzenkov, 2013/10/01
- Re: grub2-mkconfig with root on rootfs, Peter Volkov, 2013/10/09
- Re: grub2-mkconfig with root on rootfs, Andrey Borzenkov, 2013/10/12
- Re: grub2-mkconfig with root on rootfs, Jordan Uggla, 2013/10/12
- Re: grub2-mkconfig with root on rootfs, Peter Volkov, 2013/10/12