#1 Le 04/04/2013, à 15:02
- malbo
[Résolu] Boot-Repair en EFI : fonctionnement alternatif
Le fonctionnement alternatif décrit dans ce post #1 est abandonné (voir post #2 à #4) au profit d'un fonctionnement plus logique à mon goût.
Ce post, c'est pour m'y référer pour montrer le fonctionnement assez bizarre de Boot-Repair quand il est utilisé dans un dual-boot Ubuntu/windows 8. On va voir que la 2ème "Réparation recommandée" fait un retour en arrière (rétablissement des fichiers .efi d'origine de Windows 8) alors que la 3ème "Réparation recommandée" revient à l'état de la réparation initiale. Ce mouvement alternatif se poursuit indéfiniment pour la plus grande perplexité du novice qui utilise Boot-Repair.
L'essai est fait dans VMware Player dans une machine virtuelle configurée en mode EFI (ajout d'une ligne firmware = "efi" dans le fichier .vmx de la machine). Windows 8 et Ubuntu 13.04 Beta sont installés en mode EFI.
"Réparation recommandée" initiale faite avec Boot-Repair :
Boot-Repair remplace les fichiers de démarrage de Windows 8 par les fichiers de démarrage de Ubuntu.
Le boot-Info en fin de réparation est là : http://paste.ubuntu.com/5676026/
Je le colle ci-dessous car je crains qu'il soit viré du site paste.ubuntu.com :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 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/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
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: Windows 8
Boot files: /bootmgr /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu Raring Ringtail (development branch)
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 125,829,119 125,829,119 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 105,101,311 104,017,920 Data partition (Windows/Linux)
/dev/sda5 105,101,312 123,628,655 18,527,344 Data partition (Windows/Linux)
/dev/sda6 123,629,568 125,581,311 1,951,744 Swap partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 1E42996842994605 ntfs Récupération
/dev/sda2 76A1-0C3C vfat
/dev/sda4 621AB1441AB1164F ntfs
/dev/sda5 f9881913-2b99-40e8-9239-6537d46fe378 ext4
/dev/sda6 c8feaf02-384c-408a-a4c2-92eeb4c80449 swap
/dev/sr0 iso9660 Ubuntu 13.04 amd64
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== 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
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-16-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
menuentry 'Ubuntu, with Linux 3.8.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-16-generic-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-16-generic ...'
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-16-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-16-generic-recovery-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-16-generic ...'
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-16-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-15-generic-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-15-generic ...'
linux /boot/vmlinuz-3.8.0-15-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-15-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-15-generic-recovery-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-15-generic ...'
linux /boot/vmlinuz-3.8.0-15-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-15-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/25_custom ###
menuentry "Windows UEFI bkpbootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 76A1-0C3C
chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 76A1-0C3C
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 ${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=f9881913-2b99-40e8-9239-6537d46fe378 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
#UUID=76A1-0C3C /boot/efi vfat defaults 0 1
# swap was on /dev/sda6 during installation
UUID=c8feaf02-384c-408a-a4c2-92eeb4c80449 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
UUID=76A1-0C3C /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
56.281555176 = 60.431859712 boot/grub/grub.cfg 1
51.132915497 = 54.903549952 boot/vmlinuz-3.8.0-15-generic 1
52.754013062 = 56.644190208 boot/vmlinuz-3.8.0-16-generic 1
52.754013062 = 56.644190208 vmlinuz 1
52.754013062 = 56.644190208 vmlinuz.old 1
52.045322418 = 55.883239424 boot/initrd.img-3.8.0-15-generic 1
52.889076233 = 56.789213184 boot/initrd.img-3.8.0-16-generic 1
52.889076233 = 56.789213184 initrd.img 1
=============================== StdErr Messages: ===============================
File descriptor 8 (/proc/14360/mounts) leaked on lvscan invocation. Parent PID 27110: bash
File descriptor 18 (/usr/share/icons/ubuntu-mono-dark/places/16/user-home.svg) leaked on lvscan invocation. Parent PID 27110: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-04__09h19 ===================
boot-repair version : 3.198~ppa2~raring
boot-sav version : 3.198~ppa2~raring
glade2script version : 3.2.2~ppa45~raring
boot-sav-extra version : 3.198~ppa2~raring
boot-repair is executed in live-session (Ubuntu Raring Ringtail (development branch), raring, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda5:Ubuntu Raring Ringtail (development branch) (13.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 13.04 amd64" TYPE="iso9660"
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="1E42996842994605" TYPE="ntfs"
/dev/sda2: UUID="76A1-0C3C" TYPE="vfat"
/dev/sda4: UUID="621AB1441AB1164F" TYPE="ntfs"
/dev/sda5: UUID="f9881913-2b99-40e8-9239-6537d46fe378" TYPE="ext4"
/dev/sda6: UUID="c8feaf02-384c-408a-a4c2-92eeb4c80449" 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 sda4.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
ls: cannot access /dev/disk/by-id: No such file or directory
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
=================== sda5/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"
=================== sda5/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Apr 4 06:34 grub.d
total 80
-rwxr-xr-x 1 root root 7541 Mar 13 00:51 00_header
-rwxr-xr-x 1 root root 5899 Feb 1 17:26 05_debian_theme
-rwxr-xr-x 1 root root 11381 Mar 13 00:51 10_linux
-rwxr-xr-x 1 root root 10258 Mar 13 00:51 20_linux_xen
-rwxr-xr-x 1 root root 1688 Dec 5 15:32 20_memtest86+
-rwxr-xr-x 1 root root 314 Apr 4 06:34 25_custom
-rwxr-xr-x 1 root root 311 Apr 3 12:39 25_custom~
-rwxr-xr-x 1 root root 10976 Mar 13 00:51 30_os-prober
-rwxr-xr-x 1 root root 1426 Mar 13 00:51 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 13 00:51 40_custom
-rwxr-xr-x 1 root root 216 Mar 13 00:51 41_custom
-rw-r--r-- 1 root root 483 Mar 13 00:51 README
/boot/efi detected in the fstab of sda5: UUID=76A1-0C3C (sda2)
ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,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,Boot0004-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,
Please report this message to yannubuntu@gmail.com
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
=================== PARTITIONS & DISKS:
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, 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, /mnt/boot-sav/sda2.
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, not-far, /mnt/boot-sav/sda4.
sda5 : 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, not-far, /mnt/boot-sav/sda5.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
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 53.8GB 53.3GB ntfs Basic data partition
5 53.8GB 63.3GB 9486MB ext4
6 63.3GB 64.3GB 999MB linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: VMware, Virtual CD-ROM (scsi)
Disk /dev/sr0: 822MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 64.9MB 74.2MB 9306kB EFI
=================== parted -lm:
BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S;
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:53.8GB:53.3GB:ntfs:Basic data partition:;
5:53.8GB:63.3GB:9486MB:ext4::;
6:63.3GB:64.3GB:999MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
BYT;
/dev/sr0:822MB:scsi:2048:2048:mac:VMware, Virtual CD-ROM;
1:8192B:24.6kB:16.4kB::Apple:;
2:64.9MB:74.2MB:9306kB::EFI:;
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
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)
gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
=================== ls:
/sys/block/fd0 (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
/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 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): agpgart alarm ashmem autofs binder block bsg btrfs-control cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net zero
ls /dev/mapper: control
=================== 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 05 46 99 42 68 99 42 1e |.........F.Bh.B.|
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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
Files in /mnt/boot-sav/sda2 are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
=================== 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 00 29 3c 0c a1 76 4e 4f 20 4e 41 4d 45 20 20 |..)<..vNO 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 45 72 |..............Er|
000001b0 72 2e 20 64 69 73 71 75 65 ff 0d 0a 50 72 65 73 |r. disque...Pres|
000001c0 73 65 7a 20 75 6e 65 20 74 6f 75 63 68 65 20 70 |sez une touche p|
000001d0 6f 75 72 20 72 65 64 82 6d 61 72 72 65 72 0d 0a |our red.marrer..|
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 ba 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 2f 33 06 00 00 00 00 |........./3.....|
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 4f 16 b1 1a 44 b1 1a 62 |........O...D..b|
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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 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
/cow overlayfs 1002M 100M 902M 10% /
udev devtmpfs 989M 12K 989M 1% /dev
tmpfs tmpfs 201M 732K 200M 1% /run
/dev/sr0 iso9660 784M 784M 0 100% /cdrom
/dev/loop0 squashfs 737M 737M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1002M 2.5M 999M 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1002M 80K 1002M 1% /run/shm
none tmpfs 100M 40K 100M 1% /run/user
/dev/sda1 fuseblk 300M 218M 83M 73% /mnt/boot-sav/sda1
/dev/sda2 vfat 96M 25M 72M 26% /mnt/boot-sav/sda2
/dev/sda4 fuseblk 50G 17G 34G 34% /mnt/boot-sav/sda4
/dev/sda5 ext4 8.6G 3.4G 4.9G 41% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcf93be72
Device Boot Start End Blocks Id System
/dev/sda1 1 125829119 62914559+ ee GPT
EFI detected. Please check the options.
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda5, using the following options: sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot backup-and-rename-efi-files
Quantity of real Windows: 1
Mount sda2 on /mnt/boot-sav/sda5/boot/efi
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
No sda5/boot/efi/efi/ubuntu/ folder
grub-install (GRUB) 2.00-13ubuntu2,grub-install (GRUB) 2.
Reinstall the grub-efi of sda5
Installation finished. No error reported.SET@_progressbar1.pulse()
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0001
BootOrder: 0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
BootCurrent: 0001
BootOrder: 0000,0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
Boot0000* ubuntu
exit code of grub-install :0
mv 25_custom
(debug) beglsefi1 ubuntu/grubx64.efi ; ubuntu , /mnt/boot-sav/sda5/boot/efi .
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
(debug) befmemaddedentry.
(debug) beflsefi2 ; 1 , /mnt/boot-sav/sda5/boot/efi .
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
df /dev/sda2
Save and rename /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (/mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi)
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
df /dev/sda2
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
df /dev/sda2
Save and rename /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi
Add /mnt/boot-sav/sda5/boot/efi efi entries in /mnt/boot-sav/sda5/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
sda2//mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi already added
sda2//mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi already added
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0001
BootOrder: 0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
BootCurrent: 0001
BootOrder: 0000,0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
Boot0000* ubuntu
exit code of grub-install :0
chroot /mnt/boot-sav/sda5 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-16-generic
Found initrd image: /boot/initrd.img-3.8.0-16-generic
Found linux image: /boot/vmlinuz-3.8.0-15-generic
Found initrd image: /boot/initrd.img-3.8.0-15-generic
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda2/EFI/ubuntu/grubx64.efi file!
Les "intentions" de Boot-Repair avant réparation sont visibles dans cette partie du rapport (c'est "backup-and-rename-efi-files" qui est important) :
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda5, using the following options: sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot backup-and-rename-efi-files
Analyse du tripatouillage réalisé par Boot-Repair depuis une session du Ubuntu installé (j'utilise md5sum pour démasquer les fichiers identiques) :
md5sum /boot/efi/EFI/Boot/bootx64.efi
7ac52ccc680fbe866021a62a5d2ab54e /boot/efi/EFI/Boot/bootx64.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
7ac52ccc680fbe866021a62a5d2ab54e /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi
7ac52ccc680fbe866021a62a5d2ab54e /boot/efi/EFI/Microsoft/Boot/bootx64.efi
md5sum /boot/efi/EFI/ubuntu/grubx64.efi
a0cda3a87f38e0754d8d628fd9f14259 /boot/efi/EFI/ubuntu/grubx64.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
md5sum /boot/efi/EFI/Boot/bkpbootx64.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 /boot/efi/EFI/Boot/bkpbootx64.efi
Les fichiers à md5sum = 7ac52ccc680fbe866021a62a5d2ab54e démarrent sur le menu Grub de Ubuntu
Le fichier grubx64.efi avec md5sum = a0cda3a87f38e0754d8d628fd9f14259 démarre également sur le menu Grub de Ubuntu
Les fichiers à md5sum = dbed1f7ed9e19e53bfc7f43122ce3d83 démarrent Windows 8
2ème "Réparation recommandée" :
En cliquant sur "Options avancées" juste avant de lancer cette "Réparation recommandée", on voit que Boot-Repair va rétablir les anciens fichiers d'origine Windows (la case "Restore EFI backups" est pré-cochée).
Le boot-Info en fin de réparation est là : http://paste.ubuntu.com/5676489/Je le colle ci-dessous :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 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/Boot/bootx64.efi /EFI/ubuntu/grubx64.efi
/EFI/Microsoft/Boot/bootmgfw.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: Windows 8
Boot files: /bootmgr /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu Raring Ringtail (development branch)
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 125,829,119 125,829,119 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 105,101,311 104,017,920 Data partition (Windows/Linux)
/dev/sda5 105,101,312 123,628,655 18,527,344 Data partition (Windows/Linux)
/dev/sda6 123,629,568 125,581,311 1,951,744 Swap partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 1E42996842994605 ntfs Récupération
/dev/sda2 76A1-0C3C vfat
/dev/sda4 621AB1441AB1164F ntfs
/dev/sda5 f9881913-2b99-40e8-9239-6537d46fe378 ext4
/dev/sda6 c8feaf02-384c-408a-a4c2-92eeb4c80449 swap
/dev/sr0 iso9660 Ubuntu 13.04 amd64
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== 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
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-16-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
menuentry 'Ubuntu, with Linux 3.8.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-16-generic-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-16-generic ...'
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-16-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-16-generic-recovery-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-16-generic ...'
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-16-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-15-generic-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-15-generic ...'
linux /boot/vmlinuz-3.8.0-15-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-15-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-15-generic-recovery-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-15-generic ...'
linux /boot/vmlinuz-3.8.0-15-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-15-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/25_custom ###
menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 76A1-0C3C
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 76A1-0C3C
chainloader (${root})/EFI/Boot/bootx64.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 ${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=f9881913-2b99-40e8-9239-6537d46fe378 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
#UUID=76A1-0C3C /boot/efi vfat defaults 0 1
# swap was on /dev/sda6 during installation
UUID=c8feaf02-384c-408a-a4c2-92eeb4c80449 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
UUID=76A1-0C3C /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
56.281562805 = 60.431867904 boot/grub/grub.cfg 1
51.132915497 = 54.903549952 boot/vmlinuz-3.8.0-15-generic 1
52.754013062 = 56.644190208 boot/vmlinuz-3.8.0-16-generic 1
52.754013062 = 56.644190208 vmlinuz 1
52.754013062 = 56.644190208 vmlinuz.old 1
52.045322418 = 55.883239424 boot/initrd.img-3.8.0-15-generic 1
52.889076233 = 56.789213184 boot/initrd.img-3.8.0-16-generic 1
52.889076233 = 56.789213184 initrd.img 1
=============================== StdErr Messages: ===============================
File descriptor 8 (/proc/4764/mounts) leaked on lvscan invocation. Parent PID 16604: bash
File descriptor 16 (/usr/share/icons/ubuntu-mono-dark/places/16/user-home.svg) leaked on lvscan invocation. Parent PID 16604: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-04__12h39 ===================
boot-repair version : 3.198~ppa2~raring
boot-sav version : 3.198~ppa2~raring
glade2script version : 3.2.2~ppa45~raring
boot-sav-extra version : 3.198~ppa2~raring
boot-repair is executed in live-session (Ubuntu Raring Ringtail (development branch), raring, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda5:Ubuntu Raring Ringtail (development branch) (13.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 13.04 amd64" TYPE="iso9660"
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="1E42996842994605" TYPE="ntfs"
/dev/sda2: UUID="76A1-0C3C" TYPE="vfat"
/dev/sda4: UUID="621AB1441AB1164F" TYPE="ntfs"
/dev/sda5: UUID="f9881913-2b99-40e8-9239-6537d46fe378" TYPE="ext4"
/dev/sda6: UUID="c8feaf02-384c-408a-a4c2-92eeb4c80449" 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 sda4.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
ls: cannot access /dev/disk/by-id: No such file or directory
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bkpbootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda2/EFI/Boot/bkpbootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bkpbootmgfw.efi
=================== sda5/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"
=================== sda5/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Apr 4 09:23 grub.d
total 80
-rwxr-xr-x 1 root root 7541 Mar 13 00:51 00_header
-rwxr-xr-x 1 root root 5899 Feb 1 17:26 05_debian_theme
-rwxr-xr-x 1 root root 11381 Mar 13 00:51 10_linux
-rwxr-xr-x 1 root root 10258 Mar 13 00:51 20_linux_xen
-rwxr-xr-x 1 root root 1688 Dec 5 15:32 20_memtest86+
-rwxr-xr-x 1 root root 320 Apr 4 09:23 25_custom
-rwxr-xr-x 1 root root 311 Apr 3 12:39 25_custom~
-rwxr-xr-x 1 root root 10976 Mar 13 00:51 30_os-prober
-rwxr-xr-x 1 root root 1426 Mar 13 00:51 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 13 00:51 40_custom
-rwxr-xr-x 1 root root 216 Mar 13 00:51 41_custom
-rw-r--r-- 1 root root 483 Mar 13 00:51 README
/boot/efi detected in the fstab of sda5: UUID=76A1-0C3C (sda2)
ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,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,Boot0004-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,
Please report this message to yannubuntu@gmail.com
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
=================== PARTITIONS & DISKS:
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, 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, /mnt/boot-sav/sda2.
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, not-far, /mnt/boot-sav/sda4.
sda5 : 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, not-far, /mnt/boot-sav/sda5.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
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 53.8GB 53.3GB ntfs Basic data partition
5 53.8GB 63.3GB 9486MB ext4
6 63.3GB 64.3GB 999MB linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: VMware, Virtual CD-ROM (scsi)
Disk /dev/sr0: 822MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 64.9MB 74.2MB 9306kB EFI
=================== parted -lm:
BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S;
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:53.8GB:53.3GB:ntfs:Basic data partition:;
5:53.8GB:63.3GB:9486MB:ext4::;
6:63.3GB:64.3GB:999MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
BYT;
/dev/sr0:822MB:scsi:2048:2048:mac:VMware, Virtual CD-ROM;
1:8192B:24.6kB:16.4kB::Apple:;
2:64.9MB:74.2MB:9306kB::EFI:;
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
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)
gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
=================== ls:
/sys/block/fd0 (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
/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 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): agpgart alarm ashmem autofs binder block bsg btrfs-control cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net zero
ls /dev/mapper: control
=================== 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 05 46 99 42 68 99 42 1e |.........F.Bh.B.|
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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
Files in /mnt/boot-sav/sda2 are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/bootx64.efi.grb /EFI/Microsoft/Boot/bootx64.efi /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bkpbootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi /EFI/Boot/bkpbootx64.efi
=================== 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 00 29 3c 0c a1 76 4e 4f 20 4e 41 4d 45 20 20 |..)<..vNO 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 45 72 |..............Er|
000001b0 72 2e 20 64 69 73 71 75 65 ff 0d 0a 50 72 65 73 |r. disque...Pres|
000001c0 73 65 7a 20 75 6e 65 20 74 6f 75 63 68 65 20 70 |sez une touche p|
000001d0 6f 75 72 20 72 65 64 82 6d 61 72 72 65 72 0d 0a |our red.marrer..|
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 ba 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 2f 33 06 00 00 00 00 |........./3.....|
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 4f 16 b1 1a 44 b1 1a 62 |........O...D..b|
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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 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
/cow overlayfs 1002M 99M 903M 10% /
udev devtmpfs 989M 12K 989M 1% /dev
tmpfs tmpfs 201M 732K 200M 1% /run
/dev/sr0 iso9660 784M 784M 0 100% /cdrom
/dev/loop0 squashfs 737M 737M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1002M 2.4M 999M 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1002M 80K 1002M 1% /run/shm
none tmpfs 100M 40K 100M 1% /run/user
/dev/sda1 fuseblk 300M 218M 83M 73% /mnt/boot-sav/sda1
/dev/sda2 vfat 96M 25M 72M 26% /mnt/boot-sav/sda2
/dev/sda4 fuseblk 50G 17G 34G 34% /mnt/boot-sav/sda4
/dev/sda5 ext4 8.6G 3.4G 4.9G 41% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcf93be72
Device Boot Start End Blocks Id System
/dev/sda1 1 125829119 62914559+ ee GPT
EFI detected. Please check the options.
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda5, using the following options: sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot restore-efi-backups
rm /mnt/boot-sav/sda2/efi/Microsoft/Boot/bootmgfw.efi
rm /mnt/boot-sav/sda2/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda2/efi/Microsoft/Boot/bootx64.efi.grb
rm /mnt/boot-sav/sda2/efi/Boot/bootx64.efi
Quantity of real Windows: 1
Mount sda2 on /mnt/boot-sav/sda5/boot/efi
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
grub-install (GRUB) 2.00-13ubuntu2,grub-install (GRUB) 2.
Reinstall the grub-efi of sda5
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0001
BootOrder: 0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
BootCurrent: 0001
BootOrder: 0000,0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
Boot0000* ubuntu
exit code of grub-install :0
mv 25_custom
(debug) beglsefi1 ubuntu/grubx64.efi ; ubuntu , /mnt/boot-sav/sda5/boot/efi .
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
(debug) befmemaddedentry.
(debug) beflsefi2 ; 1 , /mnt/boot-sav/sda5/boot/efi .
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
Add /mnt/boot-sav/sda5/boot/efi efi entries in /mnt/boot-sav/sda5/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi
sda2//mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi already added
sda2//mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi already added
chroot /mnt/boot-sav/sda5 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-16-generic
Found initrd image: /boot/initrd.img-3.8.0-16-generic
Found linux image: /boot/vmlinuz-3.8.0-15-generic
Found initrd image: /boot/initrd.img-3.8.0-15-generic
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda2/EFI/ubuntu/grubx64.efi file!
Les "intentions" de Boot-Repair avant lancement de la réparation (qu'on a pu vérifier en cliquant sur "Options avancées" : voir captures d'écran plus haut) sont visibles dans cette partie du rapport Boot-Info (c'est restore-efi-backups qui est important) :
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda5, using the following options: sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot restore-efi-backups
Reprise de l'examen des md5sum pour comparer avec la phase précédente :
md5sum /boot/efi/EFI/Boot/bootx64.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 /boot/efi/EFI/Boot/bootx64.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
md5sum /boot/efi/EFI/ubuntu/grubx64.efi
c4f594e9811a51b3c7e7bfaea16e171e /boot/efi/EFI/ubuntu/grubx64.efi
Les fichiers à md5sum = dbed1f7ed9e19e53bfc7f43122ce3d83 démarrent Windows 8
Le fichier grubx64.efi avec md5sum = c4f594e9811a51b3c7e7bfaea16e171e démarre sur le menu Grub de Ubuntu
3ème "Réparation recommandée" :
En cliquant sur "Options avancées" juste avant de lancer cette "Réparation recommandée", on voit que Boot-Repair va faire "backup and rename EFI files"
Le boot-Info en fin de réparation est là : http://paste.ubuntu.com/5676605/
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 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/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
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: Windows 8
Boot files: /bootmgr /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu Raring Ringtail (development branch)
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 125,829,119 125,829,119 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 105,101,311 104,017,920 Data partition (Windows/Linux)
/dev/sda5 105,101,312 123,628,655 18,527,344 Data partition (Windows/Linux)
/dev/sda6 123,629,568 125,581,311 1,951,744 Swap partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 1E42996842994605 ntfs Récupération
/dev/sda2 76A1-0C3C vfat
/dev/sda4 621AB1441AB1164F ntfs
/dev/sda5 f9881913-2b99-40e8-9239-6537d46fe378 ext4
/dev/sda6 c8feaf02-384c-408a-a4c2-92eeb4c80449 swap
/dev/sr0 iso9660 Ubuntu 13.04 amd64
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== 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
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-16-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
menuentry 'Ubuntu, with Linux 3.8.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-16-generic-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-16-generic ...'
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-16-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-16-generic-recovery-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-16-generic ...'
linux /boot/vmlinuz-3.8.0-16-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-16-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-15-generic-advanced-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-15-generic ...'
linux /boot/vmlinuz-3.8.0-15-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-15-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-15-generic-recovery-f9881913-2b99-40e8-9239-6537d46fe378' {
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 f9881913-2b99-40e8-9239-6537d46fe378
else
search --no-floppy --fs-uuid --set=root f9881913-2b99-40e8-9239-6537d46fe378
fi
echo 'Loading Linux 3.8.0-15-generic ...'
linux /boot/vmlinuz-3.8.0-15-generic root=UUID=f9881913-2b99-40e8-9239-6537d46fe378 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-15-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/25_custom ###
menuentry "Windows UEFI bkpbootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 76A1-0C3C
chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 76A1-0C3C
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 ${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=f9881913-2b99-40e8-9239-6537d46fe378 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
#UUID=76A1-0C3C /boot/efi vfat defaults 0 1
# swap was on /dev/sda6 during installation
UUID=c8feaf02-384c-408a-a4c2-92eeb4c80449 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
UUID=76A1-0C3C /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
56.281570435 = 60.431876096 boot/grub/grub.cfg 1
51.132915497 = 54.903549952 boot/vmlinuz-3.8.0-15-generic 1
52.754013062 = 56.644190208 boot/vmlinuz-3.8.0-16-generic 1
52.754013062 = 56.644190208 vmlinuz 1
52.754013062 = 56.644190208 vmlinuz.old 1
52.045322418 = 55.883239424 boot/initrd.img-3.8.0-15-generic 1
52.889076233 = 56.789213184 boot/initrd.img-3.8.0-16-generic 1
52.889076233 = 56.789213184 initrd.img 1
=============================== StdErr Messages: ===============================
File descriptor 8 (/proc/4697/mounts) leaked on lvscan invocation. Parent PID 17443: bash
File descriptor 16 (/usr/share/icons/ubuntu-mono-dark/places/16/user-home.svg) leaked on lvscan invocation. Parent PID 17443: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-04__13h16 ===================
boot-repair version : 3.198~ppa2~raring
boot-sav version : 3.198~ppa2~raring
glade2script version : 3.2.2~ppa45~raring
boot-sav-extra version : 3.198~ppa2~raring
boot-repair is executed in live-session (Ubuntu Raring Ringtail (development branch), raring, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda5:Ubuntu Raring Ringtail (development branch) (13.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 13.04 amd64" TYPE="iso9660"
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="1E42996842994605" TYPE="ntfs"
/dev/sda2: UUID="76A1-0C3C" TYPE="vfat"
/dev/sda4: UUID="621AB1441AB1164F" TYPE="ntfs"
/dev/sda5: UUID="f9881913-2b99-40e8-9239-6537d46fe378" TYPE="ext4"
/dev/sda6: UUID="c8feaf02-384c-408a-a4c2-92eeb4c80449" 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 sda4.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
ls: cannot access /dev/disk/by-id: No such file or directory
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
=================== sda5/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"
=================== sda5/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Apr 4 12:44 grub.d
total 80
-rwxr-xr-x 1 root root 7541 Mar 13 00:51 00_header
-rwxr-xr-x 1 root root 5899 Feb 1 17:26 05_debian_theme
-rwxr-xr-x 1 root root 11381 Mar 13 00:51 10_linux
-rwxr-xr-x 1 root root 10258 Mar 13 00:51 20_linux_xen
-rwxr-xr-x 1 root root 1688 Dec 5 15:32 20_memtest86+
-rwxr-xr-x 1 root root 311 Apr 4 12:44 25_custom
-rwxr-xr-x 1 root root 311 Apr 3 12:39 25_custom~
-rwxr-xr-x 1 root root 10976 Mar 13 00:51 30_os-prober
-rwxr-xr-x 1 root root 1426 Mar 13 00:51 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 13 00:51 40_custom
-rwxr-xr-x 1 root root 216 Mar 13 00:51 41_custom
-rw-r--r-- 1 root root 483 Mar 13 00:51 README
/boot/efi detected in the fstab of sda5: UUID=76A1-0C3C (sda2)
ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,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,Boot0004-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,
Please report this message to yannubuntu@gmail.com
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to yannubuntu@gmail.com)
=================== PARTITIONS & DISKS:
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, 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, /mnt/boot-sav/sda2.
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, not-far, /mnt/boot-sav/sda4.
sda5 : 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, not-far, /mnt/boot-sav/sda5.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
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 53.8GB 53.3GB ntfs Basic data partition
5 53.8GB 63.3GB 9486MB ext4
6 63.3GB 64.3GB 999MB linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: VMware, Virtual CD-ROM (scsi)
Disk /dev/sr0: 822MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 64.9MB 74.2MB 9306kB EFI
=================== parted -lm:
BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S;
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:53.8GB:53.3GB:ntfs:Basic data partition:;
5:53.8GB:63.3GB:9486MB:ext4::;
6:63.3GB:64.3GB:999MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
BYT;
/dev/sr0:822MB:scsi:2048:2048:mac:VMware, Virtual CD-ROM;
1:8192B:24.6kB:16.4kB::Apple:;
2:64.9MB:74.2MB:9306kB::EFI:;
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
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)
gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
=================== ls:
/sys/block/fd0 (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
/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 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): agpgart alarm ashmem autofs binder block bsg btrfs-control cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net zero
ls /dev/mapper: control
=================== 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 05 46 99 42 68 99 42 1e |.........F.Bh.B.|
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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
Files in /mnt/boot-sav/sda2 are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
=================== 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 00 29 3c 0c a1 76 4e 4f 20 4e 41 4d 45 20 20 |..)<..vNO 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 45 72 |..............Er|
000001b0 72 2e 20 64 69 73 71 75 65 ff 0d 0a 50 72 65 73 |r. disque...Pres|
000001c0 73 65 7a 20 75 6e 65 20 74 6f 75 63 68 65 20 70 |sez une touche p|
000001d0 6f 75 72 20 72 65 64 82 6d 61 72 72 65 72 0d 0a |our red.marrer..|
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 ba 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 2f 33 06 00 00 00 00 |........./3.....|
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 4f 16 b1 1a 44 b1 1a 62 |........O...D..b|
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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 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
/cow overlayfs 1002M 97M 905M 10% /
udev devtmpfs 989M 12K 989M 1% /dev
tmpfs tmpfs 201M 732K 200M 1% /run
/dev/sr0 iso9660 784M 784M 0 100% /cdrom
/dev/loop0 squashfs 737M 737M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1002M 2.4M 999M 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1002M 80K 1002M 1% /run/shm
none tmpfs 100M 40K 100M 1% /run/user
/dev/sda1 fuseblk 300M 218M 83M 73% /mnt/boot-sav/sda1
/dev/sda2 vfat 96M 25M 72M 26% /mnt/boot-sav/sda2
/dev/sda4 fuseblk 50G 17G 34G 34% /mnt/boot-sav/sda4
/dev/sda5 ext4 8.6G 3.4G 4.9G 41% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcf93be72
Device Boot Start End Blocks Id System
/dev/sda1 1 125829119 62914559+ ee GPT
EFI detected. Please check the options.
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda5, using the following options: sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot backup-and-rename-efi-files
Quantity of real Windows: 1
Mount sda2 on /mnt/boot-sav/sda5/boot/efi
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
grub-install (GRUB) 2.00-13ubuntu2,grub-install (GRUB) 2.
Reinstall the grub-efi of sda5
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0001
BootOrder: 0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
BootCurrent: 0001
BootOrder: 0000,0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
Boot0000* ubuntu
exit code of grub-install :0
mv 25_custom
(debug) beglsefi1 ubuntu/grubx64.efi ; ubuntu , /mnt/boot-sav/sda5/boot/efi .
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
(debug) befmemaddedentry.
(debug) beflsefi2 ; 1 , /mnt/boot-sav/sda5/boot/efi .
Files in /mnt/boot-sav/sda5/boot/efi are: /EFI/Microsoft/Boot/zh-TW /EFI/Microsoft/Boot/zh-HK /EFI/Microsoft/Boot/zh-CN /EFI/Microsoft/Boot/uk-UA /EFI/Microsoft/Boot/tr-TR /EFI/Microsoft/Boot/sv-SE /EFI/Microsoft/Boot/sr-Latn-CS /EFI/Microsoft/Boot/sl-SI /EFI/Microsoft/Boot/sk-SK /EFI/Microsoft/Boot/ru-RU /EFI/Microsoft/Boot/ro-RO /EFI/Microsoft/Boot/Resources /EFI/Microsoft/Boot/qps-ploc /EFI/Microsoft/Boot/pt-PT /EFI/Microsoft/Boot/pt-BR /EFI/Microsoft/Boot/pl-PL /EFI/Microsoft/Boot/nl-NL /EFI/Microsoft/Boot/nb-NO /EFI/Microsoft/Boot/memtest.efi /EFI/Microsoft/Boot/lv-LV /EFI/Microsoft/Boot/lt-LT /EFI/Microsoft/Boot/ko-KR /EFI/Microsoft/Boot/ja-JP /EFI/Microsoft/Boot/it-IT /EFI/Microsoft/Boot/hu-HU /EFI/Microsoft/Boot/hr-HR /EFI/Microsoft/Boot/fr-FR /EFI/Microsoft/Boot/Fonts /EFI/Microsoft/Boot/fi-FI /EFI/Microsoft/Boot/et-EE /EFI/Microsoft/Boot/es-ES /EFI/Microsoft/Boot/en-US /EFI/Microsoft/Boot/en-GB /EFI/Microsoft/Boot/el-GR /EFI/Microsoft/Boot/de-DE /EFI/Microsoft/Boot/da-DK /EFI/Microsoft/Boot/cs-CZ /EFI/Microsoft/Boot/boot.stl /EFI/Microsoft/Boot/BOOTSTAT.DAT /EFI/Microsoft/Boot/bootmgr.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bg-BG /EFI/Microsoft/Boot/BCD.LOG2 /EFI/Microsoft/Boot/BCD.LOG1 /EFI/Microsoft/Boot/BCD.LOG /EFI/Microsoft/Boot/BCD /EFI/ubuntu/grubx64.efi /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi
df /dev/sda2
Save and rename /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (/mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi)
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
df /dev/sda2
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
df /dev/sda2
Save and rename /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi
Add /mnt/boot-sav/sda5/boot/efi efi entries in /mnt/boot-sav/sda5/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
sda2//mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi already added
sda2//mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi already added
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0001
BootOrder: 0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
BootCurrent: 0001
BootOrder: 0000,0004,0001,0002,0003
Boot0001* EFI VMware Virtual SCSI CDROM Drive (0.0)
Boot0002* EFI Network
Boot0003* EFI Internal Shell (Unsupported option)
Boot0004* Windows Boot Manager
Boot0000* ubuntu
exit code of grub-install :0
chroot /mnt/boot-sav/sda5 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-16-generic
Found initrd image: /boot/initrd.img-3.8.0-16-generic
Found linux image: /boot/vmlinuz-3.8.0-15-generic
Found initrd image: /boot/initrd.img-3.8.0-15-generic
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda2/EFI/ubuntu/grubx64.efi file!
Les "intentions" de Boot-Repair (qu'on a pu vérifier avant de lancer la réparation en cliquant sur "Options avancées") sont visibles dans cette partie du rapport Boot-Info (on retrouve "backup-and-rename-efi-files" comme pour la réparation initiale) :
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda5, using the following options: sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot backup-and-rename-efi-files
Reprise de l'examen des md5sum pour comparer avec les deux phases précédentes :
md5sum /boot/efi/EFI/Boot/bootx64.efi
2f60a5525b09ef4c8e2102f8186011e7 /boot/efi/EFI/Boot/bootx64.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
2f60a5525b09ef4c8e2102f8186011e7 /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bootx64.efi
2f60a5525b09ef4c8e2102f8186011e7 /boot/efi/EFI/Microsoft/Boot/bootx64.efi
md5sum /boot/efi/EFI/ubuntu/grubx64.efi
679d8b1d057c6b2fc25965c3fd324e31 /boot/efi/EFI/ubuntu/grubx64.efi
md5sum /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
md5sum /boot/efi/EFI/Boot/bkpbootx64.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 /boot/efi/EFI/Boot/bkpbootx64.efi
Les fichiers avec md5sum = 2f60a5525b09ef4c8e2102f8186011e7 démarrent sur le menu Grub de Ubuntu
Le fichier grubx64.efi avec md5sum = 679d8b1d057c6b2fc25965c3fd324e31 démarre également sur le menu Grub de Ubuntu
Les fichiers avec md5sum = dbed1f7ed9e19e53bfc7f43122ce3d83 démarrent sur Windows 8
Dernière modification par malbo (Le 08/04/2013, à 11:56)
Hors ligne
#2 Le 04/04/2013, à 21:38
- YannUbuntu
Re : [Résolu] Boot-Repair en EFI : fonctionnement alternatif
Bonjour Malbo
Ce fonctionnement alternatif est voulu. Il permet :
- de renommer les fichiers EFI lors de la 1ere réparation, ce qui fonctionne dans la grande majorité des cas.
- puis si besoin (si Grub n'apparait pas), d'annuler simplement le renommage des fichiers EFI, afin d'être sûr que le soucis ne vient pas du renommage. En général le soucis vient d'option à désactiver dans le BIOS ( SecureBoot, IntelSRT, etc..).
Ceci-dit, comme je n'ai jamais vu de cas où le renommage était en cause, on pourrait envisager d'arreter ce fonctionnement alternatif.
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
#3 Le 05/04/2013, à 04:41
- malbo
Re : [Résolu] Boot-Repair en EFI : fonctionnement alternatif
Ceci-dit, comme je n'ai jamais vu de cas où le renommage était en cause, on pourrait envisager d'arreter ce fonctionnement alternatif.
Je suis favorable aussi à l'arrêt de ce fonctionnement alternatif.
Hors ligne
#4 Le 05/04/2013, à 08:14
- YannUbuntu
Re : [Résolu] Boot-Repair en EFI : fonctionnement alternatif
ok, ce sera fait dans la prochaine version.
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
#5 Le 08/04/2013, à 11:45
- malbo
Re : [Résolu] Boot-Repair en EFI : fonctionnement alternatif
Je viens de voir que dans la nouvelle version 3.198~ppa5 de Boot-Repair, le fonctionnement alternatif a été supprimé et moi ça me plaît bien .
J'ai eu la flemme de vérifier cela depuis une session liveCD (virtuelle) : je l'ai vérifié en faisant la réparation recommandée de Boot-Repair depuis la session normale de Ubuntu installé. J'ai fait les 3 réparations successives suivantes (avec redémarrage de la machine après chaque réparation pour vérifier le fonctionnement) :
http://paste.ubuntu.com/5688847/
http://paste.ubuntu.com/5688910/
http://paste.ubuntu.com/5688992/
Je peux confirmer que le fonctionnement alternatif a bien disparu et que tout fonctionne comme il me semble que ça doit fonctionner.
Hors ligne
#6 Le 08/04/2013, à 22:35
- YannUbuntu
Re : [Résolu] Boot-Repair en EFI : fonctionnement alternatif
ok merci pour le retour.
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne