Souçi instalation kernel ( debian )
kosmic
Messages postés
121
Date d'inscription
Statut
Membre
Dernière intervention
-
kosmic Messages postés 121 Date d'inscription Statut Membre Dernière intervention -
kosmic Messages postés 121 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
je dispose de grub1
Je souhaite installer se kernel " ftp ://ftp.ovh.net/made-in-ovh/bzImage/old/2.6.28.4/bzImage-2.6.28.4-xxxx-std-ipv4-64-hz1000 "
j'ai donc appliquer comme ceci:
cd /boot
wget ftp ://ftp.ovh.net/made-in-ovh/bzImage/old/2.6.28.4/bzImage-2.6.28.4-xxxx-std-ipv4-64-hz1000
nano /boot/grub/menu.lst
title Debian GNU/linux, kernel 2.6.26-2amd64
root (hd0,1)
kernel /boot/vmlinuz-2..6.26-2-amd64 root=dev/sda2 ro quiet
initrd /boot/initrd.img-2.6.26-2-amd64
Que faut t'il que je face une fois que j'ai dl le kernel dont je souhaite.
je dois modifier les lignes kernel initrd comme ceci? je doit aussi modifier le title je suppose?
title Debian GNU/linux, kernel 2.6.28.4-xxxx-std-ipv4-64-hz1000
root (hd0,1)
kernel /boot/vmlinuz-2.6.28.4-xxxx-std-ipv4-64-hz1000 root=dev/sda2 ro quiet
initrd /boot/initrd.img-2.6.28.4-xxxx-std-ipv4-64-hz1000
après je fais ctrl +x et je reboot.
Je voudrais savoir si ma manip est bonne ou si j'oublie un truc?
merci de votre aide
je dispose de grub1
Je souhaite installer se kernel " ftp ://ftp.ovh.net/made-in-ovh/bzImage/old/2.6.28.4/bzImage-2.6.28.4-xxxx-std-ipv4-64-hz1000 "
j'ai donc appliquer comme ceci:
cd /boot
wget ftp ://ftp.ovh.net/made-in-ovh/bzImage/old/2.6.28.4/bzImage-2.6.28.4-xxxx-std-ipv4-64-hz1000
nano /boot/grub/menu.lst
title Debian GNU/linux, kernel 2.6.26-2amd64
root (hd0,1)
kernel /boot/vmlinuz-2..6.26-2-amd64 root=dev/sda2 ro quiet
initrd /boot/initrd.img-2.6.26-2-amd64
Que faut t'il que je face une fois que j'ai dl le kernel dont je souhaite.
je dois modifier les lignes kernel initrd comme ceci? je doit aussi modifier le title je suppose?
title Debian GNU/linux, kernel 2.6.28.4-xxxx-std-ipv4-64-hz1000
root (hd0,1)
kernel /boot/vmlinuz-2.6.28.4-xxxx-std-ipv4-64-hz1000 root=dev/sda2 ro quiet
initrd /boot/initrd.img-2.6.28.4-xxxx-std-ipv4-64-hz1000
après je fais ctrl +x et je reboot.
Je voudrais savoir si ma manip est bonne ou si j'oublie un truc?
merci de votre aide
A voir également:
- Souçi instalation kernel ( debian )
- Kernel power ✓ - Forum Windows 10
- Pcl xl error subsystem kernel - Forum Imprimante
- Nt kernel & system - Forum Windows
- Passer en root debian ✓ - Forum Debian
- Set warranty bit kernel ✓ - Forum Samsung
2 réponses
Plutôt que de t'embêter à tout faire à la main je récupérerais le dernier paquet linux-source. Puis je le préparerais avec make-kpkg (idem si tu veux utiliser le kernel dont tu as donné le lien). Ça te permettrait de générer un beau paquet debian qui corrigerais automatiquement ton grub. Un tutoriel ici :
http://www.mistra.fr/tutoriel-linux-compiler.html#h4-compiler-un-noyau
Bon sinon à un moment il va falloir penser à migrer vers grub-pc, concrètement ça consiste à mettre à jour et à installer le paquet grub-pc.
Il va te proposer de chaîner grub2 à la suite de grub1 pour ne casser ton grub (à la limite ce n'est pas une grande perte, ça se répare facilement). Tu lui dis ok, tu testes grub2, et si tout est ok tu termines la migration.
Compléments si tu casses ton grub :
http://www.mistra.fr/tutoriel-linux-configurer-boot-loader-grub-lilo.html
Bonne chance
http://www.mistra.fr/tutoriel-linux-compiler.html#h4-compiler-un-noyau
Bon sinon à un moment il va falloir penser à migrer vers grub-pc, concrètement ça consiste à mettre à jour et à installer le paquet grub-pc.
aptitude update aptitude safe-upgrade aptitude install grub-pc
Il va te proposer de chaîner grub2 à la suite de grub1 pour ne casser ton grub (à la limite ce n'est pas une grande perte, ça se répare facilement). Tu lui dis ok, tu testes grub2, et si tout est ok tu termines la migration.
upgrade-from-grub-legacy rm /boot/grub/menu.lst*
Compléments si tu casses ton grub :
http://www.mistra.fr/tutoriel-linux-configurer-boot-loader-grub-lilo.html
Bonne chance