update grub2

Patrick Dupre pdupre at gmx.com
Sun May 18 20:30:46 UTC 2014



> ----- Original Message -----
> From: Michael Schwendt
> Sent: 05/18/14 10:23 PM
> To: users at lists.fedoraproject.org
> Subject: Re: update grub2
> 
> 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).
It is correct:
BOOT_IMAGE=/vmlinuz-3.14.3-200.fc20.x86_64 root=/dev/mapper/VolGrpSys_DK1-root ro rd.md=0 rd.dm=0 rd.lvm.lv=VolGrpSys_DK1/root vconsole.keymap=fr rd.luks=0
> 
> As a trouble-shooting step, what happens if you enter GRUB2 boot menu
> and change the root= parameter before booting?
Of course it works, it is what I have to do when the grub.cfg in incoreect.


Could please tell me how this possible (my previous question)?

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


More information about the users mailing list