[Linux-bruxelles] grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check?your device.map.

Aldo info at brlspeak.net
Mar 2 Fév 19:00:05 CET 2010


Hello,

suite des Xpriences sur mon EEE: 

j'ai mounté ma SDHC contenant Debian EEEPC (Lenny) ici: /mnt/lin/
La flash SDHC a été reconnue comme sdb.

J'ai donc modifié le menu.lst de Debian en remplaçant sdc1 par sdb1.
J'ai également mis des sdb au lieu de sdc dans fstab, sinon ça ne
correspondrait pas;
j'ai aussi veillé à ce qu'il n'y ait plus de sdc dans devices.map, histoire
d^'tre sûr que tout est fait pour éviter les messages d'erreur.

Ensuite si j'ai bien lu et compris:
 os-prober <ENTER>
et comme il affiche avoir trouvé Debian, je fais
 update-grub <ENTER>.

Et c là qu'il me produit un message d'erreur; voici les détails:

root at unrtop:~# df
Bestandssysteem           1K-blokken Gebruikt Beschikbr Geb% Aangekoppeld op
/dev/sda1              7297384   2312044   4614644  34% /
udev                    250380       304    250076   1% /dev
none                    250380      1128    249252   1% /dev/shm
none                    250380        88    250292   1% /var/run
none                    250380         0    250380   0% /var/lock
none                    250380         0    250380   0% /lib/init/rw
none                   7297384   2312044   4614644  34% /var/lib/ureadahead/debugfs
/dev/sdb1              7257904   3309100   3580116  49% /mnt/lin

root at unrtop:~# fdisk -l

Schijf /dev/sda: 7989 MB, 7989682176 bytes
255 koppen, 63 sectoren/spoor, 971 cilinders
Eenheid = cilinders van 16065 * 512 = 8225280 bytes
Schijf-ID: 0x00014978

 Apparaat Opstart   Begin       Einde     Blokken   ID  Systeem
/dev/sda1   *           1         923     7413966   83  Linux
/dev/sda2             924         971      385560    5  Uitgebreid
/dev/sda5             924         971      385528+  82  Linux wisselgeheugen

Schijf /dev/sdb: 7948 MB, 7948206080 bytes
255 koppen, 63 sectoren/spoor, 966 cilinders
Eenheid = cilinders van 16065 * 512 = 8225280 bytes
Schijf-ID: 0x000afd35

 Apparaat Opstart   Begin       Einde     Blokken   ID  Systeem
/dev/sdb1   *           1         918     7373803+  83  Linux
/dev/sdb2             919         966      385560    5  Uitgebreid
/dev/sdb5             919         966      385528+  82  Linux wisselgeheugen

root at unrtop:~# os-prober 
/dev/sdb1:Debian GNU/Linux (5.0.3):Debian:linux

root at unrtop:~# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-17-generic-pae
Found initrd image: /boot/initrd.img-2.6.31-17-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Debian GNU/Linux (5.0.3) on /dev/sdb1
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your device.map.

done

root at unrtop:~# 

Dois-je restaurer grub.cfg ou ça n'a pas d'importance ?

Aldo. 





Plus d'informations sur la liste de diffusion Linux-bruxelles