[CBLX] un update-grub qui ne change rien

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Bonjour.
C'est etrange, j'arrive pas à configurer grub.cfg, quand je fais update-grub
on dirait que la mayo ne prends pas :-)
 
Dans /etc/default/grub je met le grub_defaul= sur 3 au lieu de 0,
ainsi il démarre en principe le 1er des précédents kernels, ici le 4.4.0-141
qui ne posait pas le problème de login incorrect causé par le -142 d'il y a
qqs jours, cf. askubuntu.com où qq'un y confirme ce même constat. 

Comment tracer ce qui déconne ?
Et ne puis-je absolument pas editer grub.cfg même juste une fois pour
pouvoir ensuite supprimer le kernel 4.4.0-142 ? 
 
Mon /etc/default/grub:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=3
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="480 440 1"

#  

Pourquoi 3 ? 
Cf. grep Linux /boot/grub/grub.cfg:

	menuentry 'Ubuntu, met Linux 4.4.0-142-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-142-generic-advanced-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-142-generic...'
	menuentry 'Ubuntu, with Linux 4.4.0-142-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-142-generic-init-upstart-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-142-generic...'
	menuentry 'Ubuntu, with Linux 4.4.0-142-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-142-generic-recovery-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-142-generic...'
	menuentry 'Ubuntu, met Linux 4.4.0-141-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-141-generic-advanced-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-141-generic...'
	menuentry 'Ubuntu, with Linux 4.4.0-141-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-141-generic-init-upstart-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-141-generic...'
	menuentry 'Ubuntu, with Linux 4.4.0-141-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-141-generic-recovery-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-141-generic...'
	menuentry 'Ubuntu, met Linux 4.4.0-140-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-140-generic-advanced-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-140-generic...'
	menuentry 'Ubuntu, with Linux 4.4.0-140-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-140-generic-init-upstart-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-140-generic...'
	menuentry 'Ubuntu, with Linux 4.4.0-140-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-140-generic-recovery-19711537-0f56-4fbb-9744-a488b500c317' {
		echo	'Laden van Linux 4.4.0-140-generic...'

.... etc ... 

Puis-je en prinncipe par la suite supprimer le kernel bugué par:
sudo su && apt-get remove linux-headers-4.4.0-142* linux-image-4.4.0-142*
en espérant que ça veut pas supprimer plus que ce qu'il faut ?

Aldo.

-- 
   CBLX - CarrefourBLinuX MailingListe 
   Pour obtenir de l'aide, envoyez le sujet  help  à: 
   carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
   Archives: 
   http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux
   ou 
   http://www.mail-archive.com/carrefourblinux@xxxxxxxxxxxxxxxxxxx/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/