erlug
[Top] [All Lists]

[Erlug] menù di grub non appare...

To: erlug@xxxxxxxxxxxxxx
Subject: [Erlug] menù di grub non appare...
From: "iw4blg" <iw4blg@xxxxxxxxxxx>
Date: Wed, 01 Dec 2010 20:42:39 +0100
Ciao a tutti, 

sul mio PC ho una Ubuntu 10.04 e il grub 2.
Al boot, avvia direttamente l'OS di deafult senza farmi apparire il menù
di scelta.. che poi di scelte ci sarebbero solo il modo d'emergenza ed i
test delal RAM.. cmq sia, lo vorrei vedere..
Ho controllato varie impostazioni, ma non ho trovato nulla che mi
spieghi..
Di seguito metto il mio grub.cfg che "riassume" nel suo linguaggio le
varie impsotazioni se ben capisco..
Mi potete aiutare voi a capire?
Grazie!
Pierluigi
----------------------------------
#
# 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
}
if terminal_input console ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal console
fi
if terminal_output console ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_output
  terminal console
fi
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=69
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.32-26-generic' --class ubuntu --class
gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd1,6)'
        search --no-floppy --fs-uuid --set c134fc29-902a-4178-b7fb-0282137b0986
        linux   /vmlinuz-2.6.32-26-generic root=UUID=fddb16a3-4485-4e22-bc5e-
d29066750b2b ro vga=794
        initrd  /initrd.img-2.6.32-26-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-26-generic (recovery mode)' --class
ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd1,6)'
        search --no-floppy --fs-uuid --set c134fc29-902a-4178-b7fb-0282137b0986
        echo    'Loading Linux 2.6.32-26-generic ...'
        linux   /vmlinuz-2.6.32-26-generic root=UUID=fddb16a3-4485-4e22-bc5e-
d29066750b2b ro single vga=794
        echo    'Loading initial ramdisk ...'
        initrd  /initrd.img-2.6.32-26-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod ext2
        set root='(hd1,6)'
        search --no-floppy --fs-uuid --set c134fc29-902a-4178-b7fb-0282137b0986
        linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd1,6)'
        search --no-floppy --fs-uuid --set c134fc29-902a-4178-b7fb-0282137b0986
        linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --verbose --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### 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 ###



<Prev in Thread] Current Thread [Next in Thread>