#1 Le 13/07/2010, à 19:06
- kare
pb noyau linux [RESOLU]
bonjour ,
je viens de mettre a jour mon noyau linux qui devrait etre maintenant le linux-headers-2.6.24-28.
Mais quand je fait un 'uname -r' il me renvoit '2.6.24-26-generic'.
pourtant voici ce que me donne 'apt-get remove linux':
linux-generic
linux-headers-2.6.24-23
linux-headers-2.6.24-23-generic
linux-headers-2.6.24-24
linux-headers-2.6.24-24-generic
linux-headers-2.6.24-25
linux-headers-2.6.24-25-generic
linux-headers-2.6.24-26
linux-headers-2.6.24-26-generic
linux-headers-2.6.24-27
linux-headers-2.6.24-27-generic
linux-headers-2.6.24-28
linux-headers-2.6.24-28-generic
linux-headers-generic
linux-image-2.6.24-23-generic
linux-image-2.6.24-24-generic
linux-image-2.6.24-25-generic
linux-image-2.6.24-26-generic
linux-image-2.6.24-27-generic
linux-image-2.6.24-28-generic
linux-image-generic
linux-restricted-modules-2.6.24-23-generic
linux-restricted-modules-2.6.24-24-generic
linux-restricted-modules-2.6.24-25-generic
linux-restricted-modules-2.6.24-26-generic
linux-restricted-modules-2.6.24-27-generic
linux-restricted-modules-2.6.24-28-generic
comme je voudrait supprimer les noyaux obsoletes sans faire d'erreurs je me permet de vous demander conseils.
merci.
Dernière modification par kare (Le 14/07/2010, à 17:02)
Hors ligne
#2 Le 13/07/2010, à 19:11
- helly
Re : pb noyau linux [RESOLU]
Par ici
http://doc.ubuntu-fr.org/nettoyer_ubuntu#suppression_des_anciens_noyaux
Archlinux-wmii-dwb.
Un problème résolu ? Faites le savoir en mettant [résolu] à côté du titre de votre topic.
Un problème non résolu ? Faites le savoir en insultant ceux qui cherchent à vous aider.
Un site bleu super remasterised©, un wiki cherchant des volontaires pour traduire un site.
Hors ligne
#3 Le 13/07/2010, à 19:17
- xabilon
Re : pb noyau linux [RESOLU]
Salut
Tout d'abord, tu dois démarrer sur ton nouveau noyau. Ça se choisit au Grub.
Ensuite, pour tes noyaux obsolètes, tu fais une recherche sur Synaptic, avec pour mots-clés les version des noyaux que tu veux désinstaller : 2.6.24-23, 2.6.24-24, 2.6.24-25, etc ...
Et tu désinstalles le tout (les linux-image-xxx, linux-headers-xxx et linux-restricted-modules-xxx)
NE DESINSTALLE PAS les méta-paquets linux-generic, linux-headers-generic et linux-image-generic
Et garde au moins les 2 plus récents, on sait jamais
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#4 Le 13/07/2010, à 19:24
- kare
Re : pb noyau linux [RESOLU]
salut
le pb n'ai pas de les supprimer (je connait la commande necessaire) mais de savoir quel ai le noyau que j'utilise car si c'est le linux-headers-2.6.24-26-generic comme semble m'indiquer mon terminal je vais faire une boulette si je le supprime.
Hors ligne
#5 Le 13/07/2010, à 19:26
- xabilon
Re : pb noyau linux [RESOLU]
Tu ne pourras pas supprimer un noyau en cours d'utilisation.
Il faut donc que tu redémarres sur ton noyau le plus récent, comme je t'ai dit plus haut.
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#6 Le 13/07/2010, à 19:26
- kare
Re : pb noyau linux [RESOLU]
bon je redemarre et je vois ce que ca donne.
a+
Hors ligne
#7 Le 13/07/2010, à 19:34
- kare
Re : pb noyau linux [RESOLU]
autant pour moi
mais grub ne me propose pas le noyau linux-ubuntu-modules-2.6.24-27-generic et le linux-ubuntu-modules-2.6.24-28-generic alors que je les ai mis a jour.
pourquoi?
comment je dois faire pour ils appaaissent dans le menu de grub?
Hors ligne
#8 Le 13/07/2010, à 19:38
- xabilon
Re : pb noyau linux [RESOLU]
On va voir ça. Commence par faire en terminal :
sudo update-grub
puis montre le contenu du fichier /boot/grub/grub.cfg (entre deux balises "Code").
Dernière modification par xabilon (Le 13/07/2010, à 19:39)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#9 Le 13/07/2010, à 19:49
- kare
Re : pb noyau linux [RESOLU]
désolé
je fais manger mes enfants et je te donne ca.
encore désolé
Hors ligne
#10 Le 13/07/2010, à 19:51
- xabilon
Re : pb noyau linux [RESOLU]
Désolé de quoi ? Je suis pas pressé ^^
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#11 Le 13/07/2010, à 20:21
- kare
Re : pb noyau linux [RESOLU]
de retour
je ne trouve pas le fichier grub.cfg
voila ce que j'ai:
kare@kare-laptop:/boot/grub$ ls
default menu.lst.backup
device.map minix_stage1_5
e2fs_stage1_5 reiserfs_stage1_5
fat_stage1_5 splashimages
installed-version stage1
jfs_stage1_5 stage2
menu.lst xfs_stage1_5
menu.lst~
que puis-je te donner?
Hors ligne
#12 Le 13/07/2010, à 20:37
- xabilon
Re : pb noyau linux [RESOLU]
ok, tu es toujours sous Grub1. Tu n'as pas plusieurs installations de Linux sur ton disque dur ?
Alors montre le contenu du fichier menu.lst
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#13 Le 13/07/2010, à 20:44
- kare
Re : pb noyau linux [RESOLU]
non je n'ai qu'une seul installation de linux mais qui tourne en dual boot avec vista ce qui fais que grub n'ai pas dans le mbr.c'est easy bcd sous vista qui me lance grub(je ne sais pas si ca peux servir de savoir ca mais bon.
contenu de menu.ls:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
Hors ligne
#14 Le 13/07/2010, à 20:58
- xabilon
Re : pb noyau linux [RESOLU]
Il est en entier ? Il te manque pas une partie en bas ?
Parce qu'avec un menu.lst comme ça, Grub ne peut rien démarrer du tout
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#15 Le 13/07/2010, à 20:59
- kare
Re : pb noyau linux [RESOLU]
et pourtant les noyaux 24-27 et 24-28 apparaissent bien installés dans synaptic
Hors ligne
#16 Le 13/07/2010, à 21:03
- kare
Re : pb noyau linux [RESOLU]
oup's autant pour moi
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=1
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro quiet splash
initrd /boot/initrd.img-2.6.24-26-generic
quiet
title Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro single
initrd /boot/initrd.img-2.6.24-26-generic
title Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-25-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro quiet splash
initrd /boot/initrd.img-2.6.24-25-generic
quiet
title Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-25-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro single
initrd /boot/initrd.img-2.6.24-25-generic
title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet
title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro single
initrd /boot/initrd.img-2.6.24-24-generic
title Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet
title Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=cc9d6f6a-728f-4281-827a-6e7915000015 ro single
initrd /boot/initrd.img-2.6.24-23-generic
title Ubuntu 8.04.3 LTS, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
chainloader +1
Hors ligne
#17 Le 13/07/2010, à 21:03
- xabilon
Re : pb noyau linux [RESOLU]
Je parlais du fichier menu.lst. On dirait qu'il manque une grosse partie à la fin.
il n'indique aucun noyau à charger, donc en l'état il ne peut rien démarrer du tout.
Au démarrage, après EasyBCD, tu arrives bien sur un menu avec écrit "GRUB" en haut ?
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#18 Le 13/07/2010, à 21:06
- xabilon
Re : pb noyau linux [RESOLU]
Je me disais bien aussi
Bon, je ne sais pas pourquoi les nouveaux noyaux ne sont pas pris en compte, mais tu peux par exemple changer tous les "2.6.24-23-generic" en "2.6.24-28-generic", ça te permettra de démarrer sur le dernier installé.
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#19 Le 13/07/2010, à 21:06
- kare
Re : pb noyau linux [RESOLU]
oui et il me propose un menu deroulant me permettant de demarrer sur different noyau.
Hors ligne
#20 Le 13/07/2010, à 21:08
- kare
Re : pb noyau linux [RESOLU]
les changer dans menu.ls?
Hors ligne
#21 Le 13/07/2010, à 21:10
- xabilon
Re : pb noyau linux [RESOLU]
menu.lst, oui
Tu devrais aussi changer la ligne #howmany=1 en #howmany=all
Dernière modification par xabilon (Le 13/07/2010, à 21:12)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#22 Le 13/07/2010, à 21:14
- kare
Re : pb noyau linux [RESOLU]
je vais essayer mais si ca "merdait " au démarrage ,que devrais faire pour relancer ma cession ou modifier grub?
Hors ligne
#23 Le 13/07/2010, à 21:16
- xabilon
Re : pb noyau linux [RESOLU]
Fais d'abord une sauvegarde de ton menu.lst.
Si ça "merde", depuis un LiveCD tu remets la sauvegarde à la place du menu.lst modifié
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#24 Le 13/07/2010, à 21:19
- kare
Re : pb noyau linux [RESOLU]
ok merci
j'essaye et te tiens au courant
Hors ligne
#25 Le 14/07/2010, à 14:17
- kare
Re : pb noyau linux [RESOLU]
bon ca marche mais big pb de carte graphique.
impossible malgré l'installation des drivers de faire marcher ma nvidia
Hors ligne