Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/02/2010, à 13:26

twiny74

[Resolut]Demarrage sur le dernier kernel

Bonjour
Quand je démarre mon PC, je ne n'ai que le kernel: 2,6,31,15 et 14 qui apparaisse (ainsi que memtest et xp)
je ne peut pas booter sur les derniers alors que les kernel 2.6.31.16; 17 et 19 sont dans /boot/grub/menu.lst
(mais pas le 2.6.31.18 hmm)
Malgré mes recherches sur les forums et la doc, je n'ai rien trouvé

Mais je suis novice sous ubuntu roll

Merci

Dernière modification par twiny74 (Le 05/02/2010, à 19:23)

Hors ligne

#2 Le 05/02/2010, à 13:36

sinbad83

Re : [Resolut]Demarrage sur le dernier kernel

Bonjour,
peux-tu envoyer le retour de

cat /boot/grub/menu.lst

La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#3 Le 05/02/2010, à 14:31

twiny74

Re : [Resolut]Demarrage sur le dernier kernel

Bonjour
Voici le résultat
# 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        3

## 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=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe

## 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=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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 9.10, kernel 2.6.31-19-generic
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-19-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro quiet splash
initrd        /boot/initrd.img-2.6.31-19-generic

title        Ubuntu 9.10, kernel 2.6.31-19-generic (recovery mode)
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-19-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro  single
initrd        /boot/initrd.img-2.6.31-19-generic

title        Ubuntu 9.10, kernel 2.6.31-17-generic
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-17-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro quiet splash
initrd        /boot/initrd.img-2.6.31-17-generic

title        Ubuntu 9.10, kernel 2.6.31-17-generic (recovery mode)
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-17-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro  single
initrd        /boot/initrd.img-2.6.31-17-generic

title        Ubuntu 9.10, kernel 2.6.31-16-generic
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-16-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro quiet splash
initrd        /boot/initrd.img-2.6.31-16-generic

title        Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-16-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro  single
initrd        /boot/initrd.img-2.6.31-16-generic

title        Ubuntu 9.10, kernel 2.6.31-15-generic
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-15-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro quiet splash
initrd        /boot/initrd.img-2.6.31-15-generic

title        Ubuntu 9.10, kernel 2.6.31-15-generic (recovery mode)
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-15-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro  single
initrd        /boot/initrd.img-2.6.31-15-generic

title        Ubuntu 9.10, kernel 2.6.31-14-generic
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-14-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro quiet splash
initrd        /boot/initrd.img-2.6.31-14-generic

title        Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/vmlinuz-2.6.31-14-generic root=UUID=1a7199ca-4c45-4ca5-810c-53d0d5af2fbe ro  single
initrd        /boot/initrd.img-2.6.31-14-generic

title        Chainload into GRUB 2
root        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/grub/core.img

title        Ubuntu 9.10, memtest86+
uuid        1a7199ca-4c45-4ca5-810c-53d0d5af2fbe
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

Hors ligne

#4 Le 05/02/2010, à 15:40

sinbad83

Re : [Resolut]Demarrage sur le dernier kernel

Dans ton "Grub", il y a

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

Deux corrections à faire par

gksu gedit /boot/grub/menu.lst &

- ajoute un dièse au début de la ligne hiddenmenu, comme cela tu verras le grub pour choisir
- augmente le temps de démarrage après apparition du Grub: "timeout   20"

D'après le menu.lst, tu devrais démarrer en Ubuntu 9.10, kernel 2.6.31-19-generic. Reboote après avoir enregistré les corrections et explique ce qui se passe.

Dernière modification par sinbad83 (Le 05/02/2010, à 15:43)


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#5 Le 05/02/2010, à 15:59

twiny74

Re : [Resolut]Demarrage sur le dernier kernel

J'ai fait ce que tu m'a demandé mais au démarrage, je n'ai toujours que les kernel 2.6.31.14 et 15 yikes

Et oui j'ai Ubuntu 9.10 sur un Dell VOSTRO 1710

en dual boot avec xp pro (a cause de programme du boulot)

Dernière modification par twiny74 (Le 05/02/2010, à 16:00)

Hors ligne

#6 Le 05/02/2010, à 18:41

twiny74

Re : [Resolut]Demarrage sur le dernier kernel

Up

Hors ligne

#7 Le 05/02/2010, à 18:43

peterp@n

Re : [Resolut]Demarrage sur le dernier kernel

Ben oui c'est pas le fichier menu.lst qu'il faut regarder mais
/boot/grub/grub.cfg.

Dans un terminal, tapes

sudo update-grub

Ubuntu 14.04 64bits, Raspbian “wheezy”, Tango Studio sauce debian
Assistance - Développement - Formations FreeCAD (logiciel 3d)

Hors ligne

#8 Le 05/02/2010, à 18:51

twiny74

Re : [Resolut]Demarrage sur le dernier kernel

Bonjour

voila le resultat

marc@marc-laptop:~$ sudo update-grub
[sudo] password for marc: 
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.31-19-generic
Found kernel: /boot/vmlinuz-2.6.31-17-generic
Found kernel: /boot/vmlinuz-2.6.31-16-generic
Found kernel: /boot/vmlinuz-2.6.31-15-generic
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Hors ligne

#9 Le 05/02/2010, à 18:58

peterp@n

Re : [Resolut]Demarrage sur le dernier kernel

mmhh,
bizar que ça parle de menu.lst
Fais un

grub-install -v

Ubuntu 14.04 64bits, Raspbian “wheezy”, Tango Studio sauce debian
Assistance - Développement - Formations FreeCAD (logiciel 3d)

Hors ligne

#10 Le 05/02/2010, à 19:01

twiny74

Re : [Resolut]Demarrage sur le dernier kernel

voila

marc@marc-laptop:~$ grub-install -v
grub-install (GNU GRUB 0.97)
marc@marc-laptop:~$

Hors ligne

#11 Le 05/02/2010, à 19:05

peterp@n

Re : [Resolut]Demarrage sur le dernier kernel

hum
je te conseil de faire une mise à niveau depuis grub legacy comme indiqué ici


Ubuntu 14.04 64bits, Raspbian “wheezy”, Tango Studio sauce debian
Assistance - Développement - Formations FreeCAD (logiciel 3d)

Hors ligne

#12 Le 05/02/2010, à 19:06

twiny74

Re : [Resolut]Demarrage sur le dernier kernel

Ok je fait ça

merci

Edit: j'ai fait ce que tu m'a dis et ça marche

je passe ce fil en résolut

Merci bien

Dernière modification par twiny74 (Le 05/02/2010, à 19:22)

Hors ligne

#13 Le 05/02/2010, à 20:02

peterp@n

Re : [Resolut]Demarrage sur le dernier kernel

De rien smile


Ubuntu 14.04 64bits, Raspbian “wheezy”, Tango Studio sauce debian
Assistance - Développement - Formations FreeCAD (logiciel 3d)

Hors ligne