Arnaud FELTZ a écrit, lundi 3 décembre 2007, à 02:10 : > Du nouveau, j'ai installé GRUB (apt-get install grub) et lorsque je veux > l'installer (/usr/sbin/grub-install /dev/hda), j'ai le message suivant : > "Could not find device for /boot: Not found or not a block device." , > pourtant le répertoire boot existe bien. > > Par contre, update-grub quand à lui fonctionne : > # update-grub > Searching for GRUB installation directory ... found: /boot/grub > Searching for default file ... found: /boot/grub/default > Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst > Searching for splash image ... none found, skipping ... > Found kernel: /boot/vmlinuz > Found kernel: /boot/vmlinuz-2.6.22-3-686 > Updating /boot/grub/menu.lst ... done > > Comment celà est-ce possible?
Ici, update-grub ne s'occupe que du système de fichiers déjà monté, dans le répertoire /boot/ ; il met à jour le fichier menu.lst. À cause des complications du nommage des disques, il se peut que Grub perde les pédales et ne voit pas ton disque ? Essaie un shell grub, # grub GNU GRUB version 0.97 ... [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 2, Filesystem type is ext2fs, partition type 0x83 Partition num: 3, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type unknown, partition type 0x82 [...] LA commande magique est sous la touche TAB, j'ai tapé root (TAB TAB et grub a trouvé mon seul disque hd0, puis proposé ses partitions... TAB tout court donne la liste des commandes, tu peux retrouver les noyaux (plus ou moins) boutables en tapant quelque chose comme « kernel TAB 0 TAB boo TAB ... », si ton répertoire /boot est dans hda1 ou sda1. -- Jacques L'helgoualc'h -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]