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 12/02/2014, à 14:49

DZ

Pas de Grub au démarrage

Bonjour,

je découvre en ce moment xubuntu 13.10.

Bien que j'ai souhaité que le grub reste 2 secondes à l'écran avant de disparaitre, je ne le vois jamais à l'écran.
J'ai tenté un boot-repair, voici ce que j'obtiens

Pour résumer :

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

J'ai même essayé de l'afficher en mode console, mais en vain.

Il aurait pu s'installer au mauvais endroit ? Je n'ai fais qu'une partition unique sur le ssd pourtant. J'aurai voulu m'assurer de pouvoir démarrer en mode console root en cas de problème et donc résoudre ce problème.

Merci d'avance !

Hors ligne

#2 Le 12/02/2014, à 15:04

malbo

Re : Pas de Grub au démarrage

Ton Boot-Info est là :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    in partition 94 for .

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 13.10 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   113,356,799   113,354,752  83 Linux
/dev/sda2         113,358,846   117,229,567     3,870,722   5 Extended
/dev/sda5         113,358,848   117,229,567     3,870,720  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0   ext4       
/dev/sda5        50a3b78c-aa60-4622-918a-82011566fdd1   swap       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /                        ext4       (rw,errors=remount-ro)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# 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 [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_input console
terminal_output console
if [ "${recordfail}" = 1 ]; then
  set timeout=2
else
  set timeout=2
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 ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0' {
recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
	else
	  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
	fi
	linux	/boot/vmlinuz-3.11.0-15-generic root=UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.11.0-15-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0' {
	menuentry 'Ubuntu, with Linux 3.11.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-15-generic-advanced-d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0' {
	recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		else
		  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		fi
		echo	'Loading Linux 3.11.0-15-generic ...'
		linux	/boot/vmlinuz-3.11.0-15-generic root=UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.11.0-15-generic
	}
	menuentry 'Ubuntu, with Linux 3.11.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-15-generic-recovery-d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0' {
	recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		else
		  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		fi
		echo	'Loading Linux 3.11.0-15-generic ...'
		linux	/boot/vmlinuz-3.11.0-15-generic root=UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.11.0-15-generic
	}
	menuentry 'Ubuntu, with Linux 3.11.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-advanced-d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0' {
	recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		else
		  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		fi
		echo	'Loading Linux 3.11.0-12-generic ...'
		linux	/boot/vmlinuz-3.11.0-12-generic root=UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.11.0-12-generic
	}
	menuentry 'Ubuntu, with Linux 3.11.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-recovery-d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0' {
	recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		else
		  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
		fi
		echo	'Loading Linux 3.11.0-12-generic ...'
		linux	/boot/vmlinuz-3.11.0-12-generic root=UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.11.0-12-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,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
	else
	  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
	fi
	linux16	/boot/memtest86+.bin
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
	else
	  search --no-floppy --fs-uuid --set=root d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0
	fi
	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/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=50a3b78c-aa60-4622-918a-82011566fdd1 none            swap    sw              0       0

tmpfs	/tmp			tmpfs	defaults,size=1g					0	0
tmpfs	/var/log		tmpfs	defaults,nosuid,nodev,noatime,mode=0755,size=5%		0	0
tmpfs	/home/atawa/.cache	tmpfs	defaults,size=1g					0	0
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


=============================== StdErr Messages: ===============================

cat: write error: Broken pipe
cat: /tmp/BootInfo-gvluQYOH/Tmp_Log: No such file or directory

ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-02-12__14h37 ===================
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
boot-repair is executed in installed-session (Ubuntu 13.10, saucy, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic root=UUID=d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0 ro

=================== os-prober:
/dev/sda1:L'OS actuellement utilisé - Ubuntu 13.10 CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="d6c0707e-12e6-491c-9b3b-5cc7d9e6c5f0" TYPE="ext4"
/dev/sda5: UUID="50a3b78c-aa60-4622-918a-82011566fdd1" TYPE="swap"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 févr. 11 18:23 grub.d
total 72
-rwxr-xr-x 1 root root  7850 oct.  10 19:48 00_header
-rwxr-xr-x 1 root root  5949 août  15 10:26 05_debian_theme
-rwxr-xr-x 1 root root 11479 oct.  10 19:48 10_linux
-rwxr-xr-x 1 root root 10258 oct.  10 19:48 20_linux_xen
-rwxr-xr-x 1 root root  1798 juin  17  2013 20_memtest86+
-rwxr-xr-x 1 root root 11531 oct.  10 19:48 30_os-prober
-rwxr-xr-x 1 root root  1426 oct.  10 19:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  10 19:48 40_custom
-rwxr-xr-x 1 root root   216 oct.  10 19:48 41_custom
-rw-r--r-- 1 root root   483 oct.  10 19:48 README




=================== /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=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=2
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"



=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0000000078fe9000 0003E (v01 PTL    OEMTABLE 00000002 PTL  00000002)
[    0.000000] ACPI: UEFI 0000000078fe8000 00042 (v01 PTL      COMBUF 00000001 PTL  00000001)
[    0.000000] ACPI: UEFI 0000000078fe6000 00256 (v01 PTL    OEMTABLE 00000002 PTL  00000002)
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes


=================== parted -l:

Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
1      1049kB  58.0GB  58.0GB  primary   ext4            boot
2      58.0GB  60.0GB  1982MB  extended
5      58.0GB  60.0GB  1982MB  logical   linux-swap(v1)

=================== parted -lm:

BYT;
/dev/sda:60.0GB:scsi:512:512:msdos:ATA KINGSTON SV300S3;
1:1049kB:58.0GB:58.0GB:ext4::boot;
2:58.0GB:60.0GB:1982MB:::;
5:58.0GB:60.0GB:1982MB:linux-swap(v1)::;


=================== mount:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /tmp type tmpfs (rw,size=1g)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
tmpfs on /var/log type tmpfs (rw,nosuid,nodev,noatime,mode=0755,size=5%)
tmpfs on /home/atawa/.cache type tmpfs (rw,size=1g)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=atawa)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 shm snapshot snd stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net watchdog watchdog0 zero
ls /dev/mapper:  control

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda1      ext4       54G  9.1G   42G  19% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  880M   12K  880M   1% /dev
tmpfs          tmpfs     1.0G   16K  1.0G   1% /tmp
tmpfs          tmpfs     178M  1.1M  177M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     890M   80K  890M   1% /run/shm
none           tmpfs     100M   20K  100M   1% /run/user
tmpfs          tmpfs      89M  5.5M   84M   7% /var/log
tmpfs          tmpfs     1.0G   26M  999M   3% /home/atawa/.cache

=================== fdisk -l:

Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a4ba5

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   113356799    56677376   83  Linux
/dev/sda2       113358846   117229567     1935361    5  Extended
/dev/sda5       113358848   117229567     1935360   82  Linux swap / Solaris



=================== Default settings
Recommended-Repair
This setting would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s

=================== Settings chosen by the user
Custom-Repair
This setting will reinstall the grub2 of sda1 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-2s


Unhide GRUB boot menu in sda1/etc/default/grub

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0106] (rev 09)
Subsystem: Intel Corporation Device [8086:2211]
Kernel driver in use: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
*******

grub-install (GRUB) 2.00-19ubuntu2.1,grub-install (GRUB) 2.

Reinstall the GRUB of sda1 into the MBR of sda
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0

update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
Unhide GRUB boot menu in sda1/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

EDIT : J'ai proféré une connerie : il faut suivre les indications de marcodel et de jeanjd63 ---> C'est normal : quand il n'y a que Ubuntu comme seul OS dans l'ordi, Grub n'affiche pas le menu au démarrage. Dans ce cas, si on souhaite faire apparaître le menu Grub au démarrage, on ne peut le faire que manuellement (à ma connaissance) en maintenant enfoncée la touche SHIFT au démarrage de l'ordi : je veux dire qu'il n'y a pas de possibilité de forcer l'affichage du menu.

Dernière modification par malbo (Le 12/02/2014, à 19:14)

Hors ligne

#3 Le 12/02/2014, à 16:45

marcodel

Re : Pas de Grub au démarrage

salut

malbo a écrit :

   on ne peut le faire que manuellement (à ma connaissance) en maintenant enfoncée la touche SHIFT au démarrage de l'ordi : je veux dire qu'il n'y a pas de possibilité de forcer l'affichage du menu

si on peut en modifiant cette ligne :

 GRUB_HIDDEN_TIMEOUT=0 

par :

#GRUB_HIDDEN_TIMEOUT=0

pour modifier :

sudo gedit /etc/default/grub

a+

Hors ligne

#4 Le 12/02/2014, à 17:45

Compte anonymisé

Re : Pas de Grub au démarrage

Salut

Puis valider par un :
sudo  update-grub

@+

#5 Le 12/02/2014, à 17:52

Babdu89

Re : Pas de Grub au démarrage

Bonjour.

On augmente le temps d'affichage du menu Grub en changeant la valeur dans;

GRUB_TIMEOUT=2

Après enregistrement des modifs, suivi d'un

sudo  update-grub

Pour mettre Grub à jour.

2 secondes d'affichage du menu Grub actuellement.

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#6 Le 12/02/2014, à 19:14

malbo

Re : Pas de Grub au démarrage

Merci de m'avoir repris : marcodel a raison et ça fonctionne bien comme il dit mais il faut ensuite passer la commande "sudo  update-grub" comme l'a dit jeanjd63.

Hors ligne

#7 Le 14/02/2014, à 12:08

DZ

Re : Pas de Grub au démarrage

J'avais essayé avec le # également mais ça n'avait rien donné.

Ce matin à force de redémarrer j'ai fini par voir le grub en éclair. Je me demande si en fait l'affichage vidéo ne "saute pas" entre la sortie de l'écran phoenix, et l'arrivée du grub. Du coup peut-être que 2 secondes ne suffisent pas, je vais tester ça tout à l'heure.

Hors ligne

#8 Le 14/02/2014, à 12:36

Compte anonymisé

Re : Pas de Grub au démarrage

Mets 10 secondes c'est + sûr.

#9 Le 14/02/2014, à 17:09

DZ

Re : Pas de Grub au démarrage

Bizarrement ça n'arrange rien.
Visiblement c'est plutôt une question de sorties activées.

Sur ce PC il y a une sortie LVDS, une VGA, et une DVI. Il semblerait que l'apparition du grub dépende également de ce qui est branché ou non.

Hors ligne

#10 Le 14/02/2014, à 17:10

Compte anonymisé

Re : Pas de Grub au démarrage

Tu es branché sur quelle sortie ? Teste la VGA seule.

#11 Le 14/02/2014, à 22:58

Babdu89

Re : Pas de Grub au démarrage

Bonsoir.

Tient, un fichier /etc/default/grub  sur un Ubuntu installé tout seul sur une clé usb (test de maj de l'OS) la clé seule sur la machine sans hdd branché.

C'est la clé qui fait marcher la machine.


# 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=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_RECOVERY="true"

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

Démarrage de la machine avec affichage du menu grub pendant 20 secondes.

Mettre;

GRUB_HIDDEN_TIMEOUT=0 ===> #GRUB_HIDDEN_TIMEOUT=0

et

GRUB_TIMEOUT=2   ==> GRUB_TIMEOUT=20

Enregistrer ,et faire la maj de Grub.

sudo update-grub

Rebooter, et voir ce que çà donne...

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne