[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub does not recognize lvm physical volume by uuid after restart



On 20140322_172754, André Nunes Batista wrote:
> Hello dear debian users!
> 
> Recently, one jessie notebook I administer went through a forceful
> shutdown (holding down the power button) and after that grub cannot see
> the lvm physical volume by uuid. After trying to load the volume for
> some seconds, it gives the following message and drops to a minimal
> initramfs shell:
> 
> Gave up waiting for root device. Common problems:
> - Boot args
>  - check rootdelay=(long enough?)
>  - check root=(right device?)
> - Missing modules
> ALERT! /dev/disk/by-uuid/090f9d09g0f9g-xx-xxxxxx does not exist.
> Dropping to a shell
> 
> Using this minimal shell I'm able to go to this path and it actually
> does not contain any reference to this physical volume. Also,
> on /dev/mapper/ there is no reference to the root and home logical
> volumes, but there is a reference to the swap logical volume.
> 
> Using a live distribution I had no problem mounting this volume and
> accessing its contents, so no real damage, but I would be glad on some
> pointers on how to make grub recognize it again. I've tried booting
> "by-id" and old school "/dev/sdaX" directly but had no luck.
> 
> It was once installed using the default guided lvm partition from debian
> installer.
> 
> TIA
>  

If lvm was installed by debian-installer, grub should be looking for
a separate physical partition for /boot , not something within lvm purview.
Of course / is within lvm, but /boot is not. Look at /etc/fstab to see
what I talking about. Use supergrub2 disk to reinstall grub2. 

HTH




> -- 
> André N. Batista
> GNUPG/PGP KEY: 6722CF80
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 1395520074.21009.26.camel@tagesuhu-pc">https://lists.debian.org/[🔎] 1395520074.21009.26.camel@tagesuhu-pc
> 

-- 
Paul E Condon           
pecondon@mesanetworks.net


Reply to: