Je viens de faire la manip en bootant sur une knoppix 3.4 et çà fonctionne.
C'est certainement ton montage qui est foireux, fait le à la main. $ su - --> se logger root car sudo hum ... $ mount -t ext3 -o rw /dev/hda15 /mnt/hda15 --> moi, ma debian est sur /dev/hda15 et mon filesystem ext3. $ cd /mnt/hda15 $ ls bin cdrom0 etc initrd.old media proc srv usr vmlinuz. old boot cdrom1 home lib mnt root sys var cdrom dev initrd lost+found opt sbin tmp vmlinuz $ cd boot/grub $ tail menu.lst title Debian GNU/Linux, kernel 2.6.6-1-386 (recovery mode) root (hd0,14) kernel /boot/vmlinuz-2.6.6-1-386 root=/dev/hda15 ro single initrd /boot/initrd.img-2.6.6-1-386 savedefault boot $ cd / $ grub-install --root-directory=/mnt/hda15 --recheck /dev/hda Probing devices to guess BIOS drives. This may take a long time. Installation finished. No error reported. This is the contents of the device map /mnt/hda15/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/hdb $ reboot Le mar 27/07/2004 à 09:12, thierry a écrit : > Hum ... > merci > > [EMAIL PROTECTED] sudo grub-install --root-direc > tory=/mnt/hda2 /dev/hda > Probing devices to guess BIOS drives. This may take a > long time. > /dev/root: Not found or not a block device. > [EMAIL PROTECTED] sudo grub-install --root-directory=/mnt/hda2 /dev/hda > /dev/root: Not found or not a block device. > [EMAIL PROTECTED] sudo grub-install --recheck --root-directory=/mnt/hda2 > /dev/hda > Probing devices to guess BIOS drives. This may take a long time. > /dev/root: Not found or not a block device. > [EMAIL PROTECTED] sudo grub-install --recheck --root-directory=/mnt/hda2/boot > /dev/hda > Probing devices to guess BIOS drives. This may take a long time. > /dev/root: Not found or not a block device. > [EMAIL PROTECTED] sudo grub-install --recheck > --root-directory=/mnt/hda2/boot/grub /dev/hda > Probing devices to guess BIOS drives. This may take a long time. > /dev/root: Not found or not a block device. > [EMAIL PROTECTED] > > > > Message du 26/07/04 21:12 > > De : "Abred" <[EMAIL PROTECTED]> > > A : "DUF" <debian-user-french@lists.debian.org> > > Copie à : > > Objet : Re: Re: Grub ? > > > > Bonsoir, > > > > Quand vous bootez sous knoppix, je crois que les points de montages sont > > /mnt/<partition> soit pour votre debian /mnt/hda2 > > > > Je ferais donc: > > > > $ grub-install --root-directory=/mnt/hda2 /dev/hda > > > > et si çà ne fonctionne pas, rebootez sous knoppix et : > > > > $ grub-install --recheck --root-directory=/mnt/hda2 /dev/hda > > > > Vous ne devez pas oublié /dev/hda en fin de commande car çà indique ou > > installer grub, ici sur le MBR. > > > > Si jamais grub-install ne trouve pas le fichier menu.lst de /mnt/hda2, > > mettez --root-directory=/mnt/hda2/boot ou > > --root-directory=/mnt/hda2/boot/grub mais dans la logique le point de > > montage suffit car c'est à partir de là qu'il utilise le fichier de > > configuration par default /boot/grub/menu.lst > > > > Voila. > > > > > > Le lun 26/07/2004 à 18:29, thierry a écrit : > > > Bonjour, > > > J'aimerai que vous verifiez ma ligne de commande avavt de faire une > > > erreur ... :) > > > > > > /dev/hda2 -> / > > > /dev/hda7 -> /boot > > > /dev/hda1 -> windows > > > > > > Le fichier menu.lst est ok > > > > > > Donc dois je faire, sans etre chroote: > > > > > > grub-install --recheck --root-directory=/toto/dev/hda2 > > > > > > ou > > > > > > grub-install --recheck --root-directory=/toto/boot > > > > > > /toto etant le point de montage chroote de ma debian (mount -t xfs > > > /dev/hda2 /toto) > > > > > > merci > > > > > > > > > > Message du 26/07/04 14:55 > > > > De : "Abred" <[EMAIL PROTECTED]> > > > > A : "DUF" <debian-user-french@lists.debian.org> > > > > Copie à : > > > > Objet : Re: Grub ? > > > > > > > > Bonjour, > > > > > > > > Votre fichier /boot/grub/menu.lst est-il configuré correctement ? > > > > > > > > Ce que je ferais c'est de ne pas chrooter sous knoppix mais d'utiliser > > > > le grub-install de la knoppix. > > > > > > > > man grub-install > > > > > > > > $ grub-install [--recheck] --root-directory=DIR /dev/hda > > > > > > > > --root-directory=/point_montage_debian > > > > > > > > Voila. > > > > > > > > Le lun 26/07/2004 à 13:39, Bruno Felix a écrit : > > > > > marche pas avec un > > > > > grub-install /dev/hda ? > > > > > > > > > > Le lun 26/07/2004 à 10:51, Thierry a écrit : > > > > > > Bonjour a tous, > > > > > > Petit soucis tres tres bete ... > > > > > > J'utilise depuis tres longtemps lilo .... Avec la nouvelle install > > > > > > de > > > > > > debian, je suis passe sous Grub ... pkoi pas > > > > > > actuellement sur mon portable, j'ai deux OS, windows et debian, > > > > > > windows pour > > > > > > les jeux et debian pour tout le reste. > > > > > > l'ennui c'est que j'ai du reinstalle windows et logiquement il a > > > > > > vire le > > > > > > grub du mbr .... > > > > > > resultat, je ne peux plus demarre mon linux cheri .... > > > > > > j'ai donc boote sous knoppix, mounte la partiton debian racine > > > > > > (hda2) et > > > > > > chroote cette meme partition, ensuite un mount -a .... > > > > > > si je fais un update-grub, ça a l'air de fonctionner, par contre si > > > > > > je veux > > > > > > que grub se remette dans le mbr, je fais un grub --install /dev/hda > > > > > > et la, > > > > > > je tombe sur une invite de commande : > > > > > > > > > > > > grub > > > > > > > > > > > > > Et la que dois je faire ? > > > > > > > > > > > > Merci > > > > > > > > > > > > > > > > > > begin 666 icon_smile.gif > > > > > > M1TE&.#EA#P`/`+,.`/_J`$5%10```/_.`/_)`/^T`/Z=`/_^D__]$_______ > > > > > > MQS,S,___Z__E`````````"'Y! $```X`+ `````/``\```1;T$D9:IW85:;. > > > > > > M&1<6< @"G(,13$$G""?PIJMVF'$.:@H.GS^"*G #QH*%RB''!!"2`=.B"[EMAIL > > > > > > PROTECTED] > > > > > > G*P/9:[L5K@)906(\%A!VFL&@P3736&J"7/X6!0KXPC##LM0F$0`[ > > > > > > ` > > > > > > end > > > > > > > > > > > > begin 666 icon_redface.gif > > > > > > M1TE&.#EA#P`/`,0?`/JS`/W*`.!L`/>.6__WS?MH:/ZV=?><`/_2A_RD:?^W > > > > > > MM_Z8F.=S2D5%1?_DY/_Z]?_,S/_J`/B @/_\Z?K7`/[C`/[EMAIL PROTECTED] > > > > > > MD^-?7]E([EMAIL > > > > > > PROTECTED]/_EF?K!>P```"'_"TY%5%-#05!%,BXP`P$````A^00%% `? > > > > > > M`"P`````#P`/```%9N GBDU9CNA73D26!2?:L-<5W<'1C$W+W4!.;J?*_(!! > > > > > > MF([EMAIL PROTECTED],\K9$`H)2I4"K(B%=;[EMAIL > > > > > > PROTECTED]&3E?"Z=#P'PC0(XV'<-0"!M > > > > > > MY7CA1 T!<6J#.CR#B8F',GEL4BD\)D0C(0`A^00%"@`?`"P!``$`#0`-```% > > > > > > M4> G?L]$$,8XEEV'O,8PFM]K?[%(U/:=3BX$3P@;$%RB6\V0('@,F![BF4@@ > > > > > > [EMAIL > > > > > > PROTECTED],=5!F;0<\`9L@&`X]0A$EX109H#Q.7P>/XNDI4K=I%(0`A^00%,@`? > > > > > > M`"P!``$`#0`-```%2. [EMAIL PROTECTED]&/YM?3WDC-=GVJ;*[E73U2;+20. > > > > > > MBT774AX5$LU"9XE*KIJ/A)HMP*[+D>(E$2VFS#/,?&ZK4:+K=2T*`0`A^00% > > > > > > M"@`?`"P!``$`#0`-```%4. GBA-!&&,Z=1WB&L-8?F[]P2)!US:ZNCO$#D9H > > > > > > MB6PT0X+@,6!XB&[EMAIL PROTECTED]@PJ#6/=3!E? [EMAIL > > > > > > PROTECTED]<1&PP\0A$FP149G#S,.^9^V^<I > > > > > > MT71*%X4``"'Y! 4*`!\`+ $``0`-``T```51X"=^$Y%EP3B6UQ6]P3&:WVM_ > > > > > > [EMAIL PROTECTED]/"#MD7*);+0#(4 *57N3)[EMAIL > > > > > > PROTECTED]>@``!()#+P`^R `'BE!4 > > > > > > 400-$`6BO$I?!X_BZ2N3UVD4A`#L` > > > > > > ` > > > > > > end > > > > > -- > > > > > Bruno FÉLIX > > > > > 87 rue de Verviers > > > > > 4651 Battice > > > > > Belgique > > > > > tel: +32 (0)87 33 39 32 > > > > > gsm: +32 (0)477 66 05 77 > > > > > email: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > > Pensez à lire la FAQ de la liste avant de poser une question : > > > > http://wiki.debian.net/?DebianFrench > > > > > > > > Pensez à rajouter 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] > > > > > > > > > > > > > > > > > > > > > > > -- > > > Thierry > > > > > > > > > > > > -- > > Pensez à lire la FAQ de la liste avant de poser une question : > > http://wiki.debian.net/?DebianFrench > > > > Pensez à rajouter 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] > > > > > > > > > -- > Thierry > >