View previous topic :: View next topic |
Author |
Message |
lepiou n00b


Joined: 24 Jul 2004 Posts: 74 Location: Evron (53)
|
Posted: Sun Dec 19, 2004 9:37 am Post subject: [Grub] Probleme de boot sur le disque windows (résolu) |
|
|
Bonjour a tous,
Je me suis acheté un second disque dure pour y installer windows (Pour les jeux essentiellement)
J'ai donc :
- 1er disque dure en bout de nappe avec les jumper en master
4 partitions :
- / ---> /dev/hda4
- /boot ------> /dev/hda1
- La swap ---> /dev/hda2
- /Docs ------> /dev/hda3
- Le sencond disque dure situé en milieu de nappe et sas jumper (donc en slave)
2 partitions
- c:/ en ntfs
- d:/ en fat32
J'ai donc editer mon grub.conf comme ca :
Code: | default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.9-gentoo-r9
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4
initrd /initrd-2.6.9-gentoo-r9
title=Gentoo Linux 2.6.9-gentoo-r6
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4
initrd /initrd-2.6.9-gentoo-r6
title=Windows 2000 Pro
root (hd1,0)
chainloader +1
|
Et quand je selectionne Windows 2000 pro au demarrage je vois ca :
Code: | title=Windows 2000 Pro
root (hd1,0)
chainloader +1 |
Et ca reste bloqué :/
Je vous remerci d'avance de votre aide 
Last edited by lepiou on Sun Dec 19, 2004 10:45 am; edited 1 time in total |
|
Back to top |
|
 |
Tony Clifton l33t


Joined: 07 Jul 2004 Posts: 686 Location: Rennes
|
Posted: Sun Dec 19, 2004 10:09 am Post subject: |
|
|
Tu as essayé avec lilo ? |
|
Back to top |
|
 |
lepiou n00b


Joined: 24 Jul 2004 Posts: 74 Location: Evron (53)
|
Posted: Sun Dec 19, 2004 10:14 am Post subject: |
|
|
Non pas avec lilo, j'y ai pensé mais je voulais voir avant si il y a une solution pour grub  |
|
Back to top |
|
 |
_droop_ l33t

Joined: 30 May 2004 Posts: 957
|
Posted: Sun Dec 19, 2004 10:23 am Post subject: |
|
|
Lu,
C'est tout a fait normal, tu peux pas booter windows depuis un disque dur esclave. L'astuce consiste à faire croire que windows est sur le disque maitre.
Dans ton grub tu dois mettre un truc du genre :
Code: |
title=W
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0) # remarque: faut peut etre mettre (hd0,0), je te laisse tester
makeactive
chainloader +1
|
Voila. (à l'erreur de frappe près) |
|
Back to top |
|
 |
lepiou n00b


Joined: 24 Jul 2004 Posts: 74 Location: Evron (53)
|
Posted: Sun Dec 19, 2004 10:45 am Post subject: |
|
|
Super ca fonctionne, merci _droop_  |
|
Back to top |
|
 |
|