grub

GRUB

February 6, 2022
linux, grub

GRUB # GRUB Rescue # grub rescue> ls grub rescue> ls (hd0,msdos*)/boot/grub/ grub rescue> set prefix=(hd0,msdos*)/boot/grub grub rescue> set root=(hd0,msdos*)/boot/grub grub rescue> insmod ext2 grub rescue> insmod normal grub rescue> normal After boot write the command: sudo update-grub sudo grub-install /dev/sd_ US-English Keyboard Layout # Enable os-prober to show other partitions on GRUB # sudo nano /etc/default/grub GRUB_DISABLE_OS_PROBER=false sudo update-grub reboot