Делаю все в qemu машине. В chroot
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 367,8M 0 rom
vda 252:0 0 10G 0 disk
└─vda1 252:1 0 10G 0 part
└─root-root (dm-0) 253:0 0 9G 0 lvm /
vdb 252:16 0 10G 0 disk
└─vdb1 252:17 0 10G 0 part
loop0 7:0 0 272,9M 1 loopСтавлю grub2
grub2-install /dev/vda
Path `/boot/grub2' is not readable by GRUB on boot. Installation is impossible. Aborting.Куда копать?
# stat /boot/grub2
File: ‘/boot/grub2’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 445357 Links: 7
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)USE
U I
- - custom-cflags : Build with user-specified CFLAGS (unsupported)
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.
+ + device-mapper : Enable support for sys-fs/device-mapper
- - doc : Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- - efiemu : Build and install the efiemu runtimes
- - 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_multiboot : Multiboot platform support
- + grub_platforms_pc : PC platform suppport
- + grub_platforms_qemu : QEMU platform support
- - grub_platforms_qemu-mips : QEMU MIPS platform support
- - grub_platforms_yeeloong : YEEELONG MIPS platform support
- - libzfs : Enable support for sys-fs/zfs
- - mount : Build and install the grub-mount utility
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
- - sdl : Adds support for Simple Direct Layer (media library)
- - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
+ + truetype : Adds support for FreeType and/or FreeType2 fonts