Mailinglist Archive: opensuse (389 mails)

< Previous Next >
[opensuse] grub2-install question
For some reason my box decided to stop booting. All I get is "GRUB" at boot. I try re-installing grub as I've done in the past but no-go.

# fdisk -l /dev/sda
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 51CAE1F2-829B-4F9C-9CC7-CE6460E07AB8

Device Start End Sectors Size Type
/dev/sda1 2048 20973567 20971520 10G Linux filesystem
/dev/sda2 20973568 54527999 33554432 16G Linux swap
/dev/sda3 54528000 473958399 419430400 200G Linux filesystem
/dev/sda4 473958400 683673599 209715200 100G Linux filesystem
/dev/sda5 683673600 976773134 293099535 139.8G Linux filesystem

# mount /dev/sda3 /mnt
# mount /dev/sda1 /mnt/boot
# mount --bind /dev /mnt/dev
# mount --bind /sys /mnt/sys
# mount --bind /proc /mnt/proc
# chroot /mnt

#grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-5.0.0-lcrs
Found initrd image: /boot/initrd-5.0.0-lcrs
Found linux image: /boot/vmlinuz-4.20.7-lcrs
Found initrd image: /boot/initrd-4.20.7-lcrs
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Found openSUSE Leap 15.0 on /dev/sdd3
done

# grub2-install /dev/sda1
Installing for i386-pc platform.
grub2-install: warning: File system `ext2' doesn't support embedding.
grub2-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub2-install: error: will not proceed with blocklists.

Don't remember ever seeing the above error and this has worked in the past. What am I doing wrong? I still just get "GRUB" at boot.

Thanks
Mark

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups