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 17/10/2010, à 14:57

marille

Temps de choix de système au démarrage

Bonjour,
Je viens d'installer Kubuntu 10.10 mais en conservant mon double boot. Or lors du démarrage de mon ordinateur j'aperçois un dixième de seconde l'écran des choix entre kubuntu et windows, mais pas moyen de le faire stopper pour faire mon choix.

J'ai lu qu'il fallait modifier le fichier /etc/default/grub et changer GRUB_TIMEOUT et ensuite faire taper update-grub. J'ai essayé de mette 20 secondes ou alors -1 (stoppé tant que l'utilisateur ne se manifeste pas). Mais cela ne change rien.

J'ai aussi lu qu'il fallait appuyer sur le touche "Shift" au démarrage. Mais ça ne fonctionne pas non plus.

Voici le contenu de mon fichier grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#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_LINUX_RECOVERY="true"

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

Voilà si vous avez des idées vous êtes les bienvenus !
Merci bien

Hors ligne

#2 Le 17/10/2010, à 15:51

jrev

Re : Temps de choix de système au démarrage

Voici mon grub.cfg sur Ubuntu 10.04
Il est visible au démarrage s'arrête 10 secondes sur les choix possibles puis démarre le premier choix
J'ai demandé aussi que le boot soit montré en détails
smile
jean@jean:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    linux    /boot/vmlinuz-2.6.32-25-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro   
    initrd    /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    echo    'Chargement de Linux 2.6.32-25-generic ...'
    linux    /boot/vmlinuz-2.6.32-25-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro   
    initrd    /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    echo    'Chargement de Linux 2.6.32-24-generic ...'
    linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    linux    /boot/vmlinuz-2.6.32-22-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro   
    initrd    /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-22-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    echo    'Chargement de Linux 2.6.32-22-generic ...'
    linux    /boot/vmlinuz-2.6.32-22-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro   
    initrd    /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-21-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    echo    'Chargement de Linux 2.6.32-21-generic ...'
    linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=6e7a27fb-0839-44de-a321-8908205bebdc ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 6e7a27fb-0839-44de-a321-8908205bebdc
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
jean@jean:~$

Dernière modification par jrev (Le 17/10/2010, à 15:53)


Mal nommer les choses, c'est ajouter au malheur du monde

Hors ligne

#3 Le 17/10/2010, à 16:12

marille

Re : Temps de choix de système au démarrage

Bonjour,
Merci de ta réponse.
Je ne vois pourtant pas de différence importante avec le mien :

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set f5309cc9-da5e-4875-a10a-a694a91c741e
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set f5309cc9-da5e-4875-a10a-a694a91c741e
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=20
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set f5309cc9-da5e-4875-a10a-a694a91c741e
        linux   /boot/vmlinuz-2.6.35-22-generic root=UUID=f5309cc9-da5e-4875-a10a-a694a91c741e ro   quiet splash
        initrd  /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set f5309cc9-da5e-4875-a10a-a694a91c741e
        echo    'Loading Linux 2.6.35-22-generic ...'
        linux   /boot/vmlinuz-2.6.35-22-generic root=UUID=f5309cc9-da5e-4875-a10a-a694a91c741e ro single 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set f5309cc9-da5e-4875-a10a-a694a91c741e
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set f5309cc9-da5e-4875-a10a-a694a91c741e
        linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professionnel (on /dev/sda1)" {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 9290372390370d6b
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Hors ligne

#4 Le 17/10/2010, à 16:17

figaro

Re : Temps de choix de système au démarrage

Esc et tu bloques le menu


Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04

Hors ligne

#5 Le 17/10/2010, à 16:31

marille

Re : Temps de choix de système au démarrage

J'ai essayé Esc qui en effet bloque l'avancement du démarrage sauf que le temps d'affichage des choix est tellement court que je ne parviens pas à bloquer au bon moment (au moins 10 essais)
quelqu'un aurait-il une solution plus facile à mettre en œuvre ?

Hors ligne

#6 Le 17/10/2010, à 16:50

figaro

Re : Temps de choix de système au démarrage

Fais voir ton /etc/default/grub

cat  /etc/default/grub

Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04

Hors ligne

#7 Le 17/10/2010, à 16:58

marille

Re : Temps de choix de système au démarrage

Le voici :

laptop:~$ cat  /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=20
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_LINUX_RECOVERY="true"

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

Hors ligne

#8 Le 17/10/2010, à 17:03

figaro

Re : Temps de choix de système au démarrage

Tout est OK fais

sudo update-grub

Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04

Hors ligne

#9 Le 17/10/2010, à 17:12

marille

Re : Temps de choix de système au démarrage

Je l'ai déjà fait...
et ça ne change rien...

Hors ligne

#10 Le 17/10/2010, à 17:14

figaro

Re : Temps de choix de système au démarrage

Tu n'aurais pas un autre linux installé ? Sinon c'est un bug de ta version 10.10 ..... un de plus .... sad

Dernière modification par figaro (Le 17/10/2010, à 17:16)


Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04

Hors ligne

#11 Le 17/10/2010, à 17:25

marille

Re : Temps de choix de système au démarrage

Euh j'ai juste Kubuntu 10.10 d'installé... avant j'avais 10.04 qui ne fonctionnait plus du tout (écran noir au démarrage) et du coup j'ai refait l'installation avec le live cd.

Hors ligne

#12 Le 23/10/2010, à 07:46

jrev

Re : Temps de choix de système au démarrage

réinstalle la 10.04 c'est plus sûr smile


Mal nommer les choses, c'est ajouter au malheur du monde

Hors ligne