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 20/01/2015, à 13:09

Régismichel

[Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Bonjours à tous.

J'ai un léger soucis. Après avoir suivis le tuto http://libre.a.quimperle.perso.sfr.fr/2014/efi/efi.html conseillé par Malbo.

Je ne pouvais lancer que Windows 8.1, j'ai donc testé la solution http://doc.ubuntu-fr.org/uefi paragraphe 6 car je suis détenteur d'un portable HP. D'abord via les commandes du terminal puis n'arrivant pas à mes fins via Boot-repair.

J'ai à présent le problème inverse. Lorsque je démarre mon ordinateur Grub (version 2.02 beta 2-ubuntu1) se lance et me donne 4 choix
- ubuntu
-advanced options for ubuntu
- windows boot manager (on /dev/sda2) ( qui est bien l'emplacement de EFI)
- system setup

Si je veux accéder à ubuntu je sélectionne la première option et tout ce passe bien.
Si je veux accéder à windows je sélectionne la 3 eme option et après un bref écran violet me revoilà sur la page Grub avec mes 4 choix.

Je n'ai donc plus accès à Windows et c'est bien là le problème.

Je précise que le secure boot est désactivé. Et voici l'url du boot-info http://paste.ubuntu.com/9793439.

Si quelqu'un à une idée je suis preneur.

ps: super forum et super site grâce à vous j'ai pu apprendre un tas de choses.

Dernière modification par Régismichel (Le 20/01/2015, à 16:00)

Hors ligne

#2 Le 20/01/2015, à 13:34

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Bonjour,

Régismichel a écrit :

[…]
Je ne pouvais lancer que Windows 8.1, j'ai donc testé la solution http://doc.ubuntu-fr.org/uefi paragraphe 6 car je suis détenteur d'un portable HP. […]

Cette solution est plutôt adressée aux utilisateurs confirmés qui comprennent bien ce qui y est fait.
Au vu de ton rapport Boot-Info, je pense que tu as dû manqué quelque chose au chapitre 6.3.
Afin de vérifier ce qui as été fais ou pas, donne le retour de la commande suivante :

ls /etc/kernel/postinst.d

En ligne

#3 Le 20/01/2015, à 13:38

malbo

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Ton boot-info est là :

 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:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda8: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 1,465,149,167 1,465,149,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392   204,802,047   203,718,656 Data partition (Windows/Linux)
/dev/sda5     204,802,048   266,242,047    61,440,000 Data partition (Linux)
/dev/sda6     266,242,048   274,434,047     8,192,000 Swap partition (Linux)
/dev/sda7     294,914,048 1,465,147,391 1,170,233,344 Data partition (Windows/Linux)
/dev/sda8     274,434,048   294,914,047    20,480,000 Data partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        54224ED2224EB92E                       ntfs       Recovery
/dev/sda2        2E51-0D85                              vfat       
/dev/sda4        4E1060B31060A3A5                       ntfs       
/dev/sda5        c76abe0d-5cdd-49ab-b332-b43b371d3007   ext4       
/dev/sda6        a2497d3d-0dbd-4ffe-be45-d36053888ab3   swap       
/dev/sda7        4FA482822BCD34EA                       ntfs       donnees
/dev/sda8        6bf65fcf-39a9-4107-a4bb-3e73ccdb5f50   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Jan 20 12:05 ata-TOSHIBA_MQ01ABD075_83SAP8MKT -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 20 12:05 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 20 12:03 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 20 12:03 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 20 12:05 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan 20 12:03 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jan 20 12:03 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 20 12:05 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jan 20 12:03 ata-TOSHIBA_MQ01ABD075_83SAP8MKT-part8 -> ../../sda8
lrwxrwxrwx 1 root root  9 Jan 20 12:03 ata-hp_DVDRAM_GU70N_M3CD7V80313 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan 20 12:05 wwn-0x50000394f260a442 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 20 12:05 wwn-0x50000394f260a442-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 20 12:03 wwn-0x50000394f260a442-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 20 12:03 wwn-0x50000394f260a442-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 20 12:05 wwn-0x50000394f260a442-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan 20 12:03 wwn-0x50000394f260a442-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jan 20 12:03 wwn-0x50000394f260a442-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 20 12:05 wwn-0x50000394f260a442-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jan 20 12:03 wwn-0x50000394f260a442-part8 -> ../../sda8
lrwxrwxrwx 1 root root  9 Jan 20 12:03 wwn-0x5001480000000000 -> ../../sr0

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

Device           Mount_Point              Type       Options

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


=========================== sda5/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,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
else
  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  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
if background_color 44,0,30; 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-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
	else
	  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
	fi
	linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-44-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-advanced-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Loading Linux 3.13.0-44-generic ...'
		linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-recovery-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Loading Linux 3.13.0-44-generic ...'
		linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Loading Linux 3.13.0-32-generic ...'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Loading Linux 3.13.0-32-generic ...'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-32-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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-2E51-0D85' {
	insmod part_gpt
	insmod fat
	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  2E51-0D85
	else
	  search --no-floppy --fs-uuid --set=root 2E51-0D85
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### 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 ###
--------------------------------------------------------------------------------

=============================== sda5/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/sda5 during installation
UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
#UUID=2E51-0D85  /boot/efi       vfat    defaults        0       1
# /home was on /dev/sda8 during installation
UUID=6bf65fcf-39a9-4107-a4bb-3e73ccdb5f50 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=a2497d3d-0dbd-4ffe-be45-d36053888ab3 none            swap    sw              0       0
UUID=2E51-0D85	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------


ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-01-20__12h04 ===================
boot-repair version : 4ppa32
boot-sav version : 4ppa32
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa32
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-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 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/sda5:L'OS actuellement utilisé - Ubuntu 14.04.1 LTS CurrentSession:linux
/dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/sda1: LABEL="Recovery" UUID="54224ED2224EB92E" TYPE="ntfs"
/dev/sda2: UUID="2E51-0D85" TYPE="vfat"
/dev/sda4: UUID="4E1060B31060A3A5" TYPE="ntfs"
/dev/sda5: UUID="c76abe0d-5cdd-49ab-b332-b43b371d3007" TYPE="ext4"
/dev/sda6: UUID="a2497d3d-0dbd-4ffe-be45-d36053888ab3" TYPE="swap"
/dev/sda7: LABEL="donnees" UUID="4FA482822BCD34EA" TYPE="ntfs"
/dev/sda8: UUID="6bf65fcf-39a9-4107-a4bb-3e73ccdb5f50" TYPE="ext4"


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

Windows not detected by os-prober on sda4.

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 juil. 23 00:21 grub.d
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  1992 mars  12  2014 20_memtest86+
-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 sda5: UUID=2E51-0D85	 (sda2)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw_orig.efi

=================== efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0002,3002,0000,2001,2002,2003
Boot0000* ubuntu	HD(2,96800,32000,45be441f-6125-4aa9-badc-20a45a56486f)File(EFIubuntushimx64.efi)
Boot0002* Windows Boot Manager	HD(2,96800,32000,45be441f-6125-4aa9-badc-20a45a56486f)File(EFIMicrosoftBootbootmgfw.efi)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................
Boot2001* USB Drive (UEFI)	RC
Boot2002* Internal CD/DVD ROM Drive (UEFI)	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC
Boot3003* Internal Hard Disk or Solid State Disk	RC

=================== 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:
sda5	: 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,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-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.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda4.
sda7	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	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,	farbios,	/mnt/boot-sav/sda7.
sda8	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	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,	farbios,	/home.

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


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

Model: ATA TOSHIBA MQ01ABD0 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system     Name                          Flags
1      1049kB  316MB  315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB  105MB   fat32           EFI system partition          boot
3      420MB   555MB  134MB                   Microsoft reserved partition  msftres
4      555MB   105GB  104GB   ntfs            Basic data partition          msftdata
5      105GB   136GB  31.5GB  ext4
6      136GB   141GB  4194MB  linux-swap(v1)
8      141GB   151GB  10.5GB  ext4
7      151GB   750GB  599GB   ntfs                                          msftdata

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

BYT;
/dev/sda:750GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD0;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:105GB:104GB:ntfs:Basic data partition:msftdata;
5:105GB:136GB:31.5GB:ext4::;
6:136GB:141GB:4194MB:linux-swap(v1)::;
8:141GB:151GB:10.5GB:ext4::;
7:151GB:750GB:599GB:ntfs::msftdata;




=================== mount:
/dev/sda5 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/sda8 on /home type ext4 (rw)
/dev/sda2 on /boot/efi type vfat (rw)
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=brice)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda7 on /mnt/boot-sav/sda7 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== 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 sda4 sda5 sda6 sda7 sda8 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 fb1 fd freefall full fuse hidraw0 hidraw1 hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control
ls: impossible d'accéder à : Aucun fichier ou dossier de ce type

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  2e b9 4e 22 d2 4e 22 54  |..........N".N"T|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 68 09 00  |........?....h..|
00000020  00 20 03 00 01 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 85 0d 51 2e 4e  4f 20 4e 41 4d 45 20 20  |..)..Q.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 7f 24 0c 00 00 00 00  |..........$.....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  a5 a3 60 10 b3 60 10 4e  |..........`..`.N|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda7
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 94 11  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 57 c0 45 00 00 00 00  |.........W.E....|
00000030  04 00 00 00 00 00 00 00  7f 05 5c 04 00 00 00 00  |...............|
00000040  f6 00 00 00 01 00 00 00  ea 34 cd 2b 82 82 a4 4f  |.........4.+...O|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 d2 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  40 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |@.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a e9 6a 01  |U...h..fa.....j.|
00000110  90 90 66 60 1e 06 66 a1  11 00 66 03 06 1c 00 1e  |..f`..f...f.....|
00000120  66 68 00 00 00 00 66 50  06 53 68 01 00 68 10 00  |fh....fP.Sh..h..|
00000130  b4 42 8a 16 0e 00 16 1f  8b f4 cd 13 66 59 5b 5a  |.B..........fY[Z|
00000140  66 59 66 59 1f 0f 82 16  00 66 ff 06 11 00 03 16  |fYfY.....f......|
00000150  0f 00 8e c2 ff 0e 16 00  75 bc 07 1f 66 61 c3 a0  |........u...fa..|
00000160  f8 01 e8 08 00 a0 fb 01  e8 02 00 eb fe b4 01 8b  |................|
00000170  f0 ac 3c 00 74 09 b4 0e  bb 07 00 cd 10 eb f2 c3  |..<.t...........|
00000180  0d 0a 41 20 64 69 73 6b  20 72 65 61 64 20 65 72  |..A disk read er|
00000190  72 6f 72 20 6f 63 63 75  72 72 65 64 00 0d 0a 42  |ror occurred...B|
000001a0  4f 4f 54 4d 47 52 20 69  73 20 6d 69 73 73 69 6e  |OOTMGR is missin|
000001b0  67 00 0d 0a 42 4f 4f 54  4d 47 52 20 69 73 20 63  |g...BOOTMGR is c|
000001c0  6f 6d 70 72 65 73 73 65  64 00 0d 0a 50 72 65 73  |ompressed...Pres|
000001d0  73 20 43 74 72 6c 2b 41  6c 74 2b 44 65 6c 20 74  |s Ctrl+Alt+Del t|
000001e0  6f 20 72 65 73 74 61 72  74 0d 0a 00 00 00 00 00  |o restart.......|
000001f0  00 00 00 00 00 00 00 00  80 9d b2 ca 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/sda5      ext4       29G  4.3G   23G  16% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  1.9G   12K  1.9G   1% /dev
tmpfs          tmpfs     373M  1.2M  372M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     1.9G  152K  1.9G   1% /run/shm
none           tmpfs     100M   40K  100M   1% /run/user
/dev/sda8      ext4      9.5G  102M  8.9G   2% /home
/dev/sda2      vfat       96M   35M   62M  37% /boot/efi
/dev/sda1      fuseblk   300M  237M   64M  79% /mnt/boot-sav/sda1
/dev/sda4      fuseblk    98G   26G   72G  27% /mnt/boot-sav/sda4
/dev/sda7      fuseblk   559G  158M  558G   1% /mnt/boot-sav/sda7

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

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0xbcf5fcaf

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1465149167   732574583+  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 sda5, using the following options:        sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file


=================== Final advice in case of suggested repair


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)

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


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

Ce serait utile que le blaireau qui a ajouté ce paragraphe 6 dans la doc UEFI "Contourner le démarrage forcé sur Windows 8" te sorte de là. Moi je ne sais pas le faire et c'est même incurtable car je n'ai aucune envie d'assurer le SAV de cette solution de merde. Vas-y blaireau, sors de ton trou et aide Régismichel.

Dernière modification par malbo (Le 20/01/2015, à 13:39)

Hors ligne

#4 Le 20/01/2015, à 13:41

Régismichel

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Effectivement j'avoue que certaines choses m’échappait.

Et voici le retour de la commande demandée.

apt-auto-removal initramfs-tools pm-utils update-notifier zz-update-grub

Hors ligne

#5 Le 20/01/2015, à 13:43

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

malbo a écrit :

[…]
Ce serait utile que le blaireau qui a ajouté ce paragraphe 6 dans la doc UEFI "Contourner le démarrage forcé sur Windows 8" te sorte de là. […]

C’est marrant, je m’attendais à une telle réaction de ta part. (^-^)
Je ne suis pas le blaireau en question mais je vais quand même essayer. wink

En ligne

#6 Le 20/01/2015, à 13:48

Régismichel

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Wow je pensais pas lancer un pavé dans la mare avec mon problème.
Je suis navré pour l'animal de type poilu qui risque de ce prendre une fois de plus une soufflante...

Hors ligne

#7 Le 20/01/2015, à 13:57

malbo

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

@nany : entre temps, j'ai retrouvé le blaireau et mes maigres réflexions sur le sujet : http://forum.ubuntu-fr.org/viewtopic.ph … #p17256951

Hors ligne

#8 Le 20/01/2015, à 14:21

Régismichel

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Sinon tout reformater et tout reprendre depuis le début est une solution qui m'es envisageable mais restera le problème du démarrage forcé de windows 8.1 sur les PC HP...

Hors ligne

#9 Le 20/01/2015, à 14:25

Bougron

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Bonjour.
Mon petit grain de sel.
Au vu du boot-info et  en lisant la façon dont tu as installé la modif au lieu de faire confiance à boot-repair qui maintenant fait très bien cette modif, je rejoins nany en pensant que tu a raté (oublié?, mal frappé?) une commande. Le problème est que ce contournement a montré que lorsque le temps passe, les difficultés arrivent dès l'instant où on veut installer une nouvelle distribution. Si c'est ubuntu, on peut espérer que cette bidouille soit encore présente, Mais si ce n'est plus ubuntu, Windows ne redémarrera plus.
Le conseil qui est maintenant donné est d'utiliser le bios EFI pour lancer soit ubuntu soit windows, C'est d'ailleurs une des fonctions du vrai bios EFI:  Permettre à l'utilisateur de choisir quel OS il veut lancer.
En fait, on a cru pendant très longtemps que  HP  voulait booter systématiquement avec windows car on ne savait pas qu'en appuyant sur la touche F9 on pouvait lui dire de booter sur SHIMX64.efi même en ayant un secure boot.
Il faudrait donc que tu trouves le moyen de faire l'inverse de cette modif pour redevenir standard.

Pour le moment, si tu es très pressé de lancer WINDOWS, c'est possible de le faire par l'intermédiaire de SGD2 à condition  que " /EFI/Microsoft/Boot/bootmgfw_orig.efi " soit bien l'ancien fichier  "/EFI/Microsoft/Boot/bootmgfw.efi".
Pour installer SG2D, tu peux regarder cette discussion http://forum.ubuntu-fr.org/viewtopic.ph … #p18280241
Tu dois pouvoir faire cette installation  sur la clé USB même avec ubuntu.

Ajout, Je ne sais pas pourquoi je n'y ai pas pensé plus tôt.
Si tu veux lancer windows, au moment du boot, tu appuies sur la touche F9 et tu cherches dans ta liste un programme dont le  nom est " /EFI/Microsoft/Boot/bootmgfw_orig.efi

Dernière modification par Bougron (Le 20/01/2015, à 18:38)

Hors ligne

#10 Le 20/01/2015, à 14:34

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Régismichel a écrit :

Effectivement j'avoue que certaines choses m’échappait.

Et voici le retour de la commande demandée.

apt-auto-removal initramfs-tools pm-utils update-notifier zz-update-grub

Bon, ça confirme ce que je pensais, le script qui fait pointer vers bootmgfw_orig.efi n’est pas présent.

Passe les commandes suivantes :

sudo sh -c 'echo "#! /bin/sh" > /etc/kernel/postinst.d/za-windows8-hp'
sudo sh -c 'echo "set -e" >> /etc/kernel/postinst.d/za-windows8-hp'
sudo sh -c 'echo >> /etc/kernel/postinst.d/za-windows8-hp'
sudo sh -c 'echo "sed -i -e \"s/item_in_dir bootmgfw.efi/item_in_dir bootmgfw_orig.efi/\" /usr/lib/os-probes/mounted/efi/20microsoft" >> /etc/kernel/postinst.d/za-windows8-hp'
sudo sh -c 'echo >> /etc/kernel/postinst.d/za-windows8-hp'
sudo sh -c 'echo "exit 0" >> /etc/kernel/postinst.d/za-windows8-hp'

Puis, pour vérifier que c’est correct, donne le retour dela commande :

echo "$(</etc/kernel/postinst.d/za-windows8-hp)"

@malbo : tes réflexions me semblent justes. Je verrai à mes moments perdus pour mettre des warning dans cette partie de la doc. wink

En ligne

#11 Le 20/01/2015, à 15:02

Régismichel

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

nany a écrit :

Puis, pour vérifier que c’est correct, donne le retour dela commande :

echo "$(</etc/kernel/postinst.d/za-windows8-hp)"

Voila le retour qui est exactement le script proposé dans le paragraphe 6.

#! /bin/sh
set -e

sed -i -e "s/item_in_dir bootmgfw.efi/item_in_dir bootmgfw_orig.efi/" /usr/lib/os-probes/mounted/efi/20microsoft

exit 0

Hors ligne

#12 Le 20/01/2015, à 15:09

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

OK. Continuons alors avec les commandes suivantes :

sudo chown root:root /etc/kernel/postinst.d/za-windows8-hp
sudo chmod +x /etc/kernel/postinst.d/za-windows8-hp
sudo /etc/kernel/postinst.d/za-windows8-hp
sudo os-prober
sudo update-grub

Puis donne le retour de la commande :

echo "$(</boot/grub/grub.cfg)"

En ligne

#13 Le 20/01/2015, à 15:32

Régismichel

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Voila le retour big_smile

#
# 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,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
else
  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
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
if background_color 44,0,30; 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-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
	else
	  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
	fi
	linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-44-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
	menuentry 'Ubuntu, avec Linux 3.13.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-advanced-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Chargement de Linux 3.13.0-44-generic…'
		linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-recovery-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Chargement de Linux 3.13.0-44-generic…'
		linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Chargement de Linux 3.13.0-32-generic…'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-c76abe0d-5cdd-49ab-b332-b43b371d3007' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c76abe0d-5cdd-49ab-b332-b43b371d3007
		else
		  search --no-floppy --fs-uuid --set=root c76abe0d-5cdd-49ab-b332-b43b371d3007
		fi
		echo	'Chargement de Linux 3.13.0-32-generic…'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=c76abe0d-5cdd-49ab-b332-b43b371d3007 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-32-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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-2E51-0D85' {
	insmod part_gpt
	insmod fat
	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  2E51-0D85
	else
	  search --no-floppy --fs-uuid --set=root 2E51-0D85
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw_orig.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### 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 ###

Hors ligne

#14 Le 20/01/2015, à 15:50

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

OK. Voici la partie intéressante :

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-2E51-0D85' {
	insmod part_gpt
	insmod fat
	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  2E51-0D85
	else
	  search --no-floppy --fs-uuid --set=root 2E51-0D85
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw_orig.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

On peut y voir que l’entrée Windows pointe maintenant vers le fichier bootmgfw_orig.efi :

	chainloader /EFI/Microsoft/Boot/bootmgfw_orig.efi

Tu peux donc redémarrer pour tester cette entrée.

À noter toutefois que les réflexions de malbo me semblent justes. Donc en cas de mise à jour (mise à niveau ?) de Windows, il se pourrait que le GRUB ne soit plus accessible. Auquel cas il faudrait suivre ses recommandations.

malbo a écrit :

[…]
Dans cette éventualité, il faudra :
1) redémarrer sur Ubuntu en utilisant cette manip : ./viewtopic.php?pid=15030301#p15030301
2) reprendre une partie de la procédure du paragraphe 6.2 Remplacer le programme d'amorçage standard :

Copier le programme d'amorçage /boot/efi/EFI/ubuntu/shimx64.efi sous /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi

afin de rétablir le démarrage par défaut de l'ordi sur le menu Grub de Ubuntu

En ligne

#15 Le 20/01/2015, à 15:58

Régismichel

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

ok tout fonctionne parfaitement.

Je te remercie énormément et je peux te jurer que je ne taperai plus des lignes de commandes que je ne comprends pas big_smile ( ça m'évitera pas mal de mésaventures je suppose).

ps: je pense que les mises à jours windows vont très vite se retrouver désactivé sur mon ordinateur.

Hors ligne

#16 Le 20/01/2015, à 16:14

malbo

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Tu as assuré nany. Donc en fait, ce n'est pas réellement la procédure du blaireau qui est en cause : ce serait Régismichel qui aurait un peu pataugé - mais il y a de quoi parce que ce n'est vraiment pas évident - pour réaliser la partie 6.3 Permettre le démarrage de Windows. Tu avais vu juste dès le post #2.

Hors ligne

#17 Le 20/01/2015, à 16:22

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Oui, j’ai un peu modifié la partie 6.3 pour la rendre plus accessible en ce qui concerne l’édition du script.
J’ai aussi ajouté un FIXME dans la partie 6.2 des fois qu’un spécialiste de Windows passe par là et apporte d’éventuelles corrections.

Dernière modification par nany (Le 20/01/2015, à 16:24)

En ligne

#18 Le 20/01/2015, à 17:11

malbo

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Quant à moi, je me suis fendu d'une note importante au début du paragraphe 6. Contourner le démarrage forcé sur Windows 8 :

Cette méthode de contournement du bridage des ordis HP est à réserver aux utilisateurs confirmés. Pour les novices, il est préférable d'en rester à la configuration obtenue après installation de Ubuntu :
- démarrage par défaut sur Windows 8
- pour aller sur Ubuntu : appui sur la touche Echap au démarrage puis sur la touche F9 et sélection de "ubuntu" dans le menu de démarrage 

J'espère que ça va dissuader les gens d'utiliser cette procédure immonde, d'autant qu'on dispose d'autres procédures de contournement du bridage des ordis HP qui sont bien plus légères comme celle-ci, mise en œuvre par malek777 : http://forum.ubuntu-fr.org/viewtopic.ph … #p18955101

Hors ligne

#19 Le 20/01/2015, à 17:48

nany

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

Oui, la solution par bcdedit est effectivement plus simple à mettre en place. Mais la question de savoir ce que fera Windows en cas de mise à jour/niveau quant à la gestion de son bootmgr reste toutefois en suspens.

En ligne

#20 Le 20/01/2015, à 18:25

malbo

Re : [Resolu] (dual boot EFI Windows 8.1/Ubuntu14.04) grub ne lance pas win

nany a écrit :

Mais la question de savoir ce que fera Windows en cas de mise à jour/niveau quant à la gestion de son bootmgr reste toutefois en suspens.

Exact, c'est pourquoi je n'ai mentionné que la solution par la touche F9 dans la note importante dont je parle dans le post #18 : cette solution par F9 n'a pas ce défaut, elle résiste aux mises à niveaux de Ubuntu et aux mises à niveaux de Windows 8.

Dernière modification par malbo (Le 20/01/2015, à 18:26)

Hors ligne