update grub2

Michael Schwendt mschwendt at gmail.com
Sun May 18 20:23:31 UTC 2014


On Sun, 18 May 2014 21:42:16 +0200, Patrick Dupre wrote:

> OK,
> 
> Thank you.
> 
> I understand the mistake:
> in /etc/fstab, there is
> /dev/mapper/VolGrpSys_DK0-root /                       ext4    defaults        1 1
> instead of:
> /dev/mapper/VolGrpSys_DK1-root /                       ext4    defaults        1 1
> However,
> mount gives:
> /dev/mapper/VolGrpSys_DK1-root on / type ext4 (rw,relatime,seclabel,stripe=2,data=ordered)
> 
> How is it possible?
> Is / mounted before the reading of /etc/fstab (ie from grub2)?
> And then because / is already mounted, it cannot be mounted again, then
> why mount / in fstab then?
> 
> I am missing something.

You've skipped looking at /proc/cmdline (which would also tell the root=
kernel parameter used at boot-time).

As a trouble-shooting step, what happens if you enter GRUB2 boot menu
and change the root= parameter before booting?


More information about the users mailing list