Bonjour,
J’ai un peu peur de redémarrer mon serveur suite à une mise à jour de grub.
Il est en Squeeze.
[quote]Generating grub.cfg …
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
dpkg : erreur de traitement de grub-pc (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
configured to not write apport reports
Des erreurs ont été rencontrées pendant l’exécution :
grub-pc
[/quote]
Du coup j’essaye de le faire manuellement avant de tenter un reboot mais je n’y arrive pas.
# update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
# grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Auto-detection of a filesystem of /dev/sda1 failed.
Please report this together with the output of "/usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub" to <bug-grub@gnu.org>
Voilà le résultat de la commande :
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to snd.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to dri.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-label.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to by-id.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: /dev/sda1 starts from 63.
/usr/sbin/grub-probe: info: opening the device hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Le contenu de /boot/grub/device.map:
J’aimerais vraiment être sûr qu’il puisse redémarrer sans soucis, j’ai toujours pas de backup fonctionnel pour ce serveur :s