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/12/2014, à 17:33

soujaa

[RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Salut ubunteros!
J'ai un Gateway model SX2185 avec uefi. Je me suis fait le plaisir de totalement supprimer Wiwdows 8. Jỳ ai installer Kubuntu 14.04, tout fonctionne à merveille sauf le démarrage. Au premier démarrage l'ordi signal qu'il n'y as de disque pour booter, j’éteins et rallume et à la seconde tentative kubuntu démarre roll C'est chaque fois la même chose....
Malgré l'installation de boot repair  rien n'a encore changé.
Voici mon boot-info
Merci a tous pour votre aide.
Boot-info

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


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

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.1 LTS 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/extlinux/extlinux.conf

sda3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2       1,050,624   969,568,255   968,517,632 Data partition (Linux)
/dev/sda3     969,568,256   976,771,071     7,202,816 Swap partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        77F1-D228                              vfat       
/dev/sda2        879080a7-06eb-436f-9e54-c616cda7eca2   ext4       
/dev/sda3        af8223a5-ae69-4af8-a0bf-e69e92145060   swap       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Dec 17 07:48 ata-PIONEER_DVD-RW_DVR-220RS_MFQC323955WL -> ../../sr0
lrwxrwxrwx 1 root root  9 Dec 17 10:09 ata-ST500DM002-1BD142_S2AHRAZ8 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 17 07:48 ata-ST500DM002-1BD142_S2AHRAZ8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 17 07:48 ata-ST500DM002-1BD142_S2AHRAZ8-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 17 07:48 ata-ST500DM002-1BD142_S2AHRAZ8-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Dec 17 10:09 wwn-0x5000c50062014f5e -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 17 07:48 wwn-0x5000c50062014f5e-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 17 07:48 wwn-0x5000c50062014f5e-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 17 07:48 wwn-0x5000c50062014f5e-part3 -> ../../sda3

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

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw)
/dev/sda2        /                        ext4       (rw,errors=remount-ro)


=========================== sda2/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
else
  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_CA
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
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
#set_background_image "images/tile.png";

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi
### 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-879080a7-06eb-436f-9e54-c616cda7eca2' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
	else
	  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
	fi
	linux	/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-43-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
	menuentry 'Ubuntu, with Linux 3.13.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-43-generic ...'
		linux	/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-recovery-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-43-generic ...'
		linux	/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-41-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-41-generic-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-41-generic ...'
		linux	/boot/vmlinuz-3.13.0-41-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-41-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-41-generic-recovery-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-41-generic ...'
		linux	/boot/vmlinuz-3.13.0-41-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-41-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-24-generic ...'
		linux	/boot/vmlinuz-3.13.0-24-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-24-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-24-generic ...'
		linux	/boot/vmlinuz-3.13.0-24-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-24-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/25_custom ###

menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root 77F1-D228
chainloader (${root})/EFI/ubuntu/MokManager.efi
}
### END /etc/grub.d/25_custom ###

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=879080a7-06eb-436f-9e54-c616cda7eca2 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=77F1-D228  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda3 during installation
UUID=af8223a5-ae69-4af8-a0bf-e69e92145060 none            swap    sw              0       0
UUID=77F1-D228	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

====================== sda2/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

============== sda2: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)


ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-12-17__10h09 ===================
boot-repair version : 4ppa22
boot-sav version : 4ppa22
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa22
boot-repair is executed in installed-session (Ubuntu 14.04.1 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro quiet splash vt.handoff=7

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 14.04.1 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="77F1-D228" TYPE="vfat"
/dev/sda2: UUID="879080a7-06eb-436f-9e54-c616cda7eca2" TYPE="ext4"
/dev/sda3: UUID="af8223a5-ae69-4af8-a0bf-e69e92145060" TYPE="swap"


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


Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 déc 14 18:32 grub.d
drwxr-xr-x  2 root root     4096 déc 11 02:17 grub.d.bak
total 76
-rwxr-xr-x 1 root root  9424 mai 15  2014 00_header
-rwxr-xr-x 1 root root  6058 mai  8  2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 mai 15  2014 10_linux
-rwxr-xr-x 1 root root 10412 mai 15  2014 20_linux_xen
-rwxr-xr-x 1 root root   170 déc 14 18:32 25_custom
-rwxr-xr-x 1 root root 11692 mai 15  2014 30_os-prober
-rwxr-xr-x 1 root root  1416 mai 15  2014 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mai 15  2014 40_custom
-rwxr-xr-x 1 root root   216 mai 15  2014 41_custom
-rw-r--r-- 1 root root   483 mai 15  2014 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=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"



/boot/efi detected in the fstab of sda2: UUID=77F1-D228	 (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000  Windows Boot Manager	Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* UEFI: ST500DM002-1BD142	ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/boot/efi.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	has-os,	2048 sectors * 512 bytes


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

Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system     Name  Flags
1      1049kB  538MB  537MB   fat32                 boot
2      538MB   496GB  496GB   ext4
3      496GB   500GB  3688MB  linux-swap(v1)

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

BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:496GB:496GB:ext4::;
3:496GB:500GB:3688MB:linux-swap(v1)::;


=================== mount:
/dev/sda2 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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
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)
/dev/sda1 on /boot/efi type vfat (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)


=================== 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 sda3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control
ls /boot/efi/1:

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 10 00 fe 03 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 28 d2 f1 77 4e  4f 20 4e 41 4d 45 20 20  |..)(..wNO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda2      ext4      455G  195G  238G  46% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  1.7G   12K  1.7G   1% /dev
tmpfs          tmpfs     332M  1.4M  331M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     1.7G  148K  1.7G   1% /run/shm
none           tmpfs     100M   20K  100M   1% /run/user
/dev/sda1      vfat      511M  3.8M  508M   1% /boot/efi

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

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x07c0868e

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   976773167   488386583+  ee  GPT
Partition 1 does not start on physical sector boundary.




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 14.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


=================== User settings
The settings chosen by the user will not act on the boot.

Dernière modification par soujaa (Le 19/12/2014, à 18:42)

Hors ligne

#2 Le 17/12/2014, à 18:17

kalunux

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonjour,

Peux-tu ouvrir ta partition sda1 via ton gestionnaire de fichiers et copier/coller cette commande dans un terminal :

lsblk

Puis, copie/colle le retour.

Hors ligne

#3 Le 17/12/2014, à 18:22

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Depuis une session de ton Kubuntu installé, pourrais-tu passer la commande suivante :

sudo efibootmgr -v

puis le commande :

sudo grub-install 

et enfin (pour comparer avec le résultat de la première commande) :

sudo efibootmgr -v

Je te prie de coller tout ce qui s'affiche dans le terminal (colle le pavé complet) dans ta réponse pour qu'on puisse bien voir les commandes passées et leur résultat.

Hors ligne

#4 Le 17/12/2014, à 18:47

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

J'ai suivie les instructions de Malbo.
j'obtien

assoua@assoua-SX2185:~$ sudo efibootmgr -v
[sudo] password for assoua: 
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000  Windows Boot Manager  Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* UEFI: ST500DM002-1BD142       ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)..BO
assoua@assoua-SX2185:~$ sudo grub-install 
Installing for x86_64-efi platform.
Installation terminée, sans erreur.
assoua@assoua-SX2185:~$ sudo efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0000
Boot0000  Windows Boot Manager  Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* UEFI: ST500DM002-1BD142       ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)..BO
Boot0002* ubuntu        HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)File(\EFI\ubuntu\shimx64.efi)
assoua@assoua-SX2185:~$                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Hors ligne

#5 Le 17/12/2014, à 18:59

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

OK, le résultat de la dernière commande indique que le démarrage par défaut de ton ordi devrait se faire sur l'entrée "Boot0002* ubuntu" qui a été créée dans ton système UEFI. Vérifie si tes symptômes au démarrage sont toujours là.

Hors ligne

#6 Le 17/12/2014, à 19:05

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

J'ai vérifié et rien n'a changé .....Toujours un echec de demarrage sur deux
a kalunux
Comment ouvrir sda1?

assoua@assoua-SX2185:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465,8G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
├─sda2   8:2    0 461,8G  0 part /
└─sda3   8:3    0   3,4G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom  
assoua@assoua-SX2185:~$ ^C

Ok kalunux j'ai ouvert dev/sda1 avec dolphin taper la commade lsbik

assoua@assoua-SX2185:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465,8G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
├─sda2   8:2    0 461,8G  0 part /
└─sda3   8:3    0   3,4G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom  
assoua@assoua-SX2185:~$ 

Dernière modification par soujaa (Le 17/12/2014, à 19:19)

Hors ligne

#7 Le 17/12/2014, à 19:34

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Au démarrage de l'ordi, tu appuies sur la touche E quand tu vois le menu Grub afin d'éditer le choix sélectionné par défaut (l'entrée "ubuntu"),
tu navigues avec les flèches jusqu’à la ligne "gfxmode $linux_gfx_mode" et tu supprimes cette ligne puis tu valides ça par la touche F10. Vérifie si avec cette procédure - lourdingue mais c'est pour investiguer le pb, ce ne sera pas à faire à chaque fois - tu n'as plus la problème d'échec au premier démarrage. Je te propose ça parce que j'ai déjà vu le cas ici : http://forum.ubuntu-fr.org/viewtopic.php?id=1076111

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

Hors ligne

#8 Le 17/12/2014, à 20:04

kalunux

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

@soujaa
Suit les instructions de Malbo.

Dernière modification par kalunux (Le 17/12/2014, à 20:05)

Hors ligne

#9 Le 18/12/2014, à 06:30

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Salut Salut
J'ai bien supprimé la ligne "gfxmode \$linux_gfx_mode". Mais, désolé c'est toujours le même problème...

sudo kate /etc/grub.d/10_linux

donne

#! /bin/sh
set -e

# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010  Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.

prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
ubuntu_recovery="1"
quiet_boot="1"
quick_boot="1"
gfxpayload_dynamic="1"
vt_handoff="1"

. "${datarootdir}/grub/grub-mkconfig_lib"

export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"

CLASS="--class gnu-linux --class gnu --class os"

if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
  OS=GNU/Linux
else
  case ${GRUB_DISTRIBUTOR} in
    Ubuntu|Kubuntu)
      OS="${GRUB_DISTRIBUTOR}"
      ;;
    *)
      OS="${GRUB_DISTRIBUTOR} GNU/Linux"
      ;;
  esac
  CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
fi

# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
  /dev/loop/*|/dev/loop[0-9])
    GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
    # We can't cope with devices loop-mounted from files here.
    case ${GRUB_DEVICE} in
      /dev/*) ;;
      *) exit 0 ;;
    esac
  ;;
esac

if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
    || uses_abstraction "${GRUB_DEVICE}" lvm; then
  LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
  LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi

case x"$GRUB_FS" in
    xbtrfs)
	rootsubvol="`make_system_path_relative_to_its_root /`"
	rootsubvol="${rootsubvol#/}"
	if [ "x${rootsubvol}" != x ]; then
	    GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
	fi;;
    xzfs)
	rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
	bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
	LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
	;;
esac

title_correction_code=

if [ -x /lib/recovery-mode/recovery-menu ]; then
    GRUB_CMDLINE_LINUX_RECOVERY=recovery
else
    GRUB_CMDLINE_LINUX_RECOVERY=single
fi
if [ "$ubuntu_recovery" = 1 ]; then
    GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY nomodeset"
fi

if [ "$vt_handoff" = 1 ]; then
  for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
    if [ "$word" = splash ]; then
      GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
    fi
  done
fi

linux_entry ()
{
  os="$1"
  version="$2"
  type="$3"
  args="$4"

  if [ -z "$boot_device_id" ]; then
      boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
  fi
  if [ x$type != xsimple ] ; then
      case $type in
	  recovery)
	      title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" ;;
	  *)
	      title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
      esac
      if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
	  replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
	  quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
	  title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
	  grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
      fi
      echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  else
      echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  fi      
  if [ "$quick_boot" = 1 ]; then
      echo "	recordfail" | sed "s/^/$submenu_indentation/"
  fi
  if [ x$type != xrecovery ] ; then
      save_default_entry | grub_add_tab
  fi

  # Use ELILO's generic "efifb" when it's known to be available.
  # FIXME: We need an interface to select vesafb in case efifb can't be used.
  if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
      echo "	load_video" | sed "s/^/$submenu_indentation/"
  else
      if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
	  echo "	load_video" | sed "s/^/$submenu_indentation/"
      fi
  fi
  if ([ "$ubuntu_recovery" = 0 ] || [ x$type != xrecovery ]) && \
     ([ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 1 ]); then
      echo "	" | sed "s/^/$submenu_indentation/"
  fi

  echo "	insmod gzio" | sed "s/^/$submenu_indentation/"

  if [ x$dirname = x/ ]; then
    if [ -z "${prepare_root_cache}" ]; then
      prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | grub_add_tab)"
    fi
    printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
  else
    if [ -z "${prepare_boot_cache}" ]; then
      prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
    fi
    printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
  fi
  if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
    message="$(gettext_printf "Loading Linux %s ..." ${version})"
    sed "s/^/$submenu_indentation/" << EOF
	echo	'$(echo "$message" | grub_quote)'
EOF
  fi
  if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
    sed "s/^/$submenu_indentation/" << EOF
	linux	${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
EOF
  else
    sed "s/^/$submenu_indentation/" << EOF
	linux	${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
  fi
  if test -n "${initrd}" ; then
    # TRANSLATORS: ramdisk isn't identifier. Should be translated.
    if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
      message="$(gettext_printf "Loading initial ramdisk ...")"
      sed "s/^/$submenu_indentation/" << EOF
	echo	'$(echo "$message" | grub_quote)'
EOF
    fi
    sed "s/^/$submenu_indentation/" << EOF
	initrd	${rel_dirname}/${initrd}
EOF
  fi
  sed "s/^/$submenu_indentation/" << EOF
}
EOF
}

machine=`uname -m`
case "x$machine" in
    xi?86 | xx86_64)
	list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
                  if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
              done` ;;
    *) 
	list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do
                  if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
	     done` ;;
esac

case "$machine" in
    i?86) GENKERNEL_ARCH="x86" ;;
    mips|mips64) GENKERNEL_ARCH="mips" ;;
    mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
    arm*) GENKERNEL_ARCH="arm" ;;
    *) GENKERNEL_ARCH="$machine" ;;
esac

prepare_boot_cache=
prepare_root_cache=
boot_device_id=
title_correction_code=

cat << 'EOF'
function gfxmode {
	set gfxpayload="${1}"
EOF
if [ "$vt_handoff" = 1 ]; then
  cat << 'EOF'
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
EOF
fi
cat << EOF
}
EOF

# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 0 ]; then
  echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
  cat << EOF
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
EOF
fi
cat << EOF
export linux_gfx_mode
EOF

# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""

is_top_level=true
while [ "x$list" != "x" ] ; do
  linux=`version_find_latest $list`
  case $linux in
    *.efi.signed)
      # We handle these in linux_entry.
      list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
      continue
      ;;
  esac
  gettext_printf "Found linux image: %s\n" "$linux" >&2
  basename=`basename $linux`
  dirname=`dirname $linux`
  rel_dirname=`make_system_path_relative_to_its_root $dirname`
  version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
  alt_version=`echo $version | sed -e "s,\.old$,,g"`
  linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"

  initrd=
  for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
	   "initrd-${version}" "initramfs-${version}.img" \
	   "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
	   "initrd-${alt_version}" "initramfs-${alt_version}.img" \
	   "initramfs-genkernel-${version}" \
	   "initramfs-genkernel-${alt_version}" \
	   "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
	   "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
    if test -e "${dirname}/${i}" ; then
      initrd="$i"
      break
    fi
  done

  config=
  for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
    if test -e "${i}" ; then
      config="${i}"
      break
    fi
  done

  initramfs=
  if test -n "${config}" ; then
      initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
  fi

  if test -n "${initrd}" ; then
    gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
  elif test -z "${initramfs}" ; then
    # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs.  Since there's
    # no initrd or builtin initramfs, it can't work here.
    linux_root_device_thisversion=${GRUB_DEVICE}
  fi

  if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
    linux_entry "${OS}" "${version}" simple \
    "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"

    submenu_indentation="$grub_tab"
    
    if [ -z "$boot_device_id" ]; then
	boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
    fi
    # TRANSLATORS: %s is replaced with an OS name
    echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
    is_top_level=false
  fi

  linux_entry "${OS}" "${version}" advanced \
              "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
  if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
    linux_entry "${OS}" "${version}" recovery \
                "${GRUB_CMDLINE_LINUX_RECOVERY} ${GRUB_CMDLINE_LINUX}"
  fi

  list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
done

# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if [ x"$is_top_level" != xtrue ]; then
  echo '}'
fi

echo "$title_correction_code"

Hors ligne

#10 Le 18/12/2014, à 08:04

ikewdu

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Salut,

Ca ressemble pas mal au problème de souen ici (à la différence que la chose semble se produire une fois sur 2).
http://forum.ubuntu-fr.org/viewtopic.ph … #p18783141

L'entrée Ubuntu disparaît du démarrage, et WBM est remis en place :

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000  Windows Boot Manager	Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* UEFI: ST500DM002-1BD142	ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)..BO

Perso, je penche toujours pour un blocage inhérent au bios ("fast boot" ou autre cochonnerie active ou inactive)... Bizarrement, ces bios semblent chercher leurs entrées de boot ailleurs que dans la partition EFI.

Le test de démarrage avec SGD2 permettrait de confirmer que la situation est similaire.

Hors ligne

#11 Le 18/12/2014, à 08:17

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Pourrais-tu passer la commande :

sudo update-grub 

Puis refaire un Boot-Info depuis ta session de Kubuntu installé et donner l'URL du Boot-Info dans ta réponse.

D'autre part, tu as écrit dans le post #1 : "Au premier démarrage l'ordi signale qu'il n'y as de disque pour booter". Pourrais-tu noter sur un bout de papier le contenu complet du message qui s'affiche et le donner dans ta réponse ?

Dernière modification par malbo (Le 18/12/2014, à 08:20)

Hors ligne

#12 Le 18/12/2014, à 15:54

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Salut et merci pour les efforts que vous faites.
Dans le bios j'ai mis launch CSM sous Always. Secure boot et quiet boot sont sur disable.
Au demarrage c'est ecrit;
Reboot and Select proper Boot Device or Insert Boot Media in select device and press a key

assoua@assoua-SX2185:~$ sudo update-grub
[sudo] password for assoua: 
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.13.0-43-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-43-generic
Image Linux trouvée : /boot/vmlinuz-3.13.0-41-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-41-generic
Image Linux trouvée : /boot/vmlinuz-3.13.0-24-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-24-generic
Adding boot menu entry for EFI firmware configuration
fait
assoua@assoua-SX2185:~$ 
 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


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

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.1 LTS 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/extlinux/extlinux.conf

sda3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2       1,050,624   969,568,255   968,517,632 Data partition (Linux)
/dev/sda3     969,568,256   976,771,071     7,202,816 Swap partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        77F1-D228                              vfat       
/dev/sda2        879080a7-06eb-436f-9e54-c616cda7eca2   ext4       
/dev/sda3        af8223a5-ae69-4af8-a0bf-e69e92145060   swap       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Dec 18 08:38 ata-PIONEER_DVD-RW_DVR-220RS_MFQC323955WL -> ../../sr0
lrwxrwxrwx 1 root root  9 Dec 18 08:51 ata-ST500DM002-1BD142_S2AHRAZ8 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 18 08:38 ata-ST500DM002-1BD142_S2AHRAZ8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 18 08:38 ata-ST500DM002-1BD142_S2AHRAZ8-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 18 08:38 ata-ST500DM002-1BD142_S2AHRAZ8-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Dec 18 08:51 wwn-0x5000c50062014f5e -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 18 08:38 wwn-0x5000c50062014f5e-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 18 08:38 wwn-0x5000c50062014f5e-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 18 08:38 wwn-0x5000c50062014f5e-part3 -> ../../sda3

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

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw)
/dev/sda2        /                        ext4       (rw,errors=remount-ro)


=========================== sda2/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
else
  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_CA
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
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
#set_background_image "images/tile.png";

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi
### 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-879080a7-06eb-436f-9e54-c616cda7eca2' {
	recordfail
	load_video
	
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
	else
	  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
	fi
	linux	/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-43-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
	menuentry 'Ubuntu, with Linux 3.13.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-43-generic ...'
		linux	/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-recovery-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-43-generic ...'
		linux	/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-41-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-41-generic-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-41-generic ...'
		linux	/boot/vmlinuz-3.13.0-41-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-41-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-41-generic-recovery-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-41-generic ...'
		linux	/boot/vmlinuz-3.13.0-41-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-41-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-24-generic ...'
		linux	/boot/vmlinuz-3.13.0-24-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-24-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-879080a7-06eb-436f-9e54-c616cda7eca2' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  879080a7-06eb-436f-9e54-c616cda7eca2
		else
		  search --no-floppy --fs-uuid --set=root 879080a7-06eb-436f-9e54-c616cda7eca2
		fi
		echo	'Loading Linux 3.13.0-24-generic ...'
		linux	/boot/vmlinuz-3.13.0-24-generic root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-24-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/25_custom ###

menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root 77F1-D228
chainloader (${root})/EFI/ubuntu/MokManager.efi
}
### END /etc/grub.d/25_custom ###

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=879080a7-06eb-436f-9e54-c616cda7eca2 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=77F1-D228  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda3 during installation
UUID=af8223a5-ae69-4af8-a0bf-e69e92145060 none            swap    sw              0       0
UUID=77F1-D228	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

====================== sda2/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

============== sda2: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)


ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-12-18__08h51 ===================
boot-repair version : 4ppa22
boot-sav version : 4ppa22
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa22
boot-repair is executed in installed-session (Ubuntu 14.04.1 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic.efi.signed root=UUID=879080a7-06eb-436f-9e54-c616cda7eca2 ro quiet splash

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 14.04.1 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="77F1-D228" TYPE="vfat"
/dev/sda2: UUID="879080a7-06eb-436f-9e54-c616cda7eca2" TYPE="ext4"
/dev/sda3: UUID="af8223a5-ae69-4af8-a0bf-e69e92145060" TYPE="swap"


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


Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 déc 18 08:49 grub.d
drwxr-xr-x  2 root root     4096 déc 11 02:17 grub.d.bak
total 76
-rwxr-xr-x 1 root root  9424 mai 15  2014 00_header
-rwxr-xr-x 1 root root  6058 mai  8  2014 05_debian_theme
-rwxr-xr-x 1 root root 11584 déc 17 23:12 10_linux
-rwxr-xr-x 1 root root 10412 mai 15  2014 20_linux_xen
-rwxr-xr-x 1 root root   170 déc 18 08:49 25_custom
-rwxr-xr-x 1 root root 11692 mai 15  2014 30_os-prober
-rwxr-xr-x 1 root root  1416 mai 15  2014 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mai 15  2014 40_custom
-rwxr-xr-x 1 root root   216 mai 15  2014 41_custom
-rw-r--r-- 1 root root   483 mai 15  2014 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=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"



/boot/efi detected in the fstab of sda2: UUID=77F1-D228	 (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0000
Boot0000  Windows Boot Manager	Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* UEFI: ST500DM002-1BD142	ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)..BO
Boot0002* ubuntu	HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)File(EFIubuntushimx64.efi)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/boot/efi.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	has-os,	2048 sectors * 512 bytes


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

Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system     Name  Flags
1      1049kB  538MB  537MB   fat32                 boot
2      538MB   496GB  496GB   ext4
3      496GB   500GB  3688MB  linux-swap(v1)

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

BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:496GB:496GB:ext4::;
3:496GB:500GB:3688MB:linux-swap(v1)::;


=================== mount:
/dev/sda2 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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
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)
/dev/sda1 on /boot/efi type vfat (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)


=================== 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 sda3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control
ls /boot/efi/1:

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 10 00 fe 03 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 28 d2 f1 77 4e  4f 20 4e 41 4d 45 20 20  |..)(..wNO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda2      ext4      455G  194G  238G  45% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  1.7G   12K  1.7G   1% /dev
tmpfs          tmpfs     332M  1.4M  331M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     1.7G  148K  1.7G   1% /run/shm
none           tmpfs     100M   20K  100M   1% /run/user
/dev/sda1      vfat      511M  3.8M  508M   1% /boot/efi

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

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x07c0868e

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   976773167   488386583+  ee  GPT
Partition 1 does not start on physical sector boundary.




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 14.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


=================== User settings
The settings chosen by the user will not act on the boot.

Dernière modification par soujaa (Le 18/12/2014, à 17:24)

Hors ligne

#13 Le 18/12/2014, à 17:36

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Dans ce dernier Boot-Info, on peut voir que tu as toujours une entrée pour Ubuntu dans ton UEFI :

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0000
Boot0000  Windows Boot Manager	Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* UEFI: ST500DM002-1BD142	ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)..BO
Boot0002* ubuntu	HD(1,800,100000,51433955-6c1f-4c1c-98da-b7ba77cd1ea1)File(EFIubuntushimx64.efi)

Le démarrage par défaut devrait se faire sur l'entrée "Boot0002* ubuntu" conformément à la ligne "BootOrder: 0002,0001,0000" mais comme le démarrage de ton ordi doit être bridé, ça démarre sur l'entrée "Boot0001* UEFI" comme en atteste la ligne "BootCurrent: 0001", c'est à dire que ça démarre systématiquement sur le fichier /EFI/Boot/bootx64.efi. Moi, je ne sais pas trop ce qu'il y a dans ce fichier bootx64.efi mais tout ce que je sais c'est qu'il parvient à lancer ton Ubuntu.

EDIT : pourrais-tu vérifier que si tu presses la touche F12 au démarrage(*) et que tu la maintiens pressée, tu arrives au "Boot Menu", c'est à dire que tu peux voir un menu qui te propose :

ubuntu
UEFI: ST500DM002
Windows Boot Manager

Si oui, je te prie de sélectionner "ubuntu" et dire si tu parviens bien à démarrer Ubuntu par ce chemin.

(*) j'ai vu dans ce lien que c'était possible d'utiliser cette touche F12 dans ton modèle Gateway SX2185 (même si ce n'est peut-être pas exactement le même modèle que le tien)

Dernière modification par malbo (Le 18/12/2014, à 17:43)

Hors ligne

#14 Le 18/12/2014, à 18:01

maxire

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonjour à tous,

@soujaa: remets CSM à sa valeur initiale sinon tu ne pourras jamais démarrer, CSM=Always démarre le PC en mode BIOS
@malbo: je pense que tu as raison c'est l'entrée Boot0001 qui semble casser la baraque.

Peut-être qu'en la supprimant?
Mais j'ai peur que le PC ne démarre plus du tout.

Une solution serait de convertir l'installation en mode Legacy.

Edit: Ce serait une bonne chose de supprimer les reliquats de Windows dans /boot/efi même si ce n'est pas vraiment le problème

Dernière modification par maxire (Le 18/12/2014, à 18:03)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#15 Le 18/12/2014, à 18:31

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

@maxire
Je remets fissa le CSM en NEVER!!!!!!!!

Hors ligne

#16 Le 18/12/2014, à 18:41

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

@maxire : merci pour ton intervention, je n'avais pas lu le début du post #12 ("Dans le bios j'ai mis launch CSM sous Always")
@soujaa : le paramètre "launch CSM" étant remis sur "Never" dans le "Bios", peux-tu répondre à ma question dans EDIT du post #13 ?

Hors ligne

#17 Le 19/12/2014, à 07:41

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonsoir,
@malbo
Quand j’appuie sur F12 au démarrage il n'y que la ligne UEFI: ST500DM002-1BD142 qui s'affiche. Il n'y a pas UBUNTU ni WINDOWS Boot Manager.
Mais quand je valide UEFI: ST500DM002 alors le grub ubuntu apparait.

Hors ligne

#18 Le 19/12/2014, à 09:02

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonjour,
Depuis une session de ton Ubuntu installé sur disque dur, je te prie de passer les commandes suivantes (valide chaque commande par la touche Entrée. Utilise le copier-coller, ça t'évitera les erreurs de frappe):

md5sum /boot/efi/EFI/Boot/bootx64.efi
md5sum /boot/efi/EFI/ubuntu/grubx64.efi
md5sum /boot/efi/EFI/ubuntu/shimx64.efi

Quand ce sera fait, colle tout ce qui est affiché dans le terminal (les trois commandes et leur résultat) dans ta réponse.

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

Hors ligne

#19 Le 19/12/2014, à 14:41

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonmatin,
Voila c'est fait..

assoua@assoua-SX2185:~$ md5sum /boot/efi/EFI/Boot/bootx64.efi
a0bf8dc68542845b413328a9d8567e76  /boot/efi/EFI/Boot/bootx64.efi
assoua@assoua-SX2185:~$ md5sum /boot/efi/EFI/ubuntu/grubx64.efi
2f2f42eb2229f935ed0aed0fdfc7acb0  /boot/efi/EFI/ubuntu/grubx64.efi
assoua@assoua-SX2185:~$ md5sum /boot/efi/EFI/ubuntu/shimx64.efi
7095619324a9fb786422d7427c056405  /boot/efi/EFI/ubuntu/shimx64.efi
assoua@assoua-SX2185:~$ 

Hors ligne

#20 Le 19/12/2014, à 14:47

maxire

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonjour,

En plus:

md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi

Je pense que cela pourrait être intéressant.
Lorsque tu écris «grub ubuntu apparaît», est-ce le menu, un prompt grub ou un prompt grub-rescue?

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


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#21 Le 19/12/2014, à 15:03

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

assoua@assoua-SX2185:~$ md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi
a0bf8dc68542845b413328a9d8567e76  /boot/efi/EFI/Microsoft/Boot/bootx64.efi
assoua@assoua-SX2185:~$ ^C
assoua@assoua-SX2185:~$

Lorsque tu écris «grub ubuntu apparaît», est-ce le menu, un prompt grub ou un prompt grub-rescue?
C'est le menu qui qpparait
1418994834.jpg

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

Hors ligne

#22 Le 19/12/2014, à 15:30

maxire

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

soua@assoua-SX2185:~$ md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi
a0bf8dc68542845b413328a9d8567e76  /boot/efi/EFI/Microsoft/Boot/bootx64.efi

et :

assoua@assoua-SX2185:~$ md5sum /boot/efi/EFI/Boot/bootx64.efi
a0bf8dc68542845b413328a9d8567e76  /boot/efi/EFI/Boot/bootx64.efi

donnent la même valeur de clé donc ce sont des fichiers identiques censés lancer le boot manager windows.

C'est le menu grub qui s'affiche lors de la sélection de «UEFI: ST500DM002-1BD142» via le menu F12, je ne comprends pas très bien pourquoi si cette option correspond bien au lancement d'un périphérique censé utiliser bootx64.efi.

Mystère...

Attendons de savoir ce qu'en pense Malbo.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#23 Le 19/12/2014, à 15:35

kalunux

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Bonjour,

Supprime ce répertoire "Microsoft" via cette commande :

sudo rm -r /boot/efi/EFI/Microsoft

Puis l'entrée EFI via cette commande :

sudo efibootmgr -b 0000 -B

Dernière modification par kalunux (Le 19/12/2014, à 15:39)

Hors ligne

#24 Le 19/12/2014, à 15:36

soujaa

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

Yes mystère et boule de gomme. je croise les doigts pour que se probleme soit reglé roll

Hors ligne

#25 Le 19/12/2014, à 16:17

malbo

Re : [RÉSOLU] Ordinateur Uefi demarre une fois sur deux!!!

@soujaa : je ne vois pas du tout l'intérêt des commandes proposées par kalunux pour résoudre ton problème mais comme je ne maîtrise pas le fonctionnement de ton UEFI, il est possible que kalunux ait trouvé l'épine qui est dans ton pied. Passe les commandes qu'il propose, on verra bien.

Hors ligne