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 02/06/2013, à 17:58

Maluna

[Résolu] Deux entrées Windows dans Grub

Bonjour. smile

Comme à chaque fois que j'installe Ubuntu en mode EFI et fait un dual boot Windows/Ubuntu, je me retrouve par défaut avec deux entrées Windows : bootmgr.x64 et unne Windows UEFI.

Je voulais savoir quelle était la différence entre ces deux entrées, sur laquelle booter ?

Merci. wink

Dernière modification par Maluna (Le 04/06/2013, à 19:40)

Hors ligne

#2 Le 03/06/2013, à 08:00

malbo

Re : [Résolu] Deux entrées Windows dans Grub

Je te prie de poster ton Boot-Info : http://doc.ubuntu-fr.org/tutoriel/boot-info
Au vu du Boot-Info, je devrais pouvoir te répondre.

Hors ligne

#3 Le 03/06/2013, à 18:29

Maluna

Re : [Résolu] Deux entrées Windows dans Grub

Voilà, je ne l'avais pas mis car il me semble que c'est général. big_smile
http://paste.ubuntu.com/5726356/

Hors ligne

#4 Le 03/06/2013, à 18:46

malbo

Re : [Résolu] Deux entrées Windows dans Grub

Ton Boot-Info est là :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 12May2013]


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

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

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7/2008: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi 
                       /EFI/ubuntu/grubx64.efi 
                       /EFI/Microsoft/Boot/bkpbootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/bootx64.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       206,847       204,800 EFI System partition
/dev/sda2         206,848       468,991       262,144 Microsoft Reserved Partition (Windows)
/dev/sda3         468,992 1,912,508,054 1,912,039,063 Data partition (Windows/Linux)
/dev/sda4   1,912,508,416 1,951,569,919    39,061,504 Data partition (Windows/Linux)
/dev/sda5   1,951,569,920 1,953,523,711     1,953,792 Swap partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        1218-89A1                              vfat       
/dev/sda3        442C21DC2C21CA2E                       ntfs       
/dev/sda4        3ec471ad-8f86-4088-9f60-7490d8292ce0   ext4       
/dev/sda5        aa8129d0-34da-48a4-9a36-2c1b127f17e7   swap       

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

Device           Mount_Point              Type       Options

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


=========================== sda4/boot/grub/grub.cfg: ===========================

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

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

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

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

function load_video {
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt4)'
search --no-floppy --fs-uuid --set=root 3ec471ad-8f86-4088-9f60-7490d8292ce0
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt4)'
  search --no-floppy --fs-uuid --set=root 3ec471ad-8f86-4088-9f60-7490d8292ce0
  set locale_dir=($root)/boot/grub/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=10
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt4)'
	search --no-floppy --fs-uuid --set=root 3ec471ad-8f86-4088-9f60-7490d8292ce0
	linux	/boot/vmlinuz-3.2.0-29-generic root=UUID=3ec471ad-8f86-4088-9f60-7490d8292ce0 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-29-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt4)'
	search --no-floppy --fs-uuid --set=root 3ec471ad-8f86-4088-9f60-7490d8292ce0
	echo	'Loading Linux 3.2.0-29-generic ...'
	linux	/boot/vmlinuz-3.2.0-29-generic root=UUID=3ec471ad-8f86-4088-9f60-7490d8292ce0 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-29-generic
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt4)'
	search --no-floppy --fs-uuid --set=root 3ec471ad-8f86-4088-9f60-7490d8292ce0
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt4)'
	search --no-floppy --fs-uuid --set=root 3ec471ad-8f86-4088-9f60-7490d8292ce0
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bkpbootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 1218-89A1
chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 1218-89A1
chainloader (${root})/EFI/Boot/bkpbootx64.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 ###
### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda4/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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda4 during installation
UUID=3ec471ad-8f86-4088-9f60-7490d8292ce0 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=1218-89A1  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda5 during installation
UUID=aa8129d0-34da-48a4-9a36-2c1b127f17e7 none            swap    sw              0       0
UUID=1218-89A1	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 926.081909180 = 994.372878336  boot/grub/grub.cfg                             1
 914.088600159 = 981.495160832  boot/vmlinuz-3.2.0-29-generic                  1
 914.088600159 = 981.495160832  vmlinuz                                        1
 927.384765625 = 995.771809792  boot/initrd.img-3.2.0-29-generic               2
 927.384765625 = 995.771809792  initrd.img                                     2


ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-06-02__17h09 ===================
boot-repair version : 3.199~ppa3~precise
boot-sav version : 3.199~ppa3~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.199~ppa3~precise
boot-repair is executed in installed-session (Ubuntu 12.04.1 LTS, precise, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic root=UUID=3ec471ad-8f86-4088-9f60-7490d8292ce0 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/sda4:L'OS actuellement utilisé - Ubuntu 12.04.1 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="1218-89A1" TYPE="vfat"
/dev/sda3: UUID="442C21DC2C21CA2E" TYPE="ntfs"
/dev/sda4: UUID="3ec471ad-8f86-4088-9f60-7490d8292ce0" TYPE="ext4"
/dev/sda5: UUID="aa8129d0-34da-48a4-9a36-2c1b127f17e7" TYPE="swap"


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

Windows not detected by os-prober on sda3.

Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda » ! L'utilitaire fdisk 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/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"




=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 juin   2 16:54 grub.d
total 60
-rwxr-xr-x 1 root root 6743 janv. 22 20:18 00_header
-rwxr-xr-x 1 root root 5522 mai   17  2012 05_debian_theme
-rwxr-xr-x 1 root root 7780 janv. 22 20:18 10_linux
-rwxr-xr-x 1 root root 6335 mai   17  2012 20_linux_xen
-rwxr-xr-x 1 root root 1588 nov.  27  2011 20_memtest86+
-rwxr-xr-x 1 root root 7603 mai   17  2012 30_os-prober
-rwxr-xr-x 1 root root 1388 janv. 22 20:18 30_uefi-firmware
-rwxr-xr-x 1 root root  214 mai   17  2012 40_custom
-rwxr-xr-x 1 root root   95 mai   17  2012 41_custom
-rw-r--r-- 1 root root  483 mai   17  2012 README


/boot/efi detected in the fstab of sda4: UUID=1218-89A1   (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
ls /sys/firmware/efi/vars : WdtPersistentData-78ce2354-cfbc-4643-aeba-07a27fa892bf,UsbSupport-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,USB_POINT-8be4df61-93ca-11d2-aa0d-00e098032b8c,UsbMassDevValid-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,UsbMassDevNum-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,StdDefaults-4599d26f-1a11-49b8-b91f-858745cff824,SetupSnbPpmFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SetupPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,Setup-80e1202e-2697-4264-9cc9-80762c3e5863,ScramblerBaseSeed-87f22dcb-7304-4105-bb7c-317143ccc23b,SbAslBufferPtrVar-01f33c25-764d-43ea-aeea-6b5a41f3f3e8,SaPegData-c4975200-64f1-4fb6-9773-f6a9f89d985e,S3SS-4bafc2b4-02dc-4104-b236-d6f1b98d9e84,Ps2MouseDetectRecord-09b5c46a-0f41-4cee-84ff-f3660a0b08d6,Ps2KeyboardDetectRecord-5a47386b-4c41-43b6-a140-824b0260ca8d,ProcMitAttrib-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,PNP0604_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0604_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0510_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0510_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_1_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_1_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0400_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0400_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PchS3Peim-e6c2f70a-b604-4877-85ba-deec89e117eb,PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,OldLegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652,OA3MSDMvariable-8be4df61-93ca-11d2-aa0d-00e098032b8c,NvRamSpdMap-717fc150-abd9-4614-8015-0b3323eab95c,new_var,NewBoot0007-17a25442-7009-42df-a6c1-4760a1511ecc,NewBoot0006-17a25442-7009-42df-a6c1-4760a1511ecc,NewBoot0005-17a25442-7009-42df-a6c1-4760a1511ecc,NewBoot0004-17a25442-7009-42df-a6c1-4760a1511ecc,NewBoot0001-17a25442-7009-42df-a6c1-4760a1511ecc,NetworkStackVar-d1405d16-7afc-4695-bb12-41459d3695a2,NBPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,MrcS3Resume-87f22dcb-7304-4105-bb7c-317143ccc23b,MonotonicCounter-8be4df61-93ca-11d2-aa0d-00e098032b8c,VARIABLE-4b681db5-de3a-46ea-8e0c-a2f7eae1c4b8,ME,MemMitAttrib-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,MemCeil.-8be4df61-93ca-11d2-aa0d-00e098032b8c,LegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HobRomImage-dde1bc72-d45e-4209-ab85-14462d2f5074,HiiDB-1b838190-4625-4ead-abc9-cd5e6af18fe0,GnvsAreaVar-8be4df61-93ca-11d2-aa0d-00e098032b8c,FBO_WinBootManagerIndex-0c923ca9-df73-4ac8-b6d2-98ddc30d99fc,FBO_WinBootManager-0c923ca9-df73-4ac8-b6d2-98ddc30d99fc,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,EfiTime-9d0da369-540b-46f8-85a0-2b5f2c301e15,EasyVoltageAddress-dd41adf5-4368-4654-b1ca-46a6b98d9e84,EasyTuneSetupAddress-2a64d079-aceb-4ad9-afd5-252e35ba994a,EasySmartFanAddress-dd41adf5-4368-4654-b1ca-46a6b98d9e84,EasyHealthAddress-dd41adf5-4368-4654-b1ca-46a6b98d9e84,dump-type0-9-1347910260-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-8-1347910260-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-7-1347910259-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-6-1347910259-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-5-1347910259-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-4-1347910259-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-3-1347910259-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-2-1347910259-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-1-1352483430-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-11-1347910260-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-10-1347910260-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,DriverHlthEnable-0885f288-418c-4be1-a6af-8bad61da08fe,DriverHealthCount-7459a7d4-6533-4480-bba7-79e25a4443c9,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,BiosSetupType-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,AMITSESetup-c811fa38-42c8-4579-a9bb-60e94eddfb34,AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e,
Veuillez indiquer ce message à boot.repair@gmail.com
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda4	: sda,	not-sepboot,	grubenv-ok	grub2,	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.
sda3	: 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,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda3.

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


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

Model: ATA ST1000DM003-9YN1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  106MB   105MB   fat32           EFI system partition          boot
2      106MB   240MB   134MB                   Microsoft reserved partition  msftres
3      240MB   979GB   979GB   ntfs            Basic data partition
4      979GB   999GB   20.0GB  ext4
5      999GB   1000GB  1000MB  linux-swap(v1)

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

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA ST1000DM003-9YN1;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot;
2:106MB:240MB:134MB::Microsoft reserved partition:msftres;
3:240MB:979GB:979GB:ntfs:Basic data partition:;
4:979GB:999GB:20.0GB:ext4::;
5:999GB:1000GB:1000MB:linux-swap(v1)::;


=================== mount:
/dev/sda4 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/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /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)
/dev/sda1 on /boot/efi type vfat (rw)
gvfs-fuse-daemon on /home/maluna/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=maluna)
/dev/sda3 on /mnt/boot-sav/sda3 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 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 cdrw char console core cpu cpu_dma_latency disk dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom usb usbmon0 usbmon1 usbmon2 usbmon3 usbmon4 usbmon5 usbmon6 vga_arbiter zero
ls /dev/mapper:  control
ls /boot/efi:

=================== hexdump -n512 -C /dev/sda1
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 08 00 00  |........?.......|
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 00 29 a1 89 18 12 4e  4f 20 4e 41 4d 45 20 20  |..)....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 4e 02 8a 56 40 b4 41  |{......|.N..V@.A|
00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|
00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |t..F..-.V@....s.|
00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|
000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|
000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|
000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|
000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|
000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|
000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|
00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|
00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |....B.V@....fXfX|
00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|
00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|
00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|
00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|
00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |...f@Iu..BOOTMGR|
00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|
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 52 65  |..............Re|
000001b0  74 69 72 65 7a 20 6c 65  20 64 69 73 71 75 65 ff  |tirez le disque.|
000001c0  0d 0a 45 72 72 2e 20 64  69 73 71 75 65 ff 0d 0a  |..Err. disque...|
000001d0  50 72 65 73 73 65 7a 20  75 6e 65 20 74 6f 75 63  |Pressez une touc|
000001e0  68 65 20 70 6f 75 72 20  72 65 64 82 6d 61 72 72  |he pour red.marr|
000001f0  65 72 0d 0a 00 00 00 00  00 ac c0 ce 00 00 55 aa  |er............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
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 28 07 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  88 66 f7 71 00 00 00 00  |.........f.q....|
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  2e ca 21 2c dc 21 2c 44  |..........!,.!,D|
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 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 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........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/sda4      ext4       19G  3.1G   15G  18% /
udev           devtmpfs  3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs     1.6G  836K  1.6G   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     3.9G  128K  3.9G   1% /run/shm
/dev/sda1      vfat       96M   18M   79M  19% /boot/efi
/dev/sda3      fuseblk   912G   40G  873G   5% /mnt/boot-sav/sda3

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

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0xe76c95b1

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


EFI détecté. Veuillez vérifier les options.

=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda4, using the following options:        sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s   fix-windows-boot backup-and-rename-efi-files


/boot/efi added in sda4/fstab
Quantity of real Windows: 1
Mount sda1 on /boot/efi
ls /boot/efi:
Unhide GRUB boot menu in sda4/etc/default/grub
grub-install (GRUB) 1.99-21ubuntu3.9,grub-install (GRUB) 1.

Reinstall the grub-efi of sda4
grub-install : BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0001,0002,0003
Boot0001* Windows Boot Manager
Boot0002* Hard Drive
Boot0003* CD/DVD Drive
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003
Boot0001* Windows Boot Manager
Boot0002* Hard Drive
Boot0003* CD/DVD Drive
Boot0000* ubuntu
Installation finished. No error reported.
exit code of grub-install :0
(debug) beglsefi1 ubuntu/grubx64.efi ; ubuntu , /boot/efi .
ls /boot/efi:
df /dev/sda1
Save and rename /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi)
cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
df /dev/sda1
cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
df /dev/sda1
Save and rename /boot/efi/EFI/Boot/bootx64.efi (/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
ls /boot/efi:
Add /boot/efi efi entries in /etc/grub.d/25_custom
Adding custom /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Adding custom /boot/efi/EFI/Boot/bkpbootx64.efi
sda1//boot/efi/EFI/Boot/bkpbootx64.efi already added
sda1//boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi already added
grub-install : BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0001,0002,0003
Boot0001* Windows Boot Manager
Boot0002* Hard Drive
Boot0003* CD/DVD Drive
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003
Boot0001* Windows Boot Manager
Boot0002* Hard Drive
Boot0003* CD/DVD Drive
Boot0000* ubuntu
Installation finished. No error reported.
exit code of grub-install :0

update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found memtest86+ image: /boot/memtest86+.bin
Unhide GRUB boot menu in sda4/boot/grub/grub.cfg

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

Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/EFI/ubuntu/grubx64.efi !

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 12.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)

Tu me parles d'une entrée "bootmgr.x64" mais moi je ne vois que ces deux entrées qui proposent Windows :

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bkpbootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 1218-89A1
chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 1218-89A1
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
### END /etc/grub.d/25_custom ###

ces deux entrées donnent un lancement strictement identique de Windows 8 pour la raison que les fichiers /EFI/Microsoft/Boot/bkpbootmgfw.efi et EFI/Boot/bkpbootx64.efi sont strictement identiques : ils contiennent donc les mêmes instructions de démarrage de Windows 8.

Edit : D'après ce que je vois dans le Boot-Info, je vois que tu as cliqué sur "Réparation recommandée" de Boot-Repair : je t'avais juste demandé de faire un Boot-Info.

Dernière modification par malbo (Le 03/06/2013, à 18:56)

Hors ligne

#5 Le 03/06/2013, à 22:05

Maluna

Re : [Résolu] Deux entrées Windows dans Grub

Yop. smile

Merci pour la précision, je peux donc supprimer une de ces deux entrées depuis Grub-customizer. wink
Ca n'est pas windows 8 mais 7.
Et pour le rapport, c'est celui de la réparation que j'ai faite hier pour retrouver mes entrées Windows après avoir installé Ubuntu, c'est donc parfaitement normal. wink

Hors ligne

#6 Le 04/06/2013, à 09:12

malbo

Re : [Résolu] Deux entrées Windows dans Grub

Oui, c'est Windows 7 comme c'est visible dans le Boot-Info.
Évite d'utiliser cette daube de Grub-customizer. Pour supprimer une des deux entrées, tu peux éditer le fichier 25_custom en passant cette commande dans un terminal :

gksudo gedit /etc/grub.d/25_custom

Cela va ouvrir ce fichier dans l'éditeur de texte avec pouvoir d'administrateur.
Tu pourras faire la suppression de la partie suivante :

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 1218-89A1
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

puis enregistrer (dans l'éditeur de texte), puis fermer l'éditeur de texte.

Enfin tu passes la commande de mise à jour de Grub :

sudo update-grub

Au redémarrage de l'ordi, l'entrée indésirable aura bien disparu du menu Grub.

Dernière modification par malbo (Le 04/06/2013, à 09:13)

Hors ligne

#7 Le 04/06/2013, à 19:40

Maluna

Re : [Résolu] Deux entrées Windows dans Grub

Je te remercie, je passe le sujet en résolu. wink

Sinon, peux-tu m'expliquer pourquoi Grub-customizer est nul ? J'avais justement lu qu'il était mieux de passer par un logiciel adapté plutôt que modifier ça manuellement, car beaucoup trop dangereux.

Hors ligne

#8 Le 04/06/2013, à 21:19

malbo

Re : [Résolu] Deux entrées Windows dans Grub

Grub-customizer est dangereux. C'est expliqué dans la doc : http://doc.ubuntu-fr.org/grub-customizer
dans la note au début : "Grub Customizer doit être utilisé avec précaution car il permet de modifier les fichiers de Grub sans en garantir la cohérence..."

Hors ligne