मेरे पास डेबियन जेसी की अच्छी स्थापना थी, लेकिन फिर मैं भाग गया apt-get update && apt-get upgrade && apt-get dist-upgrade।
और फिर रिबूट करने के बाद, यह सीधे BIOS में आया। मुझे एहसास हुआ कि ग्रब गायब था, इसलिए मैंने एक लाइव सीडी चलाया और प्रवेश किया Rescue mode, अपने रूट विभाजन को माउंट किया , + बूट विभाजन और इन कमांडों को चलाया:
ग्रब लाइनक्स छवि पाता है:
root@debian:~# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-3-amd64
Found initrd image: /boot/initrd.img-4.9.0-3-amd64
Found linux image: /boot/vmlinuz-4.9.0-0.bpo.3-amd64
Found initrd image: /boot/initrd.img-4.9.0-0.bpo.3-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
Found Ubuntu 16.10 (16.10) on /dev/sdb2
Adding boot menu entry for EFI firmware configuration
done
और फिर grub-install:
root@debian:~# grub-install /dev/sda
Installing for x86_64-efi platform.
Could not prepare Boot variable: No such file or directory
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
lsblk :
root@debian:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 92.6G 0 part /
├─sda2 8:2 0 130.4G 0 part
└─sda3 8:3 0 573M 0 part /boot/efi
क्या मैंने कुछ गलत किया? क्या मेरे /boot/efiविभाजन पर बहुत कम जगह है ?
root@debian:~# ls -l /boot/efi/EFI/debian/
total 120
-rwx------ 1 root root 121856 Jul 20 20:29 grubx64.efi
efibootmgr डेबियन स्थापना नहीं दिखाता है:
root@debian:~# efibootmgr --verbose | grep debian
संपादित करें:
मैं हर बार कोशिश करते समय यह त्रुटि प्राप्त करता रहता हूं और उपयोग करके बूट लोडर बनाता हूं efibootmgr:
grub-install: info: executing efibootmgr -c -d /dev/sda -p 3 -w -L grub -l \EFI\grub\grubx64.efi.
Could not prepare Boot variable: No such file or directory
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.