Note: in case the root disk is part of LVM, then this is the physical volume (PV) holding root filesystem. INSTALL_DEVICE must be system device filename. On i386 (here 'i386' does not refer to a specific processor but to the whole platform/architecture) the bootloader is installed into the beginning of a disk (MBR, GPT), thus disk device must be defined as paramenter. Note that ` shim-install' will call ` grub2-install' command itself. Shim-install -config-file=/boot/grub2/grub.cfg If you use an UEFI/EFI system, the bootloader is not installed into the beginning of a disk as in case of BIOS system (MBR, GPT), but into EFI system partition (with partition GUID 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B' visible for example with ` sfdisk -d '). See How to Chroot in Rescue Mode for more details. Inside chroot you can test with ` mount -a -t nonfs,nonfs4,nocifs,noocfs2' for example (it mounts all but not NFS, CIFS, OCFS2 filesystems). If using an UEFI/EFI system, ensure /boot/efi filesystem is mounted. Ensure all needed filesystems are mounted, especially one holding /boot/grub2/- (eg. You are inside the chrooted root filesystem of the system in question. In order to fix this problem, GRUB2 bootloader need to be reinstalled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |