Le mardi 27 mai 2008 10:19, vous avez écrit :
il doit forcément te marquer quelque chose. Le but de cette commande est
de lancer un shell grub et de taper automatiquement dedans ce qu'il y a
entre les quotes...
Par exemple moi il me renvoie ca :
+ echo -e '
device (hd0) /dev/sda
root (hd0,0)
setup (hd0)
'
+ grub --device-map=null --no-floppy --no-curses
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ 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>
grub> device (hd0) /dev/sda
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
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 (hd0)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p
(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
grub> + exit 0
----------------------
Je pense avoir compris :
Il me manquait dans /boot/grub :
les fichiers "stage1 et stage2"
J'ai fait un "aptitude remove puis install grub" et il ne m'a rien réinstallé dans /boot/grub/
antoine