Sur un UEFI:
apt-get purge os-prober
rm /boot/efi/EFI/debian/grubx64.efi
rm /boot/grub/grub.cfg
rm /boot/efi/EFI/debian/grubx64.efi
rm /boot/grub/grub.cfg
Sur un BIOS:
apt-get purge os-prober
#dd if=/dev/null of=/dev/sda bs=446 count=1
rm /boot/grub/grub.cfg
#dd if=/dev/null of=/dev/sda bs=446 count=1
rm /boot/grub/grub.cfg
J'ai commenté la deuxième ligne, assez dangereuse. (Si vous vous plantez, ça peut aussi virer la table des partitions, ce qui serait très ennuyant)
[wiki] Grub2 : TP - Réparer le Grub
0 commentaires:
Enregistrer un commentaire