Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/01/2015, à 18:16

ikewdu

[test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

******************************************************************************************************************************************
EDIT. Les captures d'écran n'existent plus pour cause de disparition du site d'hébergement hostingpics. Désolé
******************************************************************************************************************************************

Pour ceux qui sont nostalgiques du mode legacy (bios classique), il est parfaitement possible de convertir un dual-boot W8/Ubuntu UEFI installé sur disque gpt en W8/Ubuntu installé sur disque mbr.

La manipulation est faite ici avec W10 (ça évite les problèmes de licence) et Mint, mais le principe est le même que pour W8 et Ubuntu.
Attention: il est bien sûr impératif que le bios accepte le mode Legacy (ou csm) pour que l'opération soit possible.

J'utilise bien entendu vmware player, qui permet de faire toutes les manipulations sans danger pour le pc.

1. Situation de départ : dual-boot en UEFI

Paste2

    Create Paste
    Followup Paste
    QR

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= 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/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi
    /EFI/ubuntu/shimx64.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:
    Boot files: /grub.cfg /bootmgr /Windows/System32/winload.exe
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 32.2 GB, 32212254720 bytes
    255 heads, 63 sectors/track, 3916 cylinders, total 62914560 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 62,914,559 62,914,559 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 819,199 202,752 EFI System partition
    /dev/sda3 819,200 1,081,343 262,144 Microsoft Reserved Partition (Windows)
    /dev/sda4 1,081,344 36,861,951 35,780,608 Data partition (Windows/Linux)
    /dev/sda5 36,864,000 62,912,511 26,048,512 Data partition (Linux)
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 C414020A14020062 ntfs Recovery
    /dev/sda2 FE02-91D0 vfat
    /dev/sda4 A42C0E632C0E313A ntfs
    /dev/sda5 1c8fb8f8-40f3-423e-bd31-3089b2614b91 ext4
    /dev/sr0 iso9660 Linux Mint 17 Xfce 64-bit
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 17 14:46 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda2 /boot/efi vfat (rw)
    /dev/sda5 / ext4 (rw,errors=remount-ro)
    ================================ sda4/grub.cfg: ================================
    --------------------------------------------------------------------------------
    search.fs_uuid 1c8fb8f8-40f3-423e-bd31-3089b2614b91 root hd0,gpt5
    set prefix=($root)'/boot/grub'
    configfile $prefix/grub.cfg
    --------------------------------------------------------------------------------
    =========================== sda5/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    else
    search --no-floppy --fs-uuid --set=root 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
    set timeout=-1
    else
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=10
    fi
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="$1"
    if [ "$1" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    }
    if [ ${recordfail} != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda5)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    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 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    else
    search --no-floppy --fs-uuid --set=root 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    fi
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=1c8fb8f8-40f3-423e-bd31-3089b2614b91 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda5) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    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 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    else
    search --no-floppy --fs-uuid --set=root 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    fi
    echo	'Loading Linux 3.13.0-24-generic ...'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=1c8fb8f8-40f3-423e-bd31-3089b2614b91 ro recovery nomodeset
    echo	'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/25_custom ###
    menuentry "Windows UEFI bootmgfw.efi" {
    search --fs-uuid --no-floppy --set=root FE02-91D0
    chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
    }
    ### END /etc/grub.d/25_custom ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-FE02-91D0' {
    insmod part_gpt
    insmod fat
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 FE02-91D0
    else
    search --no-floppy --fs-uuid --set=root FE02-91D0
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    }
    set timeout_style=menu
    if [ "${timeout}" = 0 ]; then
    set timeout=10
    fi
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### 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=1c8fb8f8-40f3-423e-bd31-3089b2614b91 / ext4 errors=remount-ro 0 1
    # /boot/efi was on /dev/sda2 during installation
    #UUID=FE02-91D0 /boot/efi vfat defaults 0 1
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    UUID=FE02-91D0 /boot/efi vfat defaults 0 1
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    File descriptor 9 (/proc/2390/mounts) leaked on lvs invocation. Parent PID 9939: bash
    File descriptor 63 (pipe:[18280]) leaked on lvs invocation. Parent PID 9939: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-info 2015-01-17__14h48 ===================
    boot-info version : 4ppa26
    boot-sav version : 4ppa26
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    File descriptor 9 (/proc/2390/mounts) leaked on lvs invocation. Parent PID 3895: /bin/sh
    No volume groups found
    boot-info is executed in installed-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=1c8fb8f8-40f3-423e-bd31-3089b2614b91 ro quiet splash vt.handoff=7
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== os-prober:
    /dev/sda5:L'OS actuellement utilisé - Linux Mint 17 Qiana CurrentSession:linux
    /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
    =================== blkid:
    /dev/sda1: LABEL="Recovery" UUID="C414020A14020062" TYPE="ntfs"
    /dev/sda2: UUID="FE02-91D0" TYPE="vfat"
    /dev/sda4: UUID="A42C0E632C0E313A" TYPE="ntfs"
    /dev/sda5: UUID="1c8fb8f8-40f3-423e-bd31-3089b2614b91" TYPE="ext4"
    /dev/sr0: LABEL="Linux Mint 17 Xfce 64-bit" TYPE="iso9660"
    1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 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.
    =================== /etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 déc. 21 17:34 grub.d
    drwxr-xr-x 2 root root 4096 déc. 21 17:27 grub.d.bak
    total 72
    -rwxr-xr-x 1 root root 9424 mai 15 2014 00_header
    -rwxr-xr-x 1 root root 6058 mai 8 2014 05_debian_theme
    -rwxr-xr-x 1 root root 7500 janv. 17 14:46 10_linux
    -rwxr-xr-x 1 root root 10412 mai 15 2014 20_linux_xen
    -rwxr-xr-x 1 root root 176 déc. 21 17:34 25_custom
    -rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 mai 15 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 mai 15 2014 40_custom
    -rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
    -rw-r--r-- 1 root root 483 mai 15 2014 README
    =================== /etc/default/grub :
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    /boot/efi detected in the fstab of sda5: UUID=FE02-91D0 (sda2)
    Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,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,Boot0006-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,
    Veuillez indiquer ce message à boot.repair@gmail.com
    =================== efibootmgr -v
    BootCurrent: 0004
    Timeout: 2 seconds
    BootOrder: 0004,0006,0000,0001,0002,0003
    Boot0000* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(15,0)PCI(0,0)SCSI(0,0)
    Boot0001* EFI VMware Virtual SATA CDROM Drive (1.0)	ACPI(a0341d0,0)PCI(11,0)PCI(4,0)03120a00010000000000
    Boot0002* EFI Network ACPI(a0341d0,0)PCI(16,0)PCI(0,0)MAC(000c295bec33,0)
    Boot0003* EFI Internal Shell (Unsupported option)	MM(b,3efcb000,3f355fff)
    Boot0004* ubuntu HD(2,96800,31800,eeb9ad68-a9d3-44d7-a8da-ff2a1135678b)File(EFIubuntushimx64.efi)
    Boot0006* Windows Boot Manager HD(2,96800,31800,eeb9ad68-a9d3-44d7-a8da-ff2a1135678b)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
    =================== UEFI/Legacy mode:
    BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
    SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
    =================== PARTITIONS & DISKS:
    sda5 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
    sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
    sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot/efi.
    sda4 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda4.
    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: 32.2GB
    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 419MB 104MB fat32 EFI system partition boot
    3 419MB 554MB 134MB Microsoft reserved partition msftres
    4 554MB 18.9GB 18.3GB ntfs Basic data partition msftdata
    5 18.9GB 32.2GB 13.3GB ext4
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Model: NECVMWar VMware SATA CD01 (scsi)
    Disk /dev/sr0: 1387MB
    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 139MB 149MB 9306kB EFI
    =================== parted -lm:
    BYT;
    /dev/sda:32.2GB:scsi:512:512:gpt:VMware, VMware Virtual S;
    1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
    2:316MB:419MB:104MB:fat32:EFI system partition:boot;
    3:419MB:554MB:134MB::Microsoft reserved partition:msftres;
    4:554MB:18.9GB:18.3GB:ntfs:Basic data partition:msftdata;
    5:18.9GB:32.2GB:13.3GB:ext4::;
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    BYT;
    /dev/sr0:1387MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD01;
    1:8192B:24.6kB:16.4kB::Apple:;
    2:139MB:149MB:9306kB::EFI:;
    =================== lsblk:
    NAME TYPE FSTYPE SIZE LABEL MODEL UUID
    sda disk 30G VMware V
    |-sda1 part ntfs 300M Recovery C414020A14020062
    |-sda2 part vfat 99M FE02-91D0
    |-sda3 part 128M
    |-sda4 part ntfs 17.1G A42C0E632C0E313A
    `-sda5 part ext4 12.4G 1c8fb8f8-40f3-423e-bd31-3089b2614b91
    sr0 rom iso9660 1.3G Linux Mint 17 Xfce 64-bit
    VMware S
    KNAME ROTA RO RM STATE MOUNTPOINT
    sda 1 0 0 running
    sda1 1 0 0 /mnt/boot-sav/sda1
    sda2 1 0 0 /boot/efi
    sda3 1 0 0
    sda4 1 0 0 /mnt/boot-sav/sda4
    sda5 1 0 0 /
    sr0 1 0 1 running
    =================== mount:
    /dev/sda5 on / type ext4 (rw,errors=remount-ro)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    none on /sys/fs/cgroup type tmpfs (rw)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    none on /sys/firmware/efi/efivars type efivarfs (rw)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    none on /sys/fs/pstore type pstore (rw)
    /dev/sda2 on /boot/efi type vfat (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=essai)
    /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    =================== 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 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 autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci 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 62 00 02 14 0a 02 14 c4 |........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 41 20 64 69 |............A di|
    00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
    000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
    000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
    000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
    000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
    00000200
    =================== hexdump -n512 -C /dev/sda2
    00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 0e 1a |.X.MSDOS5.0.....|
    00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 68 09 00 |........?....h..|
    00000020 00 18 03 00 f9 02 00 00 00 00 00 00 02 00 00 00 |................|
    00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000040 80 01 29 d0 91 02 fe 4e 4f 20 4e 41 4d 45 20 20 |..)....NO NAME |
    00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
    00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
    00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
    00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
    00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
    000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
    000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
    000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
    000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
    000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
    000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
    00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
    00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
    00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
    00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
    00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
    00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
    00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
    00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
    00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
    000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
    000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
    000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
    00000200
    =================== hexdump -n512 -C /dev/sda4
    00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
    00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 80 10 00 |........?.......|
    00000020 00 00 00 00 80 00 80 00 ff f7 21 02 00 00 00 00 |..........!.....|
    00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
    00000040 f6 00 00 00 01 00 00 00 3a 31 0e 2c 63 0e 2c a4 |........:1.,c.,.|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
    00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
    00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
    00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
    00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
    000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
    000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
    000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
    000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
    000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
    000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
    00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
    00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
    00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
    00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
    00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
    00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
    00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
    00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
    00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
    00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
    000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
    000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
    000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
    000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
    00000200
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda5 ext4 13G 4.2G 7.4G 37% /
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    udev devtmpfs 482M 12K 482M 1% /dev
    tmpfs tmpfs 100M 1.6M 98M 2% /run
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 12K 100M 1% /run/user
    /dev/sda2 vfat 95M 33M 63M 34% /boot/efi
    /dev/sda1 fuseblk 300M 241M 60M 81% /mnt/boot-sav/sda1
    /dev/sda4 fuseblk 18G 12G 6.1G 65% /mnt/boot-sav/sda4
    =================== fdisk -l:
    Disk /dev/sda: 32.2 GB, 32212254720 bytes
    255 heads, 63 sectors/track, 3916 cylinders, total 62914560 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: 0x00000000
    Device Boot Start End Blocks Id System
    /dev/sda1 1 62914559 31457279+ ee GPT
    =================== Suggested repair
    The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda5, using the following options: sda2/boot/efi,
    Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot
    =================== Final advice in case of suggested repair
    N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda2/efi/.../grub*.efi !
    Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
    Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
    Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
    bcdedit /set {bootmgr} path \EFI\...\grub*.efi
    =================== User settings
    The settings chosen by the user will not act on the boot.

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

Vue depuis Linux

mini_663292initialMint.jpg

Vue depuis Windows (entre les deux, j'ai récupéré le petit espace libre, trace d'un autre test).

mini_599792initialW10.jpg

2. Conversion du disque en mbr

La conversion en mbr est faite depuis le live-cd avec gdisk (sudo apt-get install gdisk puis sudo gdisk /dev/sda).  On commence par supprimer la partition 2 (l'efi) pour éviter les surprises. On utilise l'option r, puis g et on écrit avec w. Ce qui aboutit au résultat suivant :

mini_414114conversionmbr.jpg

Le résultat n'est pas à la hauteur de mes attentes. Le disque est bien converti, mais j'ai perdu ma partition W10. Sans doute que j'aurais dû supprimer aussi la partition msr. Qu'à cela ne tienne, j'installe testdisk (même méthode que gdisk) : un "quick search" retrouve ma partition perdue. Je la récupère aisément (j'en profite pour récupérer la partition fat32, qui n'est plus considérée comme efi), et je réécris le tout pour aboutir à ceci :

mini_898289mbrrepare.jpg

Il ne me reste plus qu'à fusionner la partition fat32 et l'espace libre pour créer une partition ntfs qui me servira pour le démarrage (d'où le drapeau boot). Je lui attribue le drapeau boot.

3. Je fais un boot-info avant réparation :

mini_175075bootinfoavantrep.jpg

Paste2

    Create Paste
    Followup Paste
    QR

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= 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: ntfs
    Boot sector type: Windows Vista: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    sda3: __________________________________________________________________________
    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: /grub.cfg /bootmgr /Windows/System32/winload.exe
    sda4: __________________________________________________________________________
    File system: Extended Partition
    Boot sector type: -
    Boot sector info:
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 32.2 GB, 32212254720 bytes
    255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 2,048 616,447 614,400 7 NTFS / exFAT / HPFS
    /dev/sda2 * 616,448 1,081,343 464,896 7 NTFS / exFAT / HPFS
    /dev/sda3 1,081,344 36,861,951 35,780,608 7 NTFS / exFAT / HPFS
    /dev/sda4 36,861,952 62,912,511 26,050,560 f W95 Extended (LBA)
    /dev/sda5 36,864,000 62,912,511 26,048,512 83 Linux
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/loop0 squashfs
    /dev/sda1 C414020A14020062 ntfs Recovery
    /dev/sda2 45DC6DAC1547E8A0 ntfs
    /dev/sda3 A42C0E632C0E313A ntfs
    /dev/sda5 1c8fb8f8-40f3-423e-bd31-3089b2614b91 ext4
    /dev/sr0 iso9660 Linux Mint 17 Xfce 64-bit
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 17 2015 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/loop0 /rofs squashfs (ro,noatime)
    /dev/sda2 /media/mint/45DC6DAC1547E8A0 fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
    /dev/sr0 /cdrom iso9660 (ro,noatime)
    
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    File descriptor 9 (/proc/4608/mounts) leaked on lvs invocation. Parent PID 13285: bash
    File descriptor 13 (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvs invocation. Parent PID 13285: bash
    File descriptor 63 (pipe:[46907]) leaked on lvs invocation. Parent PID 13285: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2015-01-17__14h43 ===================
    boot-repair version : 4ppa32
    boot-sav version : 4ppa32
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    boot-repair is executed in live-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    file=/cdrom/preseed/linuxmint.seed boot=casper initrd=/casper/initrd.lz quiet splash -- BOOT_IMAGE=/casper/vmlinuz
    ls: cannot access /home/usr/.config: No such file or directory
    =================== os-prober:
    /dev/sda5:Linux Mint 17 Qiana (17):LinuxMint:linux
    =================== blkid:
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: LABEL="Recovery" UUID="C414020A14020062" TYPE="ntfs"
    /dev/sda3: UUID="A42C0E632C0E313A" TYPE="ntfs"
    /dev/sda5: UUID="1c8fb8f8-40f3-423e-bd31-3089b2614b91" TYPE="ext4"
    /dev/sr0: LABEL="Linux Mint 17 Xfce 64-bit" TYPE="iso9660"
    /dev/sda2: UUID="45DC6DAC1547E8A0" TYPE="ntfs"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    Windows not detected by os-prober on sda3.
    Warning: extended partition does not start at a cylinder boundary.
    DOS and Linux will interpret the contents differently.
    =================== sda5/etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 Dec 21 16:34 grub.d
    drwxr-xr-x 2 root root 4096 Dec 21 16:27 grub.d.bak
    total 72
    -rwxr-xr-x 1 root root 9424 May 15 2014 00_header
    -rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
    -rwxr-xr-x 1 root root 7500 Jan 17 13:53 10_linux
    -rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
    -rwxr-xr-x 1 root root 176 Dec 21 16:34 25_custom
    -rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 May 15 2014 40_custom
    -rwxr-xr-x 1 root root 216 May 15 2014 41_custom
    -rw-r--r-- 1 root root 483 May 15 2014 README
    =================== 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"
    /boot/efi detected in the fstab of sda5: UUID=FE02-91D0 ()
    =================== UEFI/Legacy mode:
    This live-session is not in EFI-mode.
    SecureBoot maybe enabled.
    =================== 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
    sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda3.
    sda5 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-bad-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /mnt/boot-sav/sda5.
    sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /media/mint/45DC6DAC1547E8A0.
    sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 32.2GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    1 1049kB 316MB 315MB primary ntfs
    2 316MB 554MB 238MB primary ntfs boot
    3 554MB 18.9GB 18.3GB primary ntfs
    4 18.9GB 32.2GB 13.3GB extended lba
    5 18.9GB 32.2GB 13.3GB logical ext4
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Model: NECVMWar VMware SATA CD01 (scsi)
    Disk /dev/sr0: 1387MB
    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 139MB 149MB 9306kB EFI
    =================== parted -lm:
    BYT;
    /dev/sda:32.2GB:scsi:512:512:msdos:VMware, VMware Virtual S;
    1:1049kB:316MB:315MB:ntfs::;
    2:316MB:554MB:238MB:ntfs::boot;
    3:554MB:18.9GB:18.3GB:ntfs::;
    4:18.9GB:32.2GB:13.3GB:::lba;
    5:18.9GB:32.2GB:13.3GB:ext4::;
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    BYT;
    /dev/sr0:1387MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD01;
    1:8192B:24.6kB:16.4kB::Apple:;
    2:139MB:149MB: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)
    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)
    none on /sys/fs/pstore type pstore (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
    gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=mint)
    /dev/sda2 on /media/mint/45DC6DAC1547E8A0 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
    /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda3 on /mnt/boot-sav/sda3 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 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 autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci 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 62 00 02 14 0a 02 14 c4 |........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 41 20 64 69 |............A di|
    00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
    000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
    000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
    000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
    000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
    00000200
    =================== hexdump -n512 -C /dev/sda3
    00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
    00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 80 10 00 |........?.......|
    00000020 00 00 00 00 80 00 80 00 ff f7 21 02 00 00 00 00 |..........!.....|
    00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
    00000040 f6 00 00 00 01 00 00 00 3a 31 0e 2c 63 0e 2c a4 |........:1.,c.,.|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
    00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
    00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
    00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
    00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
    000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
    000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
    000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
    000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
    000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
    000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
    00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
    00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
    00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
    00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
    00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
    00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
    00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
    00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
    00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
    00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
    000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
    000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
    000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
    000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
    00000200
    =================== hexdump -n512 -C /dev/sda2
    00000000 eb 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 68 09 00 |........?....h..|
    00000020 00 00 00 00 80 00 80 00 ff 17 07 00 00 00 00 00 |................|
    00000030 04 00 00 00 00 00 00 00 7f 71 00 00 00 00 00 00 |.........q......|
    00000040 f6 00 00 00 01 00 00 00 a0 e8 47 15 ac 6d dc 45 |..........G..m.E|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
    00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
    00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
    00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
    00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
    000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
    000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
    000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
    000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
    000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
    000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
    00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
    00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
    00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
    00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
    00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
    00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
    00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
    00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
    00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
    00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
    000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
    000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
    000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
    000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
    000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
    000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
    00000200
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /cow overlayfs 497M 182M 316M 37% /
    udev devtmpfs 486M 12K 486M 1% /dev
    tmpfs tmpfs 100M 1.7M 98M 2% /run
    /dev/sr0 iso9660 1.3G 1.3G 0 100% /cdrom
    /dev/loop0 squashfs 1.3G 1.3G 0 100% /rofs
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    tmpfs tmpfs 497M 8.0K 497M 1% /tmp
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 12K 100M 1% /run/user
    /dev/sda2 fuseblk 227M 1.6M 226M 1% /media/mint/45DC6DAC1547E8A0
    /dev/sda1 fuseblk 300M 241M 60M 81% /mnt/boot-sav/sda1
    /dev/sda3 fuseblk 18G 12G 6.1G 65% /mnt/boot-sav/sda3
    /dev/sda5 ext4 13G 4.2G 7.4G 37% /mnt/boot-sav/sda5
    =================== fdisk -l:
    Disk /dev/sda: 32.2 GB, 32212254720 bytes
    255 heads, 63 sectors/track, 3916 cylinders, total 62914560 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: 0x000b8e30
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 616447 307200 7 HPFS/NTFS/exFAT
    /dev/sda2 * 616448 1081343 232448 7 HPFS/NTFS/exFAT
    /dev/sda3 1081344 36861951 17890304 7 HPFS/NTFS/exFAT
    /dev/sda4 36861952 62912511 13025280 f W95 Ext'd (LBA)
    /dev/sda5 36864000 62912511 13024256 83 Linux
    =================== Suggested repair
    The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of sda5 into the MBR of sda.
    Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot
    =================== User settings
    The settings chosen by the user will not act on the boot.
    pastebinit packages needed
    W: Failed to fetch cdrom://Linux Mint 17 _Qiana_ - Release amd64 20140623/dists/trusty/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    W: Failed to fetch cdrom://Linux Mint 17 _Qiana_ - Release amd64 20140623/dists/trusty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    W: Failed to fetch cdrom://Linux Mint 17 _Qiana_ - Release amd64 20140623/dists/trusty/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    E: Some index files failed to download. They have been ignored, or old ones used instead.

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

4. Réparation de W8/W10 avec dart version W8

On passe son pc en legacy, et on démarre avec dart W8 64 jusqu'à l'invite de commandes. C'est tout simple.

mini_397895reparationW8.jpg

Le redémarrage de W8/W10 se fait sans aucun problème. La partition active montre bien qu'on est en legacy sur disque mbr. On peut donc convertir un W8/W10 de gpt vers mbr et passer d'UEFI à Legacy sans effacer le disque dur. Première étape terminée.

mini_409720redemarrageW10.jpg

5. Réparation de Mint

La réparation proposée par le boot-info m'ayant semblé correcte, je choisis cette option :
mini_636514repbootrepair.jpg

Ne voyant pas l'intérêt de mettre un grub signé, je me limite à la mention i386. La réparation s'étant bien passée, je tente un redémarrage.

mini_986669final.jpg
Je constate que même la partition W10 est capable de booter (elle s'appelle bizarrement vista, mais la chose n'étant qu'un test, je laisse en l'état car c'est bien W10 qui démarre).

Mon dual-boot initialement en UEFI fonctionne donc intégralement en legacy. Il ne reste plus qu'à faire l'opération dans l'autre sens.

Dernière modification par ikewdu (Le 30/12/2018, à 23:51)

Hors ligne

#2 Le 17/01/2015, à 22:57

ikewdu

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Retour dans l'autre sens : Passer d'un dual-boot en mbr (lancé en legacy) vers un dual-boot en gpt (lancé en uefi).

Deux conditions sont nécessaires pour que ça fonctionne :

- Avoir de la place avant la partitions Windows (250 Mo environ)
- Qu'un fichier /windows/system32/winload.efi soit présent.

1. Cette fois, on passe le pc directement en uefi. Démarrage sur Dart pour faire un premier point :

mini_710579diskpartdepart.jpg

Le disque est bien en mbr.  L'idée première est de supprimer la partition 2 (qui sert au boot) pour en faire une partition efi. La première étape se passe bien, mais pas la seconde. Windows refuse de créer une partition efi sur un disque mbr. A priori, nous sommes coincés.

2. Démarrage sur le live-cd.

On va donc utiliser gdisk pour créer la partition efi. On installe comme la première fois. On crée la partition efi et la partition msr :

mint@mint ~ $ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: not present

Found valid GPT with protective MBR.

Command (? for help): n
Partition number (4-128, default 4): 
First sector (34-62914526, default = 616448) or {+-}size{KMGTP}: 
Last sector (616448-981343, default = 1081343) or {+-}size{KMGTP}: +99M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): ef00
Changed type of partition to 'EFI System'

Command (? for help): n
Partition number (5-128, default 5): 
First sector (34-62914526, default = 639296) or {+-}size{KMGTP}: 
Last sector (618496-981343, default = 1081343) or {+-}size{KMGTP}: 
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 0c01
Changed type of partition to 'Microsoft reserved'

Command (? for help): p
Disk /dev/sda: 62914560 sectors, 30.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 30E486F8-4167-45D7-8839-5277F9FDCEEE
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 62914526
Partitions will be aligned on 2048-sector boundaries
Total free space is 7927 sectors (3.9 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          616447   300.0 MiB   0700  Microsoft basic data
   2         1081344        36861951   17.1 GiB    0700  Microsoft basic data
   3        36864000        62912511   12.4 GiB    8300  Linux filesystem
   4          616448          616645   99.0 MiB    EF00  EFI System
   5          618496         1081343   128.0 MiB   0C01  Microsoft reserved

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sda.
The operation has completed successfully.

Tout semble s'être bien passé, et donc, on va vérifier le résultat qui donne ceci :

mini_580461apresconversion.jpg

Le disque est bel et bien passé en gpt (l'étoile le prouve) et les partitions sont bien comme on les voulait. La commande bcdboot finalise la conversion en réparant les fichiers de démarrage de Windows. Il doit donc redémarrer :

3. Vérification du démarrage de W10.

mini_618531rebootW10.jpg

Tout est fonctionnel, reste à réparer  Mint.

4. D'abord, un démarrage avec Super Grub2 disk pour réparer fstab :

mini_363024fstab.jpg

5. Ultime réparation.

Là, j'avoue avoir un peu galéré pour réinstaller grub... je ne voulais pas utiliser boot-repair qui ne me disait pas le détail de sa manip. Ce qui semble avoir fonctionné, c'est ceci :

essai@essai-virtual-machine ~ $ sudo dpkg --configure -a
[sudo] password for essai: 

essai@essai-virtual-machine ~ $ sudo apt-get install -fy
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  grub-pc-bin
Veuillez utiliser « apt-get autoremove » pour le supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 474 non mis à jour.

essai@essai-virtual-machine ~ $ sudo apt-get autoremove grub-pc-bin
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  grub-pc-bin
0 mis à jour, 0 nouvellement installés, 1 à enlever et 474 non mis à jour.
Après cette opération, 2 862 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 145635 fichiers et répertoires déjà installés.)
Removing grub-pc-bin (2.02~beta2-9ubuntu1) ...

essai@essai-virtual-machine ~ $ sudo grub-install --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
essai@essai-virtual-machine ~ $ sudo update-grub

Les deux systèmes redémarrent en UEFI. Le boot-info final :

Paste2

    Create Paste
    Followup Paste
    QR

Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img, but core.img can not be found at
this location.
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/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.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:
Boot files: /grub.cfg /bootmgr /Boot/BCD
/Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 17 Qiana
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 32.2 GB, 32212254720 bytes
256 heads, 63 sectors/track, 3900 cylinders, total 62914560 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 62,914,559 62,914,559 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 616,447 614,400 Data partition (Windows/Linux)
/dev/sda2 616,448 819,199 202,752 EFI System partition
/dev/sda3 819,200 1,081,343 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 1,081,344 36,861,951 35,780,608 Data partition (Windows/Linux)
/dev/sda5 36,864,000 62,912,511 26,048,512 Data partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 C414020A14020062 ntfs Recovery
/dev/sda2 CA7E-F36D vfat
/dev/sda4 A42C0E632C0E313A ntfs
/dev/sda5 1c8fb8f8-40f3-423e-bd31-3089b2614b91 ext4
/dev/sr0 iso9660 ISOIMAGE
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 17 21:11 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 /boot/efi vfat (rw)
/dev/sda4 /media/essai/A42C0E632C0E313A fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda5 / ext4 (rw,errors=remount-ro)
================================ sda4/grub.cfg: ================================
--------------------------------------------------------------------------------
search.fs_uuid 1c8fb8f8-40f3-423e-bd31-3089b2614b91 root hd0,gpt5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=========================== sda5/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 1c8fb8f8-40f3-423e-bd31-3089b2614b91
else
search --no-floppy --fs-uuid --set=root 1c8fb8f8-40f3-423e-bd31-3089b2614b91
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="$1"
if [ "$1" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda5)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
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 1c8fb8f8-40f3-423e-bd31-3089b2614b91
else
search --no-floppy --fs-uuid --set=root 1c8fb8f8-40f3-423e-bd31-3089b2614b91
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=1c8fb8f8-40f3-423e-bd31-3089b2614b91 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-24-generic
}
menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda5) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
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 1c8fb8f8-40f3-423e-bd31-3089b2614b91
else
search --no-floppy --fs-uuid --set=root 1c8fb8f8-40f3-423e-bd31-3089b2614b91
fi
echo	'Loading Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=1c8fb8f8-40f3-423e-bd31-3089b2614b91 ro recovery nomodeset
echo	'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-CA7E-F36D' {
insmod part_gpt
insmod fat
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 CA7E-F36D
else
search --no-floppy --fs-uuid --set=root CA7E-F36D
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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=1c8fb8f8-40f3-423e-bd31-3089b2614b91 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=CA7E-F36D /boot/efi vfat defaults 0 1
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/2626/mounts) leaked on lvs invocation. Parent PID 10251: bash
File descriptor 63 (pipe:[19058]) leaked on lvs invocation. Parent PID 10251: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-info 2015-01-17__21h26 ===================
boot-info version : 4ppa26
boot-sav version : 4ppa26
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version :
File descriptor 9 (/proc/2626/mounts) leaked on lvs invocation. Parent PID 4126: /bin/sh
No volume groups found
boot-info is executed in installed-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=1c8fb8f8-40f3-423e-bd31-3089b2614b91 ro quiet splash vt.handoff=7
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda5:L'OS actuellement utilisé - Linux Mint 17 Qiana CurrentSession:linux
/dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
=================== blkid:
/dev/sda1: LABEL="Recovery" UUID="C414020A14020062" TYPE="ntfs"
/dev/sda2: UUID="CA7E-F36D" TYPE="vfat"
/dev/sda4: UUID="A42C0E632C0E313A" TYPE="ntfs"
/dev/sda5: UUID="1c8fb8f8-40f3-423e-bd31-3089b2614b91" TYPE="ext4"
/dev/sr0: LABEL="ISOIMAGE" TYPE="iso9660"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 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.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 janv. 17 16:19 grub.d
drwxr-xr-x 2 root root 4096 déc. 21 17:27 grub.d.bak
total 68
-rwxr-xr-x 1 root root 9424 mai 15 2014 00_header
-rwxr-xr-x 1 root root 6058 mai 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 7500 janv. 17 21:11 10_linux
-rwxr-xr-x 1 root root 10412 mai 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 mai 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mai 15 2014 40_custom
-rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
-rw-r--r-- 1 root root 483 mai 15 2014 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of sda5: UUID=CA7E-F36D (sda2)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,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,Boot0005-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,
Veuillez indiquer ce message à boot.repair@gmail.com
=================== efibootmgr -v
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0005,0000,0001,0002,0003
Boot0000* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(15,0)PCI(0,0)SCSI(0,0)
Boot0001* EFI VMware Virtual SATA CDROM Drive (1.0)	ACPI(a0341d0,0)PCI(11,0)PCI(4,0)03120a00010000000000
Boot0002* EFI Network ACPI(a0341d0,0)PCI(16,0)PCI(0,0)MAC(000c295bec33,0)
Boot0003* EFI Internal Shell (Unsupported option)	MM(b,3efcb000,3f355fff)
Boot0004* ubuntu HD(2,96800,31800,3cf7f6ea-8e1b-490d-8237-07093cfc86cf)File(EFIubuntushimx64.efi)
Boot0005* Windows Boot Manager HD(2,96800,31800,3cf7f6ea-8e1b-490d-8237-07093cfc86cf)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...4................
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda5 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot/efi.
sda4 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /media/essai/A42C0E632C0E313A.
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: 32.2GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 316MB 315MB ntfs Microsoft basic data msftdata
2 316MB 419MB 104MB fat32 EFI system partition boot
3 419MB 554MB 134MB Microsoft reserved partition msftres
4 554MB 18.9GB 18.3GB ntfs Microsoft basic data msftdata
5 18.9GB 32.2GB 13.3GB ext4 Linux filesystem
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
=================== parted -lm:
BYT;
/dev/sda:32.2GB:scsi:512:512:gpt:VMware, VMware Virtual S;
1:1049kB:316MB:315MB:ntfs:Microsoft basic data:msftdata;
2:316MB:419MB:104MB:fat32:EFI system partition:boot;
3:419MB:554MB:134MB::Microsoft reserved partition:msftres;
4:554MB:18.9GB:18.3GB:ntfs:Microsoft basic data:msftdata;
5:18.9GB:32.2GB:13.3GB:ext4:Linux filesystem:;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
=================== lsblk:
NAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 30G VMware V
|-sda1 part ntfs 300M Recovery C414020A14020062
|-sda2 part vfat 99M CA7E-F36D
|-sda3 part 128M
|-sda4 part ntfs 17.1G A42C0E632C0E313A
`-sda5 part ext4 12.4G 1c8fb8f8-40f3-423e-bd31-3089b2614b91
sr0 rom iso9660 12M ISOIMAGE VMware S
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /boot/efi
sda3 1 0 0
sda4 1 0 0 /media/essai/A42C0E632C0E313A
sda5 1 0 0 /
sr0 1 0 1 running
=================== mount:
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda2 on /boot/efi type vfat (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=essai)
/dev/sda4 on /media/essai/A42C0E632C0E313A type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
=================== 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 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 autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci 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 62 00 02 14 0a 02 14 c4 |........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 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 0e 1a |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 68 09 00 |........?....h..|
00000020 00 18 03 00 f9 02 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 6d f3 7e ca 4e 4f 20 4e 41 4d 45 20 20 |..)m.~.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 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 80 10 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff f7 21 02 00 00 00 00 |..........!.....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 3a 31 0e 2c 63 0e 2c a4 |........:1.,c.,.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda5 ext4 13G 4.2G 7.4G 37% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
udev devtmpfs 482M 12K 482M 1% /dev
tmpfs tmpfs 100M 1.6M 98M 2% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 497M 80K 497M 1% /run/shm
none tmpfs 100M 12K 100M 1% /run/user
/dev/sda2 vfat 95M 31M 65M 33% /boot/efi
/dev/sda4 fuseblk 18G 12G 6.0G 66% /media/essai/A42C0E632C0E313A
/dev/sda1 fuseblk 300M 241M 60M 81% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/sda: 32.2 GB, 32212254720 bytes
256 heads, 63 sectors/track, 3900 cylinders, total 62914560 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 62914559 31457279+ ee GPT
Partition outside the disk détecté.
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda5, using the following options: sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda2/efi/.../grub*.efi !
Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi
=================== User settings
The settings chosen by the user will not act on the boot.

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

Dernière modification par ikewdu (Le 18/01/2015, à 09:30)

Hors ligne

#3 Le 18/01/2015, à 12:28

kalunux

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Bonjour

Bravo ikewdu pour ce test, Bonne découverte. wink
Ça confirme nos interrogations sur plusieurs points.

Hors ligne

#4 Le 18/01/2015, à 14:43

ikewdu

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Salut,

Je profite que tu es présent sur le sujet, et comme je sais que tu connais mieux que moi les options de la commande grub-install, peux-tu me dire ce qu'aurait envoyé comme commande boot-repair lorsqu'il propose :

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda5, using the following options: sda2/boot/efi

Je dois avouer que j'ai du mal à trouver sur internet un descriptif précis des options possibles avec grub-install, car même ici, on ne trouve pas tout :

http://www.gnu.org/software/grub/manual/grub.html

Hors ligne

#5 Le 18/01/2015, à 15:22

kalunux

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Re

Logiquement ces commandes :

sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda5" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda5" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic

Puis pour le manuel de la commande man grub-install dans un terminal :

Install GRUB on your drive.

       --compress[=no,xz,gz,lzo]
              compress GRUB files [optional]

       -d, --directory=DIR
              use  images  and modules under DIR [default=/usr/lib/grub/<plat‐
              form>]

       --fonts=FONTS
              install FONTS [default=unicode]

       --install-modules=MODULES
              install only MODULES and their dependencies [default=all]

       -k, --pubkey=FILE
              embed FILE as public key for signature checking

       --locale-directory=DIR use translations under DIR
              [default=/usr/share/locale]

       --locales=LOCALES
              install only LOCALES [default=all]

       --modules=MODULES
              pre-load specified modules MODULES

       --themes=THEMES
              install THEMES [default=starfield]

       -v, --verbose
              print verbose messages.

       --allow-floppy
              make  the  drive  also  bootable  as  floppy  (default  for  fdX
              devices). May break on some BIOSes.
--boot-directory=DIR
              install  GRUB images under the directory DIR/grub instead of the
              boot/grub directory

       --bootloader-id=ID
              the ID of bootloader. This option is only available on  EFI  and
              Macs.

       --core-compress=xz|none|auto
              choose the compression to use for core image

       --disk-module=MODULE
              disk  module  to  use  (biosdisk or native). This option is only
              available on BIOS target.

       --efi-directory=DIR
              use DIR as the EFI System Partition root.

       --force
              install even if problems are detected

       --force-file-id
              use identifier file even if UUID is available

       --label-bgcolor=COLOR
              use COLOR for label background

       --label-color=COLOR
              use COLOR for label

       --label-font=FILE
              use FILE as font for label

       --macppc-directory=DIR use DIR for PPC MAC install.

       --no-bootsector
              do not install bootsector

       --no-nvram
              don't update the  `boot-device'/`Boot*'  NVRAM  variables.  This
              option is only available on EFI and IEEE1275 targets.

       --no-rs-codes
Do  not  apply  any  reed-solomon codes when embedding core.img.
              This option is only available on x86 BIOS targets.

       --no-uefi-secure-boot
              do not install an image usable with UEFI Secure  Boot,  even  if
              the  system  was currently started using it. This option is only
              available on EFI.

       --product-version=STRING
              use STRING as product version

       --recheck
              delete device map if it already exists

       --removable
              the installation device is removable. This option is only avail‐
              able on EFI.

       -s, --skip-fs-probe
              do not probe for filesystems in DEVICE

       --target=TARGET
              install GRUB for TARGET platform [default=i386-pc]

       --uefi-secure-boot
              install  an  image usable with UEFI Secure Boot.  This option is
              only available on EFI and if the  grub-efi-amd64-signed  package
              is installed.

       -?, --help
              give this help list

       --usage
              give a short usage message

       -V, --version
              print program version
Mandatory  or  optional arguments to long options are also mandatory or
       optional for any corresponding short options.

       INSTALL_DEVICE must be system  device  filename.   grub-install  copies
       GRUB  images  into  boot/grub.   On some platforms, it may also install
       GRUB into the boot sector.

REPORTING BUGS
       Report bugs to <bug-grub@gnu.org>.

SEE ALSO
       grub-mkconfig(8), grub-mkimage(1), grub-mkrescue(1)

       The full documentation for grub-install is maintained as a Texinfo man‐
       ual.   If  the info and grub-install programs are properly installed at
       your site, the command
info grub-install

       should give you access to the complete manual.

Pour info : lors de cette création de la partition EFI, tu aurais du crée cette partition depuis Gparted sur table de partition "msdos" puis faire un essai pour la réparation Windows EFI sur table de partition "msdos" pour voir.

Dernière modification par kalunux (Le 18/01/2015, à 15:40)

Hors ligne

#6 Le 18/01/2015, à 15:38

ikewdu

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Re, merci à toi.

Ca confirme ce que je pensais... donc cette commande ne me convenait pas. Je voulais réparer grub sans passer par /boot-sav/ (donc ma commande était finalement meilleure).

Quant au man grub-install, je l'avais essayé, mais il ne me renvoyait pas toutes les commandes (sans doute parce que j'avais un grub-legacy installé... je ne sais pas)... Je vais vérifier ça.

kalunux a écrit :

Pour info : lors de cette création de la partition EFI, tu aurais du crée cette partition depuis Gparted sur table de partition "msdos" puis faire un essai pour la réparation Windows EFI sur table de partition "msdos" pour voir.

J'ai décidé ne plus traiter (ni tester) les problèmes d'installation "bâtarde" . Finalement, il faut que chacun assume ses choix. Celui qui veut du legacy avec du gpt (ou inverse) essuiera les plâtres. Quant à la création d'une efi depuis gparted, je (tu) peux la tester indépendamment de mon installation. Il suffit de créer un disque ms-dos et voir ce qu'il se passe. Et en fait, c'est assez simple :

- Si le code généré est ef00, la partition efi transforme très probablement le disque en gpt.
- Si le code est 0700: la partition est une vulgaire fat32 avec point de montage /efi/boot et elle ne pourra jamais servir à Windows pour démarrer, car il ne la reconnaît pas comme partition système (j'ai vérifié : la commande bcdboot c:\windows plante si la partition est une simple fat32... en ms-dos, il faut du ntfs, en gpt, il faut une vraie efi). Ca explique pourquoi ces installations "non naturelles" ne m'intéressent pas.

Dernière modification par ikewdu (Le 18/01/2015, à 15:42)

Hors ligne

#7 Le 18/01/2015, à 15:58

kalunux

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Ok ! wink

Oui tu as raison pour les tests, moi dernièrement j'ai bousillé un DD de 250 Go suite à des tests effectuer dessus.

Hors ligne

#8 Le 18/01/2015, à 17:25

ikewdu

Re : [test] Dual-boot W8/Ubuntu UEFI sur disque gpt vers Legacy sur mbr

Re,

Pour répondre à ta question. Sur un disque ms-dos, gparted ne permet pas de créer une partition efi (option non proposée dans la liste). On ne peut que créer une partition fat32 et lui associer un point de montage et le drapeau boot):

Résultat dans gdisk sur disque ms-dos :

Command (? for help): p

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          215039   104.0 MiB   0700  Microsoft basic data 

ou résultat dans sudo parted

Model: ATA VMware Virtual S (scsi)
Partition Table: msdos
Number  Start   End    Size   Type     File system  Flags
 1      1049kB  110MB  109MB  primary  fat32        boot

En revanche, si je convertis le disque en gpt, la partition fat32 est bel et bien au format ef00

Résultat dans gdisk sur disque gpt:

Partition Table: gpt
Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          174079   84.0 MiB    EF00 

Donc, pas possible d'avoir une partition efi sans une conversion du disque. Seul gdisk sait donc le faire, sans supprimer les données. Quant à W8, il ne reconnaît pas une fat32 même active comme partition système. Donc, impossible d'envisager un W8 en Uefi sur disque ms-dos.

Dernière modification par ikewdu (Le 18/01/2015, à 22:51)

Hors ligne