Bonjour à tous,

j'utilise KNOPPIX afin de réinstaller ma Debian sur mon disque dur (je ne peux pas passer par netinstall pour ni aucun autre CD car mon lecteur n'est pas reconnu lors du montage (pourtant une fois sur la distribution, ça marche bien et je réussi à booter dessus), bref là n'est pas mon souci.

J'installe donc ma Debian via debootstrap et tout ce passe pour le mieux, seulement lors du redémarrage, j'ai l'erreur 17...

Voici un petit rapport des commandes que j'ai exécutée :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
# fdisk -l /dev/hda
 
Disque /dev/hda: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets 
 
Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hda1   *           1        9729    78148161   83  Linux
Puis j'ai "chrooté" et j'ai tapé ces commandes via ma Debian (et non sous Knoppix):
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
# /usr/sbin/grub-install /dev/hda
Searching for GRUB installation directory ... found: /boot/grub 
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'. 
 
(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdc
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
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
Tout est bien là :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
# ls -l /boot/grub/
total 184
-rw-r--r-- 1 root root    197 Dec  4 17:16 default 
-rw-r--r-- 1 root root     45 Dec  4 17:01 device.map
-rw-r--r-- 1 root root   7552 Dec  4 17:16 e2fs_stage1_5
-rw-r--r-- 1 root root   7456 Dec  4 17:16 fat_stage1_5
-rw-r--r-- 1 root root   8160 Dec  4 17:16 jfs_stage1_5 
-rw-r--r-- 1 root root   4143 Dec  4 17:17 menu.lst
-rw-r--r-- 1 root root   6880 Dec  4 17:16 minix_stage1_5
-rw-r--r-- 1 root root   9248 Dec  4 17:16 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 Dec  4 17:16 stage1 
-rw-r--r-- 1 root root 108296 Dec  4 17:16 stage2
-rw-r--r-- 1 root root   8872 Dec  4 17:16 xfs_stage1_5
Et pour m'en assurer :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
# grub 
grub> root (hd0,0)
 Filesystem type is reiserfs, partition type 0x83 
 
grub> setup (hd0, 0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/reiserfs_stage1_5" exists... yes 
 Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"...  19 sectors are embedded
.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+19 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded 
Done.
Bref tout est ok, et pourtant lors du reboot, Grub me génère l'erreur 17 alors que tout est à sa portée !

P.S: j'avais déjà réussi à installer Debian et GRUB sur la même configuration puisqu'il s'agit d'une réinstallation