Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2-install: error: disk `lvm/_dev_sdb' not found.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Tue Aug 30, 2016 12:35 pm    Post subject: grub2-install: error: disk `lvm/_dev_sdb' not found. Reply with quote

Hi,

on sysrescuecd I try to install grub but it fails:
Code:
# grub2-install /dev/sdd
Installing for i386-pc platform.
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  Volume group "_dev_sdb" not found
  Cannot process volume group _dev_sdb
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  Volume group "_dev_sdb" not found
  Cannot process volume group _dev_sdb
grub2-install: error: disk `lvm/_dev_sdb' not found.

This is a SD card, but I also tried to install grub on the /dev/sdb where the new LUKS with btrfs with root subvolume and more is located. This was failing with the same error.

This was done from inside the functional Gentoo chroot, as described in the handbooks. I also tried from outside the chroot:
Code:
 # exit
root@sysresccd /root % grub2-install /dev/sdd     
Installing for i386-pc platform.
grub2-install: error: failed to get canonical path of `none'.

This is the mount situation of the live system:
Code:
% mount
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=1016305,mode=755)
/dev/sr0 on /livemnt/boot type iso9660 (ro,relatime,mode=0644)
/dev/loop0 on /livemnt/squashfs type squashfs (ro,relatime)
tmpfs on /livemnt/memory type tmpfs (rw,relatime)
none on / type aufs (rw,noatime,si=3995319a088e4d6)
tmpfs on /livemnt/tftpmem type tmpfs (rw,relatime,size=524288k)
none on /tftpboot type aufs (rw,relatime,si=3995319a08894d6)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nodev,relatime,size=815744k,mode=755)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sdd1 on /mnt/sd type ext4 (rw,relatime,data=ordered)
/dev/mapper/_dev_sdb on /mnt/gentoo type btrfs (rw,relatime,compress=lzo,space_cache,subvolid=259,subvol=/root)
proc on /mnt/gentoo/proc type proc (rw,relatime)
sysfs on /mnt/gentoo/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /mnt/gentoo/sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /mnt/gentoo/sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /mnt/gentoo/sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /mnt/gentoo/sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
udev on /mnt/gentoo/dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=1016305,mode=755)
mqueue on /mnt/gentoo/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /mnt/gentoo/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /mnt/gentoo/dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Wed Sep 07, 2016 8:51 am    Post subject: Reply with quote

Someone likes to help an almost 18 years of Gentoo user to install a Gentoo? Bless the rolling distribution I did not install a Gentoo for years :)
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Wed Sep 07, 2016 2:06 pm    Post subject: Reply with quote

Code:

# grub2-install -vvv /dev/sdd
grub2-install: info: executing modprobe efivars 2>/dev/null.
grub2-install: info: Looking for /sys/firmware/efi ...
grub2-install: info: ... not found. Looking for /proc/device-tree ...
grub2-install: info: ... not found.
Installing for i386-pc platform.
grub2-install: info: Cannot stat `/dev/fd0', skipping.
grub2-install: info: adding `hd0' -> `/dev/sda' from device.map.
grub2-install: info: adding `hd1' -> `/dev/sdb' from device.map.
grub2-install: info: adding `hd2' -> `/dev/sdc' from device.map.
grub2-install: info: adding `hd3' -> `/dev/sdd' from device.map.
grub2-install: info: adding `hd4' -> `/dev/sde' from device.map.
grub2-install: info: copying `/usr/lib/grub/i386-pc/disk.mod' -> `/boot/grub/i386-pc/disk.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/trig.mod' -> `/boot/grub/i386-pc/trig.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cs5536.mod' -> `/boot/grub/i386-pc/cs5536.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usb.mod' -> `/boot/grub/i386-pc/usb.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usbserial_common.mod' -> `/boot/grub/i386-pc/usbserial_common.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usbserial_pl2303.mod' -> `/boot/grub/i386-pc/usbserial_pl2303.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usbserial_ftdi.mod' -> `/boot/grub/i386-pc/usbserial_ftdi.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usbserial_usbdebug.mod' -> `/boot/grub/i386-pc/usbserial_usbdebug.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/uhci.mod' -> `/boot/grub/i386-pc/uhci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ohci.mod' -> `/boot/grub/i386-pc/ohci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ehci.mod' -> `/boot/grub/i386-pc/ehci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pci.mod' -> `/boot/grub/i386-pc/pci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/nativedisk.mod' -> `/boot/grub/i386-pc/nativedisk.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cmostest.mod' -> `/boot/grub/i386-pc/cmostest.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cmosdump.mod' -> `/boot/grub/i386-pc/cmosdump.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/iorw.mod' -> `/boot/grub/i386-pc/iorw.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cbtable.mod' -> `/boot/grub/i386-pc/cbtable.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cbtime.mod' -> `/boot/grub/i386-pc/cbtime.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cbls.mod' -> `/boot/grub/i386-pc/cbls.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cbmemc.mod' -> `/boot/grub/i386-pc/cbmemc.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/regexp.mod' -> `/boot/grub/i386-pc/regexp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/acpi.mod' -> `/boot/grub/i386-pc/acpi.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/lsacpi.mod' -> `/boot/grub/i386-pc/lsacpi.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/blocklist.mod' -> `/boot/grub/i386-pc/blocklist.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/boot.mod' -> `/boot/grub/i386-pc/boot.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cat.mod' -> `/boot/grub/i386-pc/cat.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cmp.mod' -> `/boot/grub/i386-pc/cmp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/configfile.mod' -> `/boot/grub/i386-pc/configfile.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cpuid.mod' -> `/boot/grub/i386-pc/cpuid.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/date.mod' -> `/boot/grub/i386-pc/date.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/drivemap.mod' -> `/boot/grub/i386-pc/drivemap.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/echo.mod' -> `/boot/grub/i386-pc/echo.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/eval.mod' -> `/boot/grub/i386-pc/eval.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/extcmd.mod' -> `/boot/grub/i386-pc/extcmd.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gptsync.mod' -> `/boot/grub/i386-pc/gptsync.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/halt.mod' -> `/boot/grub/i386-pc/halt.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/reboot.mod' -> `/boot/grub/i386-pc/reboot.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hashsum.mod' -> `/boot/grub/i386-pc/hashsum.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/verify.mod' -> `/boot/grub/i386-pc/verify.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hdparm.mod' -> `/boot/grub/i386-pc/hdparm.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/help.mod' -> `/boot/grub/i386-pc/help.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hexdump.mod' -> `/boot/grub/i386-pc/hexdump.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/keystatus.mod' -> `/boot/grub/i386-pc/keystatus.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/loadenv.mod' -> `/boot/grub/i386-pc/loadenv.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ls.mod' -> `/boot/grub/i386-pc/ls.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/lsmmap.mod' -> `/boot/grub/i386-pc/lsmmap.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/lspci.mod' -> `/boot/grub/i386-pc/lspci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/memrw.mod' -> `/boot/grub/i386-pc/memrw.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minicmd.mod' -> `/boot/grub/i386-pc/minicmd.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/parttool.mod' -> `/boot/grub/i386-pc/parttool.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/password.mod' -> `/boot/grub/i386-pc/password.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/password_pbkdf2.mod' -> `/boot/grub/i386-pc/password_pbkdf2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/play.mod' -> `/boot/grub/i386-pc/play.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/spkmodem.mod' -> `/boot/grub/i386-pc/spkmodem.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/morse.mod' -> `/boot/grub/i386-pc/morse.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/probe.mod' -> `/boot/grub/i386-pc/probe.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/read.mod' -> `/boot/grub/i386-pc/read.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/search.mod' -> `/boot/grub/i386-pc/search.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/search_fs_file.mod' -> `/boot/grub/i386-pc/search_fs_file.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/search_fs_uuid.mod' -> `/boot/grub/i386-pc/search_fs_uuid.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/search_label.mod' -> `/boot/grub/i386-pc/search_label.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/setpci.mod' -> `/boot/grub/i386-pc/setpci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pcidump.mod' -> `/boot/grub/i386-pc/pcidump.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/sleep.mod' -> `/boot/grub/i386-pc/sleep.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/terminal.mod' -> `/boot/grub/i386-pc/terminal.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/test.mod' -> `/boot/grub/i386-pc/test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/true.mod' -> `/boot/grub/i386-pc/true.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usbtest.mod' -> `/boot/grub/i386-pc/usbtest.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/videoinfo.mod' -> `/boot/grub/i386-pc/videoinfo.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/videotest.mod' -> `/boot/grub/i386-pc/videotest.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/xnu_uuid.mod' -> `/boot/grub/i386-pc/xnu_uuid.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/dm_nv.mod' -> `/boot/grub/i386-pc/dm_nv.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/loopback.mod' -> `/boot/grub/i386-pc/loopback.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cryptodisk.mod' -> `/boot/grub/i386-pc/cryptodisk.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/luks.mod' -> `/boot/grub/i386-pc/luks.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/geli.mod' -> `/boot/grub/i386-pc/geli.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/lvm.mod' -> `/boot/grub/i386-pc/lvm.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ldm.mod' -> `/boot/grub/i386-pc/ldm.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mdraid09.mod' -> `/boot/grub/i386-pc/mdraid09.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mdraid09_be.mod' -> `/boot/grub/i386-pc/mdraid09_be.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mdraid1x.mod' -> `/boot/grub/i386-pc/mdraid1x.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/diskfilter.mod' -> `/boot/grub/i386-pc/diskfilter.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/raid5rec.mod' -> `/boot/grub/i386-pc/raid5rec.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/raid6rec.mod' -> `/boot/grub/i386-pc/raid6rec.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/scsi.mod' -> `/boot/grub/i386-pc/scsi.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/memdisk.mod' -> `/boot/grub/i386-pc/memdisk.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ata.mod' -> `/boot/grub/i386-pc/ata.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ahci.mod' -> `/boot/grub/i386-pc/ahci.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pata.mod' -> `/boot/grub/i386-pc/pata.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/biosdisk.mod' -> `/boot/grub/i386-pc/biosdisk.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usbms.mod' -> `/boot/grub/i386-pc/usbms.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/efiemu.mod' -> `/boot/grub/i386-pc/efiemu.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/font.mod' -> `/boot/grub/i386-pc/font.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/procfs.mod' -> `/boot/grub/i386-pc/procfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/affs.mod' -> `/boot/grub/i386-pc/affs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/afs.mod' -> `/boot/grub/i386-pc/afs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/bfs.mod' -> `/boot/grub/i386-pc/bfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/btrfs.mod' -> `/boot/grub/i386-pc/btrfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/archelp.mod' -> `/boot/grub/i386-pc/archelp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cbfs.mod' -> `/boot/grub/i386-pc/cbfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cpio.mod' -> `/boot/grub/i386-pc/cpio.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cpio_be.mod' -> `/boot/grub/i386-pc/cpio_be.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/newc.mod' -> `/boot/grub/i386-pc/newc.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/odc.mod' -> `/boot/grub/i386-pc/odc.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ext2.mod' -> `/boot/grub/i386-pc/ext2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/fat.mod' -> `/boot/grub/i386-pc/fat.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/exfat.mod' -> `/boot/grub/i386-pc/exfat.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/fshelp.mod' -> `/boot/grub/i386-pc/fshelp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hfs.mod' -> `/boot/grub/i386-pc/hfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hfsplus.mod' -> `/boot/grub/i386-pc/hfsplus.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hfspluscomp.mod' -> `/boot/grub/i386-pc/hfspluscomp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/iso9660.mod' -> `/boot/grub/i386-pc/iso9660.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/jfs.mod' -> `/boot/grub/i386-pc/jfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minix.mod' -> `/boot/grub/i386-pc/minix.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minix2.mod' -> `/boot/grub/i386-pc/minix2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minix3.mod' -> `/boot/grub/i386-pc/minix3.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minix_be.mod' -> `/boot/grub/i386-pc/minix_be.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minix2_be.mod' -> `/boot/grub/i386-pc/minix2_be.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/minix3_be.mod' -> `/boot/grub/i386-pc/minix3_be.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/nilfs2.mod' -> `/boot/grub/i386-pc/nilfs2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ntfs.mod' -> `/boot/grub/i386-pc/ntfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ntfscomp.mod' -> `/boot/grub/i386-pc/ntfscomp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/reiserfs.mod' -> `/boot/grub/i386-pc/reiserfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/romfs.mod' -> `/boot/grub/i386-pc/romfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/sfs.mod' -> `/boot/grub/i386-pc/sfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/squash4.mod' -> `/boot/grub/i386-pc/squash4.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/tar.mod' -> `/boot/grub/i386-pc/tar.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/udf.mod' -> `/boot/grub/i386-pc/udf.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ufs1.mod' -> `/boot/grub/i386-pc/ufs1.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ufs1_be.mod' -> `/boot/grub/i386-pc/ufs1_be.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ufs2.mod' -> `/boot/grub/i386-pc/ufs2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/xfs.mod' -> `/boot/grub/i386-pc/xfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/zfs.mod' -> `/boot/grub/i386-pc/zfs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/zfscrypt.mod' -> `/boot/grub/i386-pc/zfscrypt.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/zfsinfo.mod' -> `/boot/grub/i386-pc/zfsinfo.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/macbless.mod' -> `/boot/grub/i386-pc/macbless.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pxe.mod' -> `/boot/grub/i386-pc/pxe.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gettext.mod' -> `/boot/grub/i386-pc/gettext.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gfxmenu.mod' -> `/boot/grub/i386-pc/gfxmenu.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/hello.mod' -> `/boot/grub/i386-pc/hello.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gzio.mod' -> `/boot/grub/i386-pc/gzio.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/offsetio.mod' -> `/boot/grub/i386-pc/offsetio.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/bufio.mod' -> `/boot/grub/i386-pc/bufio.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/elf.mod' -> `/boot/grub/i386-pc/elf.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/crypto.mod' -> `/boot/grub/i386-pc/crypto.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pbkdf2.mod' -> `/boot/grub/i386-pc/pbkdf2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/relocator.mod' -> `/boot/grub/i386-pc/relocator.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/datetime.mod' -> `/boot/grub/i386-pc/datetime.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/setjmp.mod' -> `/boot/grub/i386-pc/setjmp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/aout.mod' -> `/boot/grub/i386-pc/aout.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/bsd.mod' -> `/boot/grub/i386-pc/bsd.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/plan9.mod' -> `/boot/grub/i386-pc/plan9.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/linux16.mod' -> `/boot/grub/i386-pc/linux16.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ntldr.mod' -> `/boot/grub/i386-pc/ntldr.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/truecrypt.mod' -> `/boot/grub/i386-pc/truecrypt.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/freedos.mod' -> `/boot/grub/i386-pc/freedos.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pxechain.mod' -> `/boot/grub/i386-pc/pxechain.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/multiboot2.mod' -> `/boot/grub/i386-pc/multiboot2.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/multiboot.mod' -> `/boot/grub/i386-pc/multiboot.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/linux.mod' -> `/boot/grub/i386-pc/linux.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/xnu.mod' -> `/boot/grub/i386-pc/xnu.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/random.mod' -> `/boot/grub/i386-pc/random.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/macho.mod' -> `/boot/grub/i386-pc/macho.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/chain.mod' -> `/boot/grub/i386-pc/chain.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mmap.mod' -> `/boot/grub/i386-pc/mmap.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/normal.mod' -> `/boot/grub/i386-pc/normal.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_acorn.mod' -> `/boot/grub/i386-pc/part_acorn.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_amiga.mod' -> `/boot/grub/i386-pc/part_amiga.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_apple.mod' -> `/boot/grub/i386-pc/part_apple.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_gpt.mod' -> `/boot/grub/i386-pc/part_gpt.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_msdos.mod' -> `/boot/grub/i386-pc/part_msdos.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_sun.mod' -> `/boot/grub/i386-pc/part_sun.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_plan.mod' -> `/boot/grub/i386-pc/part_plan.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_dvh.mod' -> `/boot/grub/i386-pc/part_dvh.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_bsd.mod' -> `/boot/grub/i386-pc/part_bsd.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_sunpc.mod' -> `/boot/grub/i386-pc/part_sunpc.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/part_dfly.mod' -> `/boot/grub/i386-pc/part_dfly.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/msdospart.mod' -> `/boot/grub/i386-pc/msdospart.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/at_keyboard.mod' -> `/boot/grub/i386-pc/at_keyboard.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gfxterm.mod' -> `/boot/grub/i386-pc/gfxterm.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gfxterm_background.mod' -> `/boot/grub/i386-pc/gfxterm_background.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/serial.mod' -> `/boot/grub/i386-pc/serial.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/sendkey.mod' -> `/boot/grub/i386-pc/sendkey.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/terminfo.mod' -> `/boot/grub/i386-pc/terminfo.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/usb_keyboard.mod' -> `/boot/grub/i386-pc/usb_keyboard.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/vga.mod' -> `/boot/grub/i386-pc/vga.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/vga_text.mod' -> `/boot/grub/i386-pc/vga_text.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mda_text.mod' -> `/boot/grub/i386-pc/mda_text.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/video_cirrus.mod' -> `/boot/grub/i386-pc/video_cirrus.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/video_bochs.mod' -> `/boot/grub/i386-pc/video_bochs.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/functional_test.mod' -> `/boot/grub/i386-pc/functional_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/exfctest.mod' -> `/boot/grub/i386-pc/exfctest.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/setjmp_test.mod' -> `/boot/grub/i386-pc/setjmp_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/signature_test.mod' -> `/boot/grub/i386-pc/signature_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/sleep_test.mod' -> `/boot/grub/i386-pc/sleep_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/xnu_uuid_test.mod' -> `/boot/grub/i386-pc/xnu_uuid_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/pbkdf2_test.mod' -> `/boot/grub/i386-pc/pbkdf2_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/legacy_password_test.mod' -> `/boot/grub/i386-pc/legacy_password_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/div.mod' -> `/boot/grub/i386-pc/div.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/div_test.mod' -> `/boot/grub/i386-pc/div_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mul_test.mod' -> `/boot/grub/i386-pc/mul_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/shift_test.mod' -> `/boot/grub/i386-pc/shift_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cmp_test.mod' -> `/boot/grub/i386-pc/cmp_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/ctz_test.mod' -> `/boot/grub/i386-pc/ctz_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/bswap_test.mod' -> `/boot/grub/i386-pc/bswap_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/videotest_checksum.mod' -> `/boot/grub/i386-pc/videotest_checksum.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gfxterm_menu.mod' -> `/boot/grub/i386-pc/gfxterm_menu.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/cmdline_cat_test.mod' -> `/boot/grub/i386-pc/cmdline_cat_test.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/bitmap.mod' -> `/boot/grub/i386-pc/bitmap.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/bitmap_scale.mod' -> `/boot/grub/i386-pc/bitmap_scale.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/jpeg.mod' -> `/boot/grub/i386-pc/jpeg.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/png.mod' -> `/boot/grub/i386-pc/png.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/tga.mod' -> `/boot/grub/i386-pc/tga.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/vbe.mod' -> `/boot/grub/i386-pc/vbe.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/video_fb.mod' -> `/boot/grub/i386-pc/video_fb.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/video.mod' -> `/boot/grub/i386-pc/video.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/video_colors.mod' -> `/boot/grub/i386-pc/video_colors.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/datehook.mod' -> `/boot/grub/i386-pc/datehook.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/net.mod' -> `/boot/grub/i386-pc/net.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/tftp.mod' -> `/boot/grub/i386-pc/tftp.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/http.mod' -> `/boot/grub/i386-pc/http.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/legacycfg.mod' -> `/boot/grub/i386-pc/legacycfg.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/syslinuxcfg.mod' -> `/boot/grub/i386-pc/syslinuxcfg.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/test_blockarg.mod' -> `/boot/grub/i386-pc/test_blockarg.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/xzio.mod' -> `/boot/grub/i386-pc/xzio.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/lzopio.mod' -> `/boot/grub/i386-pc/lzopio.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/testload.mod' -> `/boot/grub/i386-pc/testload.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/backtrace.mod' -> `/boot/grub/i386-pc/backtrace.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/lsapm.mod' -> `/boot/grub/i386-pc/lsapm.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/keylayouts.mod' -> `/boot/grub/i386-pc/keylayouts.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/priority_queue.mod' -> `/boot/grub/i386-pc/priority_queue.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/time.mod' -> `/boot/grub/i386-pc/time.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/adler32.mod' -> `/boot/grub/i386-pc/adler32.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/crc64.mod' -> `/boot/grub/i386-pc/crc64.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/mpi.mod' -> `/boot/grub/i386-pc/mpi.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/all_video.mod' -> `/boot/grub/i386-pc/all_video.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gdb.mod' -> `/boot/grub/i386-pc/gdb.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/testspeed.mod' -> `/boot/grub/i386-pc/testspeed.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/tr.mod' -> `/boot/grub/i386-pc/tr.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/progress.mod' -> `/boot/grub/i386-pc/progress.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/file.mod' -> `/boot/grub/i386-pc/file.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_arcfour.mod' -> `/boot/grub/i386-pc/gcry_arcfour.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_blowfish.mod' -> `/boot/grub/i386-pc/gcry_blowfish.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_camellia.mod' -> `/boot/grub/i386-pc/gcry_camellia.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_cast5.mod' -> `/boot/grub/i386-pc/gcry_cast5.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_crc.mod' -> `/boot/grub/i386-pc/gcry_crc.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_des.mod' -> `/boot/grub/i386-pc/gcry_des.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_dsa.mod' -> `/boot/grub/i386-pc/gcry_dsa.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_idea.mod' -> `/boot/grub/i386-pc/gcry_idea.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_md4.mod' -> `/boot/grub/i386-pc/gcry_md4.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_md5.mod' -> `/boot/grub/i386-pc/gcry_md5.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_rfc2268.mod' -> `/boot/grub/i386-pc/gcry_rfc2268.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_rijndael.mod' -> `/boot/grub/i386-pc/gcry_rijndael.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_rmd160.mod' -> `/boot/grub/i386-pc/gcry_rmd160.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_rsa.mod' -> `/boot/grub/i386-pc/gcry_rsa.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_seed.mod' -> `/boot/grub/i386-pc/gcry_seed.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_serpent.mod' -> `/boot/grub/i386-pc/gcry_serpent.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_sha1.mod' -> `/boot/grub/i386-pc/gcry_sha1.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_sha256.mod' -> `/boot/grub/i386-pc/gcry_sha256.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_sha512.mod' -> `/boot/grub/i386-pc/gcry_sha512.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_tiger.mod' -> `/boot/grub/i386-pc/gcry_tiger.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_twofish.mod' -> `/boot/grub/i386-pc/gcry_twofish.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/gcry_whirlpool.mod' -> `/boot/grub/i386-pc/gcry_whirlpool.mod'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/efiemu32.o' -> `/boot/grub/i386-pc/efiemu32.o'.
grub2-install: info: cannot open `/usr/lib/grub/i386-pc/efiemu32.o': No such file or directory.
grub2-install: info: copying `/usr/lib/grub/i386-pc/efiemu64.o' -> `/boot/grub/i386-pc/efiemu64.o'.
grub2-install: info: cannot open `/usr/lib/grub/i386-pc/efiemu64.o': No such file or directory.
grub2-install: info: copying `/usr/lib/grub/i386-pc/moddep.lst' -> `/boot/grub/i386-pc/moddep.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/command.lst' -> `/boot/grub/i386-pc/command.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/fs.lst' -> `/boot/grub/i386-pc/fs.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/partmap.lst' -> `/boot/grub/i386-pc/partmap.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/parttool.lst' -> `/boot/grub/i386-pc/parttool.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/video.lst' -> `/boot/grub/i386-pc/video.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/crypto.lst' -> `/boot/grub/i386-pc/crypto.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/terminal.lst' -> `/boot/grub/i386-pc/terminal.lst'.
grub2-install: info: copying `/usr/lib/grub/i386-pc/modinfo.sh' -> `/boot/grub/i386-pc/modinfo.sh'.
grub2-install: info: copying `/usr/share/locale/hr/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/hr.mo'.
grub2-install: info: cannot open `/usr/share/locale/hr/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/eu/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/eu.mo'.
grub2-install: info: cannot open `/usr/share/locale/eu/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/eo/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/eo.mo'.
grub2-install: info: cannot open `/usr/share/locale/eo/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/et/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/et.mo'.
grub2-install: info: cannot open `/usr/share/locale/et/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/kf5_all_languages/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/kf5_all_languages.mo'.
grub2-install: info: cannot open `/usr/share/locale/kf5_all_languages/LC_MESSAGES/grub.mo': Not a directory.
grub2-install: info: copying `/usr/share/locale/pt_BR/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/pt_BR.mo'.
grub2-install: info: cannot open `/usr/share/locale/pt_BR/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/locale.alias/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/locale.alias.mo'.
grub2-install: info: cannot open `/usr/share/locale/locale.alias/LC_MESSAGES/grub.mo': Not a directory.
grub2-install: info: copying `/usr/share/locale/cs/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/cs.mo'.
grub2-install: info: cannot open `/usr/share/locale/cs/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/da/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/da.mo'.
grub2-install: info: cannot open `/usr/share/locale/da/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/el/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/el.mo'.
grub2-install: info: cannot open `/usr/share/locale/el/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/es/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/es.mo'.
grub2-install: info: cannot open `/usr/share/locale/es/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/fi/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/fi.mo'.
grub2-install: info: cannot open `/usr/share/locale/fi/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/fr/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/fr.mo'.
grub2-install: info: cannot open `/usr/share/locale/fr/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/it/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/it.mo'.
grub2-install: info: cannot open `/usr/share/locale/it/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/ja/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/ja.mo'.
grub2-install: info: cannot open `/usr/share/locale/ja/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/pl/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/pl.mo'.
grub2-install: info: cannot open `/usr/share/locale/pl/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/ru/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/ru.mo'.
grub2-install: info: cannot open `/usr/share/locale/ru/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/zh_CN/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/zh_CN.mo'.
grub2-install: info: cannot open `/usr/share/locale/zh_CN/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/nb_NO/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/nb_NO.mo'.
grub2-install: info: cannot open `/usr/share/locale/nb_NO/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/en@boldquot/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/en@boldquot.mo'.
grub2-install: info: cannot open `/usr/share/locale/en@boldquot/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/en@quot/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/en@quot.mo'.
grub2-install: info: cannot open `/usr/share/locale/en@quot/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/sl/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/sl.mo'.
grub2-install: info: cannot open `/usr/share/locale/sl/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/sv/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/sv.mo'.
grub2-install: info: cannot open `/usr/share/locale/sv/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/uk/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/uk.mo'.
grub2-install: info: cannot open `/usr/share/locale/uk/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/nl/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/nl.mo'.
grub2-install: info: cannot open `/usr/share/locale/nl/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/bg/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/bg.mo'.
grub2-install: info: cannot open `/usr/share/locale/bg/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/all_languages/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/all_languages.mo'.
grub2-install: info: cannot open `/usr/share/locale/all_languages/LC_MESSAGES/grub.mo': Not a directory.
grub2-install: info: copying `/usr/share/locale/kn/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/kn.mo'.
grub2-install: info: cannot open `/usr/share/locale/kn/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/de/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/de.mo'.
grub2-install: info: cannot open `/usr/share/locale/de/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/zh_HK/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/zh_HK.mo'.
grub2-install: info: cannot open `/usr/share/locale/zh_HK/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/af/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/af.mo'.
grub2-install: info: cannot open `/usr/share/locale/af/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/sq/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/sq.mo'.
grub2-install: info: cannot open `/usr/share/locale/sq/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/en_GB/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/en_GB.mo'.
grub2-install: info: cannot open `/usr/share/locale/en_GB/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/en/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/en.mo'.
grub2-install: info: cannot open `/usr/share/locale/en/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/pt/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/pt.mo'.
grub2-install: info: cannot open `/usr/share/locale/pt/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/en_US/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/en_US.mo'.
grub2-install: info: cannot open `/usr/share/locale/en_US/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/locale/nb/LC_MESSAGES/grub.mo' -> `/boot/grub/locale/nb.mo'.
grub2-install: info: cannot open `/usr/share/locale/nb/LC_MESSAGES/grub.mo': No such file or directory.
grub2-install: info: copying `/usr/share/grub/themes/starfield/dejavu_10.pf2' -> `/boot/grub/themes/starfield/dejavu_10.pf2'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/dejavu_12.pf2' -> `/boot/grub/themes/starfield/dejavu_12.pf2'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/dejavu_bold_14.pf2' -> `/boot/grub/themes/starfield/dejavu_bold_14.pf2'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/dejavu_14.pf2' -> `/boot/grub/themes/starfield/dejavu_14.pf2'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/dejavu_16.pf2' -> `/boot/grub/themes/starfield/dejavu_16.pf2'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/blob_w.png' -> `/boot/grub/themes/starfield/blob_w.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_c.png' -> `/boot/grub/themes/starfield/boot_menu_c.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_e.png' -> `/boot/grub/themes/starfield/boot_menu_e.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_ne.png' -> `/boot/grub/themes/starfield/boot_menu_ne.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_n.png' -> `/boot/grub/themes/starfield/boot_menu_n.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_nw.png' -> `/boot/grub/themes/starfield/boot_menu_nw.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_se.png' -> `/boot/grub/themes/starfield/boot_menu_se.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_s.png' -> `/boot/grub/themes/starfield/boot_menu_s.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_sw.png' -> `/boot/grub/themes/starfield/boot_menu_sw.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/boot_menu_w.png' -> `/boot/grub/themes/starfield/boot_menu_w.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/slider_c.png' -> `/boot/grub/themes/starfield/slider_c.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/slider_n.png' -> `/boot/grub/themes/starfield/slider_n.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/slider_s.png' -> `/boot/grub/themes/starfield/slider_s.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/starfield.png' -> `/boot/grub/themes/starfield/starfield.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_c.png' -> `/boot/grub/themes/starfield/terminal_box_c.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_e.png' -> `/boot/grub/themes/starfield/terminal_box_e.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_ne.png' -> `/boot/grub/themes/starfield/terminal_box_ne.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_n.png' -> `/boot/grub/themes/starfield/terminal_box_n.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_nw.png' -> `/boot/grub/themes/starfield/terminal_box_nw.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_se.png' -> `/boot/grub/themes/starfield/terminal_box_se.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_s.png' -> `/boot/grub/themes/starfield/terminal_box_s.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_sw.png' -> `/boot/grub/themes/starfield/terminal_box_sw.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/terminal_box_w.png' -> `/boot/grub/themes/starfield/terminal_box_w.png'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/theme.txt' -> `/boot/grub/themes/starfield/theme.txt'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/README' -> `/boot/grub/themes/starfield/README'.
grub2-install: info: copying `/usr/share/grub/themes/starfield/COPYING.CC-BY-SA-3.0' -> `/boot/grub/themes/starfield/COPYING.CC-BY-SA-3.0'.
grub2-install: info: copying `/usr/share/grub/unicode.pf2' -> `/boot/grub/fonts/unicode.pf2'.
grub2-install: info: /dev/mapper/_dev_sdb is not present.
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  Volume group "_dev_sdb" not found
  Cannot process volume group _dev_sdb
grub2-install: info: /dev/mapper/_dev_sdb is not present.
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  Volume group "_dev_sdb" not found
  Cannot process volume group _dev_sdb
grub2-install: info: /dev/mapper/_dev_sdb is not present.
[code:1:cd587eb7f0]grub-core/kern/disk.c:196: Opening `lvm/_dev_sdb'...
grub-core/kern/disk.c:196: Opening `host'...
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk host
grub2-install: info: Scanning for DISKFILTER devices on disk host.
grub2-install: info: Scanning for mdraid1x devices on disk host.
grub-core/kern/disk.c:421: Read out of range: sector 0xfffffffffffffff0 (attempt to read or write outside of disk `host').
grub2-install: info: Scanning for mdraid09_be devices on disk host.
grub-core/kern/disk.c:421: Read out of range: sector 0xffffffffffffff80 (attempt to read or write outside of disk `host').
grub2-install: info: Scanning for mdraid09 devices on disk host.
grub-core/kern/disk.c:421: Read out of range: sector 0xffffffffffffff80 (attempt to read or write outside of disk `host').
grub2-install: info: Scanning for dmraid_nv devices on disk host.
grub-core/kern/disk.c:421: Read out of range: sector 0xfffffffffffffffe (attempt to read or write outside of disk `host').
grub2-install: info: Scanning for ldm devices on disk host.
grub2-install: info: scanning host for LDM.
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk host.
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:421: Read out of range: sector 0x6 (attempt to read or write outside of disk `host').
grub-core/kern/disk.c:295: Closing `host'.
grub-core/kern/disk.c:196: Opening `proc'...
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk proc
grub2-install: info: Scanning for DISKFILTER devices on disk proc.
grub2-install: info: Scanning for mdraid1x devices on disk proc.
grub-core/kern/disk.c:421: Read out of range: sector 0xfffffffffffffff0 (attempt to read or write outside of disk `proc').
grub2-install: info: Scanning for mdraid09_be devices on disk proc.
grub-core/kern/disk.c:421: Read out of range: sector 0xffffffffffffff80 (attempt to read or write outside of disk `proc').
grub2-install: info: Scanning for mdraid09 devices on disk proc.
grub-core/kern/disk.c:421: Read out of range: sector 0xffffffffffffff80 (attempt to read or write outside of disk `proc').
grub2-install: info: Scanning for dmraid_nv devices on disk proc.
grub-core/kern/disk.c:421: Read out of range: sector 0xfffffffffffffffe (attempt to read or write outside of disk `proc').
grub2-install: info: Scanning for ldm devices on disk proc.
grub2-install: info: scanning proc for LDM.
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk proc.
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x1 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x0 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:421: Read out of range: sector 0x6 (attempt to read or write outside of disk `proc').
grub-core/kern/disk.c:295: Closing `proc'.
grub-core/kern/disk.c:196: Opening `hd0'...
grub2-install: info: drive = 0.
grub2-install: info: the size of hd0 is 104857600.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd0
grub2-install: info: Scanning for DISKFILTER devices on disk hd0.
grub2-install: info: Scanning for mdraid1x devices on disk hd0.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sda' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda'
grub2-install: info: Scanning for mdraid09_be devices on disk hd0.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda'
grub2-install: info: Scanning for mdraid09 devices on disk hd0.
grub2-install: info: Scanning for dmraid_nv devices on disk hd0.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda'
grub2-install: info: Scanning for ldm devices on disk hd0.
grub2-install: info: scanning hd0 for LDM.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=16775168
grub-core/partmap/gpt.c:114: GPT entry 1: start=16777216, length=88078336
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd0.
grub2-install: info: no LVM signature found.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=16775168
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd0
grub2-install: info: Scanning for DISKFILTER devices on disk hd0.
grub2-install: info: Scanning for mdraid1x devices on disk hd0.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sda1' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda1'
grub2-install: info: Scanning for mdraid09_be devices on disk hd0.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda1'
grub2-install: info: Scanning for mdraid09 devices on disk hd0.
grub2-install: info: Scanning for dmraid_nv devices on disk hd0.
grub2-install: info: Scanning for ldm devices on disk hd0.
grub2-install: info: scanning hd0 for LDM.
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd0.
grub2-install: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x7d4c2005; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0xa13c; wanted 0x4552)
grub-core/partmap/gpt.c:114: GPT entry 1: start=16777216, length=88078336
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd0
grub2-install: info: Scanning for DISKFILTER devices on disk hd0.
grub2-install: info: Scanning for mdraid1x devices on disk hd0.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sda2' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda2'
grub2-install: info: Scanning for mdraid09_be devices on disk hd0.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sda2'
grub2-install: info: Scanning for mdraid09 devices on disk hd0.
grub2-install: info: Scanning for dmraid_nv devices on disk hd0.
grub2-install: info: Scanning for ldm devices on disk hd0.
grub2-install: info: scanning hd0 for LDM.
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd0.
grub2-install: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0xeb58; wanted 0x4552)
grub-core/partmap/dfly.c:72: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x33c0; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd0'.
grub-core/kern/disk.c:196: Opening `hd1'...
grub2-install: info: drive = 1.
grub2-install: info: the size of hd1 is 1465149168.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd1
grub2-install: info: Scanning for DISKFILTER devices on disk hd1.
grub2-install: info: Scanning for mdraid1x devices on disk hd1.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdb' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdb'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdb'
grub2-install: info: Scanning for mdraid09_be devices on disk hd1.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdb'
grub2-install: info: Scanning for mdraid09 devices on disk hd1.
grub2-install: info: Scanning for dmraid_nv devices on disk hd1.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdb'
grub2-install: info: Scanning for ldm devices on disk hd1.
grub2-install: info: scanning hd1 for LDM.
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd1.
grub2-install: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x4c55; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd1'.
grub-core/kern/disk.c:196: Opening `hd2'...
grub2-install: info: drive = 2.
grub2-install: info: the size of hd2 is 104857600.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub2-install: info: Scanning for DISKFILTER devices on disk hd2.
grub2-install: info: Scanning for mdraid1x devices on disk hd2.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub2-install: info: Scanning for mdraid09_be devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub2-install: info: Scanning for mdraid09 devices on disk hd2.
grub2-install: info: Scanning for dmraid_nv devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub2-install: info: Scanning for ldm devices on disk hd2.
grub2-install: info: scanning hd2 for LDM.
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd2.
grub2-install: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x4c55; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd2'.
grub-core/kern/disk.c:196: Opening `hd3'...
grub2-install: info: drive = 3.
grub2-install: info: the size of hd3 is 3866624.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd3
grub2-install: info: Scanning for DISKFILTER devices on disk hd3.
grub2-install: info: Scanning for mdraid1x devices on disk hd3.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdd' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdd'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdd'
grub2-install: info: Scanning for mdraid09_be devices on disk hd3.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdd'
grub2-install: info: Scanning for mdraid09 devices on disk hd3.
grub2-install: info: Scanning for dmraid_nv devices on disk hd3.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdd'
grub2-install: info: Scanning for ldm devices on disk hd3.
grub2-install: info: scanning hd3 for LDM.
grub-core/partmap/msdos.c:188: partition 0: flag 0x0, type 0x83, start 0x800, len 0x3af000
grub-core/partmap/msdos.c:188: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd3.
grub2-install: info: no LVM signature found.
grub-core/partmap/msdos.c:188: partition 0: flag 0x0, type 0x83, start 0x800, len 0x3af000
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd3
grub2-install: info: Scanning for DISKFILTER devices on disk hd3.
grub2-install: info: Scanning for mdraid1x devices on disk hd3.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdd1' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdd1'
grub2-install: info: Scanning for mdraid09_be devices on disk hd3.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdd1'
grub2-install: info: Scanning for mdraid09 devices on disk hd3.
grub2-install: info: Scanning for dmraid_nv devices on disk hd3.
grub2-install: info: Scanning for ldm devices on disk hd3.
grub2-install: info: scanning hd3 for LDM.
grub2-install: info: no LDM signature found.
grub2-install: info: Scanning for lvm devices on disk hd3.
grub2-install: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/msdos.c:188: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/msdos.c:188: partition 0: flag 0x0, type 0x83, start 0x800, len 0x3af000
grub-core/partmap/msdos.c:188: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 0: flag 0x0, type 0x83, start 0x800, len 0x3af000
grub-core/partmap/msdos.c:188: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/msdos.c:188: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
grub-core/partmap/apple.c:123: bad magic (found 0x33ed; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd3'.
grub-core/kern/disk.c:196: Opening `hd4'...
grub2-install: info: drive = 4.
grub2-install: info: the size of hd4 is 1952768.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd4
grub2-install: info: Scanning for DISKFILTER devices on disk hd4.
grub2-install: info: Scanning for mdraid1x devices on disk hd4.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sde' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sde'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sde'[/cod
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme


Last edited by Massimo B. on Wed Sep 07, 2016 2:14 pm; edited 3 times in total
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 572
Location: Italy

PostPosted: Wed Sep 07, 2016 2:06 pm    Post subject: Reply with quote

Please post the output of the following commands:
Code:
parted /dev/sdd print
pvdisplay
vgdisplay
lvdisplay
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Wed Sep 07, 2016 2:17 pm    Post subject: Reply with quote

Code:
# parted /dev/sdd print
Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdd: 1980MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1979MB  1978MB  primary  ext4
Code:
# pvdisplay
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
..same for vgdisplay and lvdisplay.

This is done inside a VM, but I tried the same by booting systemrescuecd natively.
I also tried on a bare harddrive instead of the SD card, but still the same problem.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Frustie
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 101
Location: My own little planet.

PostPosted: Wed Sep 07, 2016 2:45 pm    Post subject: Reply with quote

but ..

the /dev/mapper/_dev***
is mounted as BTRFS

So my guess is it assumes its LVM, but it is not.

Code:
/dev/mapper/_dev_sdb on /mnt/gentoo type [b]btrfs[/b] (rw,relatime,compress=lzo,space_cache,subvolid=259,subvol=/root)
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 572
Location: Italy

PostPosted: Wed Sep 07, 2016 2:48 pm    Post subject: Reply with quote

According to this you can try one of the following.

If you use systemd, try:
Code:
systemctl start lvm2-lvmetad.service
systemctl start lvm2-lvmetad.socket


If you use openrc, stop the /etc/init.d/lvm service, try changing the "use_lvmetad" variable in /etc/lvm/lvm.conf and then restart the lvm service.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Thu Sep 08, 2016 10:56 am    Post subject: Reply with quote

I wonder if I'm the first installing Gentoo on btrfs (I'm sure I'm not), following the rest of the handbook and choosing grub2. There is nothing customized so far...

This is a chroot from a live-system, are there services running at all? Anyway service lvm status says started. So I have set use_lvmetad = 0 and restarted:
Code:
# service lvm restarted:
 * /etc/init.d/lvm uses runscript, please convert to openrc-run.
 * Shutting down the Logical Volume Manager
 * Finished shutting down the Logical Volume Manager
 * Setting up the Logical Volume Manager ...
  WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
Code:
# grub2-install /dev/sdd
Installing for i386-pc platform.
  WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
  Volume group "_dev_sdb" not found
  Cannot process volume group _dev_sdb
  WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
  Volume group "_dev_sdb" not found
  Cannot process volume group _dev_sdb
grub2-install: error: disk `lvm/_dev_sdb' not found.

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 572
Location: Italy

PostPosted: Thu Sep 08, 2016 2:42 pm    Post subject: Reply with quote

@Massimo B.: Are you using LVM or just LUKS + Btrfs? I'm using LUKS+LVM+Btrfs on my desktop system and LUKS+Btrfs on my laptop system, both with GRUB2, so you're definitively not the only one.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2968
Location: Germany

PostPosted: Thu Sep 08, 2016 3:10 pm    Post subject: Reply with quote

Where does that lvm/_dev_sdb come from anyhow. /dev/sdb is /dev/sdb and not LVM. Why is it looking for LV by that name? Who's mixing naming schemes here?

Certainly there is something wrong in some configuration file or other.

Anything come up in grep?

Code:
grep -Enr dev.*sdb /etc/
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Fri Sep 09, 2016 6:38 am    Post subject: Reply with quote

fturco wrote:
@Massimo B.: Are you using LVM or just LUKS + Btrfs? I'm using LUKS+LVM+Btrfs on my desktop system and LUKS+Btrfs on my laptop system, both with GRUB2, so you're definitively not the only one.
I don't have a LVM layer between LUKS and btrfs as it is completely useless for btrfs and one point why I like to go for btrfs and subvolumes.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Fri Sep 09, 2016 6:44 am    Post subject: Reply with quote

frostschutz wrote:
Code:
grep -Enr dev.*sdb /etc/
There is some lvm/cache stuff, does that matter?
obfuscated Code:
# grep -Enr dev.*sdb /etc |grep -v "^#"
/etc/dmtab:5:# Example: isw0: 0 312602976 striped 2 128 /dev/sda 0 /dev/sdb 0
/etc/blkid.tab.old:3:<device DEVNO="0x0812" TIME="1346058814.409241" LABEL="root" UUID="1e488da3-3fb2-431d-b860-foobar" TYPE="ext4">/dev/sdb2</device>
/etc/blkid.tab.old:4:<device DEVNO="0x0813" TIME="1346058814.426768" UUID="e145d6dd-eb6d-4d00-befa-foobar" TYPE="crypto_LUKS">/dev/sdb3</device>
/etc/blkid.tab.old:9:<device DEVNO="0xfe02" TIME="1346427144.227409" PRI="45" LABEL="home_crypt" UUID="0ea46661-fed8-47cc-8cec-foobar" TYPE="ext4">/dev/mapper/_dev_sdb3</device>
/etc/conf.d/dmcrypt:77:#source='/dev/sdb1'
/etc/smartd.conf:66:#/dev/sdb -d scsi -s L/../../7/01
/etc/udevil/udevil.conf:132:# allowed_internal_devices_vfat = /dev/sdb*
/etc/blkid.tab:3:<device DEVNO="0x0812" TIME="1346427144.543099" LABEL="root" UUID="1e488da3-3fb2-431d-b860-foobar" TYPE="ext4">/dev/sdb2</device>
/etc/blkid.tab:4:<device DEVNO="0x0813" TIME="1346427144.560608" UUID="e145d6dd-eb6d-4d00-befa-foobar" TYPE="crypto_LUKS">/dev/sdb3</device>
/etc/blkid.tab:9:<device DEVNO="0xfe02" TIME="1346427144.227409" PRI="45" LABEL="home_crypt" UUID="0ea46661-fed8-47cc-8cec-foobar" TYPE="ext4">/dev/mapper/_dev_sdb3</device>
/etc/systemd/system/hddtemp.service.d/00gentoo.conf:3:Environment="HDDTEMP_DRIVES=/dev/sda /dev/sdb"
/etc/lvm/cache/.cache:17:      "/dev/mapper/_dev_sdb",
/etc/lvm/cache/.cache:19:      "/dev/sdb",
/etc/lvm/cache/.cache:20:      "/dev/disk/by-id/dm-uuid-CRYPT-LUKS1-e609e76c419f4677a2fe872290730e6f-_dev_sdb",
/etc/lvm/cache/.cache:26:      "/dev/disk/by-id/dm-name-_dev_sdb",

But that should not apply when I try to install grub2 from outside the chroot that is the sysresccd live system. What is the better way to install grub, inside or outside the chroot?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 572
Location: Italy

PostPosted: Fri Sep 09, 2016 8:36 am    Post subject: Reply with quote

I have always installed grub from inside the chroot. No problems so far in my case.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2968
Location: Germany

PostPosted: Fri Sep 09, 2016 10:20 am    Post subject: Reply with quote

That /dev/mapper/_dev_sdb3 seems to be a LUKS device, that's a strange name for it (what you might get with 'cryptsetup luksOpen /dev/sdb3 /dev/sdb3' instead of 'cryptsetup luksOpen /dev/sdb3 somename'.

What is opening this LUKS container for you? Are you doing this manually, or some GUI involved, ...?

grub2-install seems to be confusing this LUKS device with a LVM device, not sure if this is a general problem regardless of the name, or confused because the _ are in the name... I know that in Ubuntu these utils complain a lot if the name of the open crypto device, is not the same name as specified in the crypttab. Not sure if there is such a similar problem for Gentoo (which doesn't use crypttab, instead it's /etc/conf.d/dmcrypt).

If you install grub2 outside chroot, you have to make sure it uses the correct /boot partition. Doing it inside chroot with all things mounted in the proper places should be easier.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Fri Sep 09, 2016 11:22 am    Post subject: Reply with quote

The LUKS device is named _dev_sdb because I named it like that. This is very common in lot of HowTos:
Code:
cryptsetup luksOpen /dev/sdb _dev_sdb

I can use a different name: crypt_root.
But the proble ist still the same: disk 'lvm/crypt_root' not found
crypttab is systemd and not used here. /etc/conf.d/dmcrypt is only for some parts like crypting swap, this is not used here yet, as I'm going to create a btrfs on LUKS for my new installation. I just created a LUKS, a btrfs, and now I try to get the bootloader installed.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3639
Location: Hamburg

PostPosted: Fri Sep 09, 2016 12:41 pm    Post subject: Reply with quote

B/C I do use grub2 + btrfs since 2 years w/ any problems I think that it is just LUKS which plays a role here. Maybe it is the way you do a chroot. That's my working way for my server (there I do have ext4 ofc for /):
Code:
mkdir /mnt/gentoo
mount -t ext4           /dev/sda3 /mnt/gentoo/
mount -t ext2           /dev/sda5 /mnt/gentoo/boot
mount -t proc  none     /mnt/gentoo/proc
mount --rbind  /sys     /mnt/gentoo/sys
mount --rbind  /dev     /mnt/gentoo/dev

cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

chroot /mnt/gentoo/ /bin/bash

exit

umount -l /mnt/gentoo/dev{/shm,/pts,mqueue,}
umount -l /mnt/gentoo/sys
umount    /mnt/gentoo/proc
umount    /mnt/gentoo/boot
umount    /mnt/gentoo/
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 572
Location: Italy

PostPosted: Fri Sep 09, 2016 12:52 pm    Post subject: Reply with quote

Massimo B. wrote:
The LUKS device is named _dev_sdb because I named it like that. This is very common in lot of HowTos:

Can you share the links to the howtos you're following?
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Mon Sep 12, 2016 8:49 am    Post subject: Reply with quote

toralf wrote:
B/C I do use grub2 + btrfs since 2 years w/ any problems I think that it is just LUKS which plays a role here. Maybe it is the way you do a chroot. That's my working way for my server (there I do have ext4 ofc for /):
Code:
mkdir /mnt/gentoo
mount -t ext4           /dev/sda3 /mnt/gentoo/
mount -t ext2           /dev/sda5 /mnt/gentoo/boot
mount -t proc  none     /mnt/gentoo/proc
mount --rbind  /sys     /mnt/gentoo/sys
mount --rbind  /dev     /mnt/gentoo/dev

cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

chroot /mnt/gentoo/ /bin/bash

That's exact the same way I do, except the separated ext2 boot partition. Additionally I have
Code:
cryptsetup luksOpen /dev/sdb _crypt_root
mount /dev/mapper/_crypt_root /mnt/gentoo

The root partition is a default btrfs subvolume, no boot partition.

Isn't it possible to install grub2 from the live system just to make sure I have nothing custom in the Gentoo chroot?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2968
Location: Germany

PostPosted: Mon Sep 12, 2016 10:07 am    Post subject: Reply with quote

Yes, you can mount just the boot partition nothing else and then install grub.

For it to actually boot your own system you'll have to adapt the config (and of course, provide a kernel image / initramfs that can handle your encryption stuff).

Usually the initramfs part is done within the chroot, or you can make your own custom initramfs (see gentoo wiki).

Still it would be better to identify the root cause of this issue... although I'm running cryptsetup/mdadm/lvm myself, no issues here.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Mon Sep 12, 2016 11:51 am    Post subject: Reply with quote

In all your messages you talked about the boot partition. Do I really need that? I like to install a grub on SD card together with the LUKS master-key, so I need the SD and enter my passwort for getting the system started.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2968
Location: Germany

PostPosted: Mon Sep 12, 2016 12:26 pm    Post subject: Reply with quote

So the SD card is your boot partition, no? It's also fine if it's a root partition. Mount it somewhere and specify --boot-directory=/mnt/yourthing/boot

If the SD card was not mounted / boot directory not specified previously maybe that was your problem... I don't know.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Mon Sep 12, 2016 12:43 pm    Post subject: Reply with quote

I had a /boot directory inside the root partion on btrfs on luks.

I got something working, but I don't understand why:
I deleted the whole SD card block device with zero and created a new partition layout. It does not work with gparted mklabel gpt, then I get
Code:
grub2-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet.grub2-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet.

But when I create a msdos label, format /dev/sdd1 with ext2 and mount that to /mnt/gentoo/boot, I get
Code:
 Installation finished. No error reported.

GOOD

Why is an ext2 boot partition required? Even if I umount that and clear the local /boot directory I still get the error
Code:
 # grub2-install /dev/sdd
Installing for i386-pc platform.
  Volume group "crypt_root" not found
  Cannot process volume group crypt_root
  Volume group "crypt_root" not found
  Cannot process volume group crypt_root
grub2-install: error: disk `lvm/crypt_root' not found.

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Tue Sep 13, 2016 8:08 am    Post subject: Reply with quote

I got some clarification from Jordan_U on #grub:
Quote:
Be sure that you have grub compiled with devicemapper support. Anything in /dev/mapper is either related to devicemapper or LVM. If you disable devicemapper support in grub then the resulting grub will assume everything in /dev/mapper/ is LVM.

That makes things clearer when I look at my grub on Gentoo:
Code:
$ equery uses grub
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-boot/grub-2.02_beta3-r1:
 U I
 - - debug                    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                                https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - device-mapper            : Enable support for device-mapper from sys-fs/lvm2
 - - doc                      : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - efiemu                   : Build and install the efiemu runtimes
 + + fonts                    : Build and install fonts for the gfxterm module
 - - grub_platforms_coreboot  : Coreboot platform support
 - - grub_platforms_efi-32    : EFI 32 bit platform support (Old MACs)
 - - grub_platforms_efi-64    : EFI 64 bit platform support
 - - grub_platforms_emu       : Emulation platform support
 - - grub_platforms_ieee1275  : IEEE1275 pltaform support
 - - grub_platforms_loongson  : MIPS loongson platform support
 - - grub_platforms_multiboot : Multiboot platform support
 - - grub_platforms_pc        : PC platform support
 - - grub_platforms_qemu      : QEMU platform support
 - - grub_platforms_qemu-mips : QEMU MIPS platform support
 - - grub_platforms_uboot     : U-Boot platform support
 - - grub_platforms_xen       : XEN (pvgrub2) platform support
 - - grub_platforms_xen-32    : Build 32-bit XEN (pvgrub2) platform support on amd64
 - - libzfs                   : Enable support for sys-fs/zfs
 - - mount                    : Build and install the grub-mount utility
 - + multislot                : Allow concurrent installation of sys-boot/grub SLOT 0 and sys-boot/grub SLOT 2 by renaming all programs.
 + + nls                      : Add Native Language Support (using gettext - GNU locale utilities)
 + + sdl                      : Add support for Simple Direct Layer (media library)
 - - static                   : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
 - - test                     : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in
                                make.conf/package.use anymore
 + + themes                   : Build and install GRUB themes (starfield)
 + + truetype                 : Build and install grub-mkfont conversion utility

It seems that the grub2-install binary on sysresccd has no device-mapper support either, which would be a bad thing for a rescue system, but it has support builtin:
Code:
# ldd /usr/sbin/grub2-install |grep devmapper
   libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0xf76f9000)


Can I force grub to interpret /dev/mapper as LUKS instead of LVM, for binaries that don't have the device-mapper support?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2968
Location: Germany

PostPosted: Tue Sep 13, 2016 10:53 am    Post subject: Reply with quote

Oh nice. So does it work if you change those useflags?

My grub does not have device mapper support either. It doesn't need it since my /boot is a USB stick, unencrypted unadorned, plain old ext2. Makes things so much simpler.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Tue Sep 13, 2016 11:15 am    Post subject: Reply with quote

I did not try yet as I don't have a working toolchain in my chroot.
But I got it working by providing a separate /boot with ext2, don't know why that's related to LVM or LUKS. This is the result of all the automagic of grub, that you can't figure out why some detection doesn't work.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum