Du nouveau.
Avant mon chroot je fais:
mount /dev/sdb1 /mnt/debinstall
mount -o bind /dev /mnt/debinstall/dev
mount -o bind /proc /mnt/debinstall/proc
cp /proc/mounts /mnt/debinstall/etc/mtab
Dans mon chroot je lance:
grub-install /dev/sdb
Searching for GRUB installation directory ... found: /boot/grub
The file /boot/grub/stage2 not read correctly.
A ce moment il me crée bien les différents fichiers stage
Voilà le contenu de device.map.
[quote]more device.map
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
[/quote]
Puis je fais:
[quote]grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd1)
Checking if “/boot/grub/stage1” exists… yes
Checking if “/boot/grub/stage2” exists… yes
Checking if “/boot/grub/e2fs_stage1_5” exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd1)”… 15 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.
[/quote]