Ah ouais…donc le lecteur CD c’est hdc ![]()
OK. ptet que ton windows est bousillé?
Ah ouais…donc le lecteur CD c’est hdc ![]()
OK. ptet que ton windows est bousillé?
non, il fonctionne correctement, j’ai désactivé le 1er disque où se trouve knoppix et windows démarre normalement
voici ce que me donne cfdisk:
cfdisk 2.12
Unité de disque: /dev/hdd
Size: 20576747520 bytes, 20.5 GB
Heads: 255 Sectors per Track: 63 Cylinders: 2501
Nom Fanions Part Type Type SF [Étiq.] Size (MB)
hdd1 Amorce Primaire W95 FAT32 (LBA) 10487,24
Pri/Log Espace libre 10084,20
[Amorçable] [Détruire] [ Aide ] [Maximiser] [Afficher]
[Quitter ] [ Type ] [ Unités ] [ Écrire ]
Basculer le fanion d'amorce pour la partition courante
on avance un peu, mais windows ne démarre toujours pas!
fais voir ton lilo.conf histoire qu’on voie ![]()
vga=791
lilo(8)' and lilo.conf(5)',install-mbr(8)', /usr/share/doc/lilo/',lba32
#disk=/dev/hde
#disk=/dev/sda
boot=/dev/hda
root=/dev/hda2
install=/boot/boot-menu.b
map=/boot/map
delay=20
single-key' goes with the alias’ lines in theimage' configurations below. eg: You can press 1’ to bootLinux', 2’ to boot LinuxOLD', if you uncomment the alias’.boot-prompt-HOWO' and kernel-parameters.txt’ inappend=« hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce »
default=Linux
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
initrd=/boot/initrd.gz
read-only
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
other=/dev/hdd1
label=windows
Chez moi c’est:
other=/dev/hda1
label=« Windows »
euh…je sèche ![]()
c’est hdd1 que tu trouve bizarre?
non, ça a l’air normal ça. C’est la raison pour laquelle windows boote pas que je pige pas.
Windows ça craint, hein? ![]()
bon,
j’ai 2 disques:
1er disque:
port IDE1 → knoppix
→ lecteur cdrom
2ième disque
port IDE2 → 1ere partition XP activée
Sinon, installe grub. Ptet que c’est lilo qui arrive pas à booter sur le DD quand il est esclave (je sais pas, j’ai jamais eu ce cas :D)
grub est plus performant que lilo en plus. Et plus facile à configurer.
et pourtant il démarre si je désactive le 1er disque où se trouve knoppix dans le bios!!
bon j’ai lancé grub, mais a partir de la konsole, car je ne le trouve pas dans les menus!
t’as lancé grub? non lol faut l’installer avec « grub-install » ![]()
Avec l’option
–root-directory=DIR ???
je mets koi pour le chemin?
non, pas de ça. en principe si tu veux l’installer dans le MBR du premier disque (hda), tu tapes grub-install /dev/hda
ok c’est fait, mais après j’ai recopié menu.lst qui était dans la doc comme exemple vers /boot/grub
bon voici l’exemple
timeout 30
default 0
fallback 1
title GNU/Hurd
root (hd0,0)
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz
title GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1
title Utah Mach4 multiboot
root (hd0,2)
pause Insert the diskette now!!
kernel (fd0)/boot/kernel root=hd0s3
module (fd0)/boot/bootstrap
title FreeBSD 3.4
root (hd0,2,a)
kernel /boot/loader
title OS/2
root (hd0,1)
makeactive
chainloader +1
#chainloader /boot/chain.os2
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader +1
title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)
title Change the colors
color light-green/brown blink-red/blue
voici la config de base que j’ai trouvé sur un site:
http://guide.andesi.org/html/kgrub.html
default 1
timeout 10
password --md5 $1$u.jeI0$KMSOekVazlZsdYU1LH0sx/
title Windows XP Pro
rootnoverify (hd0,2)
chaineloader +1
title GNU/Linux Debian 2.6.4
kernel (hd0,5)/vmlinuz-current root=/dev/hda5 resume=/dev/hda1 noresume splash=silent vga=791
initrd (hd0,5)/initrd.splash
default 1
timeout 10
password --md5 $1$u.jeI0$KMSOekVazlZsdYU1LH0sx/
title Windows XP Pro
rootnoverify (hd0,2) deviens rootnoverify (hd3,0); mon disque est sur hdd 1ere partitionchaineloader +1
title GNU/Linux Debian 2.6.4
kernel (hd0,5)/vmlinuz-current root=/dev/hda5 resume=/dev/hda1 noresume splash=silent vga=791 initrd (hd0,5)/initrd.splash
[#2aff00]deviens kernel (hd0,1)/vmlinuz-current root=/dev/hda2 resume=/dev/hda1 noresume splash=silent vga=791 ;
en fait knoppix se trouve sur hda2 ,1ere partition [/#2aff00]
dites moi si c’est juste, car sur le 1er disque j’ai hda1 -->swap et hd2–>ext3