Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3272 connectés 

 


Dernière réponse
Sujet : confusion de kernel entre debian et mandriva
zorg merci pour le lien, c'est pile ce qu'il me fallait.  
je vais enfin pouvoir régler mon pb. :D

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
zorg merci pour le lien, c'est pile ce qu'il me fallait.  
je vais enfin pouvoir régler mon pb. :D
Dark_Schneider fais du vrai chainloading : http://www.linux-wizard.net/howto. [...] ainloading
zorg personne n'a une petite piste pour résoudre mon problème  :whistle:
zorg merci pour win, je modifie et je test.
 
c'est bien ce que j'aimerais faire, comment concilier tout ce monde et utiliser uniquement lilo.
faut que je vire le grub de debian qui est sur mon mbr avec la commande  

Code :
  1. grub -U


c'est bien ça ?

mirtouf pour winxp :
map (hd0) (hd1)
map (hd1) (hd0)
 
Il faut utiliser un seul bootloader pour tout le monde.
dans le cas d'update de noyau de la distro qui n'a pas de bootloader d'installé, il faut utiliser chroot pour les màj.
zorg hello,  
 
je détail ma config pour que ce soit plus clair :
1er hdd (hda) mandriva,
2ème hdd (hdb) winxp
3ème hdd (hdc) debian sarge
j'ai réinstallé pour la Nième fois debian et j'ai mis grub sur le mbr, tout c'est bien passé, au reboot, mandriva pas de pb, debian non plus mais winxp impossible de booter, j'ai juste la liste suivant qui apparait :

Code :
  1. Microsoft Windows XP Professionnel
  2. root (hd1,0)
  3. savedefault
  4. makeactive
  5. chainloader +1

 
 
je comprend pas ce que je dois faire.
 
la seule soluce pour booter winxp c'est de passer par le lilo de ma mandriva mais là c'est debian qui coince car il utilise le noyau de la mandriva.
le système fonctionne mais pas de carte réseau reconnu et pas de lecteur cd/dvd
 
j'ai essayé d'adapter lilo.conf en spécifiant les bonnes entrées du vmlinuz et du initrd.img mais toujours pareil, debian boot mais avec le noyau de mandriva  
 
voici mon lilo actuel avant modif :
 

Code :
  1. default="linux"
  2. boot=/dev/hda
  3. prompt
  4. nowarn
  5. timeout=100
  6. message=/boot/message
  7. menu-scheme=wb:bw:wb:bw
  8. image=/boot/vmlinuz
  9. label="linux"
  10. root=/dev/hda1
  11. initrd=/boot/initrd.img
  12. append="acpi=ht resume=/dev/hda5 splash=silent"
  13. vga=788
  14. read-only
  15. image=/boot/vmlinuz
  16. label="linux-nonfb"
  17. root=/dev/hda1
  18. initrd=/boot/initrd.img
  19. append="splash=silent acpi=ht resume=/dev/hda5"
  20. read-only
  21. other=/dev/hdb1
  22. label="windows"
  23. map-drive=0x80
  24. to=0x81
  25. map-drive=0x81
  26. to=0x80
  27. image=/boot/vmlinuz
  28. label="failsafe"
  29. root=/dev/hda1
  30. initrd=/boot/initrd.img
  31. append="failsafe splash=silent acpi=ht resume=/dev/hda5 devfs=nomount"
  32. read-only
  33. image=/boot/vmlinuz
  34. label="debian"
  35. root=/dev/hdc1
  36. initrd=/boot/initrd.img
  37. read-only


 
et après modif :
 

Code :
  1. default="linux"
  2. boot=/dev/hda
  3. prompt
  4. nowarn
  5. timeout=100
  6. message=/boot/message
  7. menu-scheme=wb:bw:wb:bw
  8. image=/boot/vmlinuz
  9. label="linux"
  10. root=/dev/hda1
  11. initrd=/boot/initrd.img
  12. append="acpi=ht resume=/dev/hda5 splash=silent"
  13. vga=788
  14. read-only
  15. image=/boot/vmlinuz
  16. label="linux-nonfb"
  17. root=/dev/hda1
  18. initrd=/boot/initrd.img
  19. append="splash=silent acpi=ht resume=/dev/hda5"
  20. read-only
  21. other=/dev/hdb1
  22. label="windows"
  23. map-drive=0x80
  24.    to=0x81
  25. map-drive=0x81
  26.    to=0x80
  27. image=/boot/vmlinuz
  28. label="failsafe"
  29. root=/dev/hda1
  30. initrd=/boot/initrd.img
  31. append="failsafe splash=silent acpi=ht resume=/dev/hda5 devfs=nomount"
  32. read-only
  33. boot=/dev/hdc
  34. image=/boot/vmlinuz-2.6.8-2-386
  35. label="debian"
  36. root=/dev/hdc
  37. initrd=/boot/initrd.img-2.6.8-2-386
  38. read-only


 
j'ai aussi essayé de booter avec le grub de ma mandriva en adaptant également l'entrée de debian mais idem, confusion de kernel.
 

Code :
  1. timeout 10
  2. default 0
  3. title linux
  4. kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 acpi=ht resume=/dev/hda5 splash=silent vga=788
  5. initrd (hd0,0)/boot/initrd.img
  6. title linux-nonfb
  7. kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 splash=silent acpi=ht resume=/dev/hda5
  8. initrd (hd0,0)/boot/initrd.img
  9. title windows
  10. root (hd1,0)
  11. map (0x81) (0x80)
  12. map (0x80) (0x81)
  13. makeactive
  14. chainloader +1
  15. title failsafe
  16. kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 failsafe splash=silent acpi=ht resume=/dev/hda5 devfs=nomount
  17. initrd (hd0,0)/boot/initrd.img
  18. title Debian GNU/Linux, kernel 2.6.8-2-386
  19. root (hd2,0)
  20. kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hdc1 ro
  21. initrd /boot/initrd.img-2.6.8-2-386
  22. savedefault
  23. boot


 
et voici à le grub de la debian, si qq1 peut me dire ce qui cloche pour l'endre de winxp qui ne boot pas  
 

Code :
  1. title Debian GNU/Linux, kernel 2.6.8-2-386
  2. root (hd2,0)
  3. kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hdc1 ro
  4. initrd /boot/initrd.img-2.6.8-2-386
  5. savedefault
  6. boot
  7. title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
  8. root (hd2,0)
  9. kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hdc1 ro single
  10. initrd /boot/initrd.img-2.6.8-2-386
  11. savedefault
  12. boot
  13. ### END DEBIAN AUTOMAGIC KERNELS LIST
  14. # This is a divider, added to separate the menu items below from the Debian
  15. # ones.
  16. title Other operating systems:
  17. root
  18. # This entry automatically added by the Debian installer for an existing
  19. # linux installation on /dev/hda1.
  20. title linux (on /dev/hda1)
  21. root (hd0,0)
  22. kernel /boot/vmlinuz root=/dev/hda1 ro acpi=ht resume=/dev/hda5 splash=silent
  23. initrd /boot/initrd.img
  24. savedefault
  25. boot
  26. # This entry automatically added by the Debian installer for an existing
  27. # linux installation on /dev/hda1.
  28. title linux-nonfb (on /dev/hda1)
  29. root (hd0,0)
  30. kernel /boot/vmlinuz root=/dev/hda1 ro splash=silent acpi=ht resume=/dev/hda5
  31. initrd /boot/initrd.img
  32. savedefault
  33. boot
  34. # This entry automatically added by the Debian installer for an existing
  35. # linux installation on /dev/hda1.
  36. title failsafe (on /dev/hda1)
  37. root (hd0,0)
  38. kernel /boot/vmlinuz root=/dev/hda1 ro failsafe splash=silent acpi=ht resume=/dev/hda5 devfs=nomount
  39. initrd /boot/initrd.img
  40. savedefault
  41. boot
  42. # This entry automatically added by the Debian installer for an existing
  43. # linux installation on /dev/hda1.
  44. title debian (on /dev/hda1)
  45. root (hd0,0)
  46. kernel /boot/vmlinuz root=/dev/hdc1 ro
  47. initrd /boot/initrd.img
  48. savedefault
  49. boot
  50. # This entry automatically added by the Debian installer for a non-linux OS
  51. # on /dev/hdb1
  52. title Microsoft Windows XP Professionnel
  53. root (hd1,0)
  54. savedefault
  55. makeactive
  56. chainloader +1


 
qq1 aurait une idée pour remettre tout ce fourbi en ordre, je voudrais pouvoir me servir de lilo pour le boot.


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)