help-grub
[Top][All Lists]
Advanced

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

Re: lmvid not found


From: Andrei Borzenkov
Subject: Re: lmvid not found
Date: Wed, 27 Mar 2024 14:00:11 +0300

On Wed, Mar 27, 2024 at 1:26 PM Eduardo Suarez <esuarez@itccanarias.org> wrote:
>
> On Tue, Mar 26, 2024 at 08:45:33PM +0300, Andrei Borzenkov wrote:
> > You do not show the error in this case so it is entirely unclear and
> > useless. But to search for UUID grub image must include the correct
> > filesystem driver (you did not show filesystem type).
> >
>
> My setup with filesystems:
>
> sda
> ├─sda1              95,4M  part  /boot/efi (vfat)
> ├─sda2                 4M  part  BIOS boot partition
> ├─sda3             166,7G  part
> │ ├─vgssd-slash       35G  lvm   / (ext4)
> │ ├─vgssd-var      116,7G  lvm   /var (ext4)
> │ └─vgssd-usrlocal    15G  lvm   /usr/local (ext4)
> ├─sda4                 2G  part  [SWAP]
> └─sda5              54,8G  part  (not important)
> sdb... (data, not important)
>
> > Start with the very first one
> >
> > grub-install --verbose --target=x86_64-efi
> >
>
> I have booted via UEFI a SystemRescueCD USB, arch-chroot'ed my environment and
> I have run:
>
> # grub-install --verbose --target=x86_64-efi
>
> Output: https://dpaste.com/CGW4D4H4T
>

This looks good

grub-install: info: grub-mkimage --directory
'/usr/x86_64-pc-linux-gnu/lib/grub/x86_64-efi' --prefix
'(lvmid/yc9Fs5-O5HD-YCPt-NzoL-fu6w-TZtk-H1isYX/fPvBb7-yt4l-JksX-uVEM-8ldU-gnIY-rF8WbQ)/boot/grub'
--output '/boot/grub/x86_64-efi/core.efi' --format 'x86_64-efi'
--compression 'auto' 'ext2' 'part_gpt' 'lvm'
...
grub-install: info: reading
/usr/x86_64-pc-linux-gnu/lib/grub/x86_64-efi/fshelp.mod.
grub-install: info: reading
/usr/x86_64-pc-linux-gnu/lib/grub/x86_64-efi/ext2.mod.
grub-install: info: reading
/usr/x86_64-pc-linux-gnu/lib/grub/x86_64-efi/part_gpt.mod.
grub-install: info: reading
/usr/x86_64-pc-linux-gnu/lib/grub/x86_64-efi/diskfilter.mod.
grub-install: info: reading
/usr/x86_64-pc-linux-gnu/lib/grub/x86_64-efi/lvm.mod.
...

grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' ->
`/boot/efi/EFI/sample/grubx64.efi'.
grub-install: info: Registering with EFI: distributor = `sample', path
= `\EFI\sample\grubx64.efi', ESP at hostdisk//dev/sda,gpt1.



> And then when I boot I get the following error:
>
> error: disk `lvmid/yc9Fs5-...(long string)...-rF8WbQ' not found.
> Entering rescue mode...
> grub rescue> ls
> (hd0) (hd1)
> grub rescue>
>

Show

efibootmgr -v
hexdump -C -n 512 /dev/sda
hexdump -C -n 512 /dev/sdb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]