[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Résolu] Grub et Windows sur hdb1



Le mar, mai 09, 2006 at 08:05:14 +0200, Edi STOJICEVIC a tapoté sur son clavier :
> Le mar, mai 09, 2006 at 09:15:38 -0400, David Prévot a tapoté sur son clavier :
> > Edi STOJICEVIC a écrit :
> > > Bonjour,
> > > 
> > > Pour utiliser une application propriétaire, j'ai du réinstaller
> > > un vieux disque, un seagate de 10Go, sur lequel se balade un vieux windows.
> > > Celui-ci est donc en hdb1 et j'ai rajouté ceci dans mon fichier /boot/grub/menu.lst :
> > > 
> > > title Windows
> > > root (hd1)
> > En général tu cherches plutôt une partition qu'un disque
> > > map (hd0) (hd1)
> > > map (hd1) (hd0)
> > > makeactive (hd1,0)
> > > chainloader (hd1,0)+1
> > > boot
> > > 
> > > Mais lors du boot impossible de passer sur ce foutu disque ...
> > > 
> > > Selon les modifications, j'ai eu différents messages mais le seul dont
> > > je me souviens est "erreur 13 : invalid or
> > > unsupported executable format",
> > > 
> > > N'étant pas un gourou grub, je ne sais pas si lors de la modification du
> > > fichier menu.lst, il faut lancer une commande comme on le fait avec
> > > lilo.
> > > 
> > > En espérant, que certains pourront m'éclaire ...
> > > 
> > > A+
> > 
> > Dans le fichier initial de grub je vois ça :
> > # examples
> > #
> > # title		Windows 95/98/NT/2000
> > # root		(hd0,0)
> > # makeactive
> > # chainloader	+1
> > 
> > As-tu essayé ceci ? (En supposant que ton OS est bien sur la première
> > partition du second disque...)
> > 
> > title		Ouined'eau
> > root		(hd1,0)
> > makeactive
> > chainloader	+1
> 
> Re,
> 
> Apres tests, voici les messages d'erreurs que j'obtiens :
> 
> en dessous de la ligne root ... :
> 
> 	filesystem type unknown, partition type 0x8e
> 
> et a la fin :
> 
> 	Error 13 : invalid or unsupported executable format
> 
> Une autre indication, j'ai modifié le fichier /boot/grub/device.map pour
> qu'il est l'air ainsi :
> 
> (fd0)   /dev/fd0
> (hd0)   /dev/hda
> (hd1)   /dev/hdb
> (hd2)   /dev/hdc
> (hd3)   /dev/sda
> 
> Car l'entrée avec hdb était inexistante ... mais je ne suis pas sur qu'il est pris
> en compte les nouvelles modifications ...
> 
> Si quelqu'un a une idée ...

Je me réponds à moi-même... J'ai finalement réussi en mettant ceci dans
mon menu.lst :

title Windows
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive (hd1,0)
chainloader (hd1,0)+1

A+

-- 
. ''`.  (\___/) E d i   S T O J I C E V I C 
: :'  : (='.'=) http://www.debianworld.org  
`. `~'  (")_(") GPG: C360 FCF0 AB3A 2AB0 52E7 044F 1B3D 2109 1237 B032  
  `-	 



Reply to: