#1 Le 16/03/2017, à 15:55
- rafi_s
[Résolu] Récupération de Grub après une installation de windows
Bonjour.
J'essaye de récupérer Grub après une installation de windows faite après celle d'ubuntu.
Cependant je suis confronté à quelques soucis que j'ai notés, mais avant de les indiquer si besoin, voici le rapport de boot-repair sur un pastebin comme indiqué sur la page de boot-repair :
http://paste2.org/9GyY9d8e
Qu'en pensez-vous ?
Dernière modification par rafi_s (Le 19/03/2017, à 12:11)
Hors ligne
#2 Le 16/03/2017, à 18:26
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
Ton Boot-Info est là :
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: SYSLINUX 6.03
Boot sector info: Syslinux looks at sector 6254904 of /dev/sdb1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 751,962,111 751,960,064 83 Linux
/dev/sda2 * 751,962,112 969,023,487 217,061,376 7 NTFS / exFAT / HPFS
/dev/sda3 969,025,534 976,771,071 7,745,538 5 Extended
/dev/sda5 969,025,536 976,771,071 7,745,536 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.2 GiB, 7747397632 bytes, 15131636 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
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 15,131,635 15,129,588 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 fb2f9df6-125f-4b56-a27b-54c140c42792 ext4
/dev/sda2 35CF181D15C6912C ntfs
/dev/sda5 00b249bf-4d8e-454e-b095-5946d29ec747 swap
/dev/sdb1 1EB6C1E0B6C1B893 ntfs Ubuntu 16_04_2 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Mar 16 14:30 ata-Hitachi_HDP725050GLA360_GEA530RF30JJ6A -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 16 14:30 ata-Hitachi_HDP725050GLA360_GEA530RF30JJ6A-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 16 14:31 ata-Hitachi_HDP725050GLA360_GEA530RF30JJ6A-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 16 14:30 ata-Hitachi_HDP725050GLA360_GEA530RF30JJ6A-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 16 14:30 ata-Hitachi_HDP725050GLA360_GEA530RF30JJ6A-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Mar 16 14:30 usb-Kingston_DataTraveler_G3_001CC0EC350DFC40170B23FF-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 16 14:30 usb-Kingston_DataTraveler_G3_001CC0EC350DFC40170B23FF-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Mar 16 14:30 wwn-0x5000cca34dea8489 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 16 14:30 wwn-0x5000cca34dea8489-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 16 14:31 wwn-0x5000cca34dea8489-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 16 14:30 wwn-0x5000cca34dea8489-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 16 14:30 wwn-0x5000cca34dea8489-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
=========================== sda1/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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
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=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
linux /boot/vmlinuz-4.4.0-66-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-66-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-fb2f9df6-125f-4b56-a27b-54c140c42792' {
menuentry 'Ubuntu, avec Linux 4.4.0-66-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-advanced-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-66-generic…'
linux /boot/vmlinuz-4.4.0-66-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-66-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-init-upstart-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-66-generic…'
linux /boot/vmlinuz-4.4.0-66-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-66-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-recovery-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-66-generic…'
linux /boot/vmlinuz-4.4.0-66-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry 'Ubuntu, avec Linux 4.4.0-65-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-65-generic-advanced-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-65-generic…'
linux /boot/vmlinuz-4.4.0-65-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-65-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-65-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-65-generic-init-upstart-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-65-generic…'
linux /boot/vmlinuz-4.4.0-65-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-65-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-65-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-65-generic-recovery-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-65-generic…'
linux /boot/vmlinuz-4.4.0-65-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-65-generic
}
menuentry 'Ubuntu, avec Linux 4.4.0-64-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-advanced-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-64-generic…'
linux /boot/vmlinuz-4.4.0-64-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-64-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-init-upstart-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-64-generic…'
linux /boot/vmlinuz-4.4.0-64-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-64-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-recovery-fb2f9df6-125f-4b56-a27b-54c140c42792' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
echo 'Chargement de Linux 4.4.0-64-generic…'
linux /boot/vmlinuz-4.4.0-64-generic root=UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.4.0-64-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb2f9df6-125f-4b56-a27b-54c140c42792
else
search --no-floppy --fs-uuid --set=root fb2f9df6-125f-4b56-a27b-54c140c42792
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda1/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/sda1 during installation
UUID=fb2f9df6-125f-4b56-a27b-54c140c42792 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=00b249bf-4d8e-454e-b095-5946d29ec747 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
40.960327148 = 43.980816384 boot/grub/grub.cfg 1
208.129360199 = 223.477198848 boot/grub/i386-pc/core.img 1
4.392658234 = 4.716580864 boot/vmlinuz-4.4.0-64-generic 1
109.120658875 = 117.167415296 boot/vmlinuz-4.4.0-65-generic 1
22.695075989 = 24.368652288 boot/vmlinuz-4.4.0-66-generic 1
22.695075989 = 24.368652288 vmlinuz 1
109.120658875 = 117.167415296 vmlinuz.old 1
103.586093903 = 111.224721408 boot/initrd.img-4.4.0-64-generic 3
108.438472748 = 116.434923520 boot/initrd.img-4.4.0-65-generic 4
80.159934998 = 86.071074816 boot/initrd.img-4.4.0-66-generic 2
80.159934998 = 86.071074816 initrd.img 2
108.438472748 = 116.434923520 initrd.img.old 4
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
============================== sdb1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg
?? = ?? ldlinux.sys 1
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/14494/mounts) leaked on lvs invocation. Parent PID 21395: bash
File descriptor 63 (pipe:[42592]) leaked on lvs invocation. Parent PID 21395: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-03-16__14h30 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda1:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
/dev/sda2:Windows 7 (loader):Windows:chain
=================== blkid:
/dev/sda1: UUID="fb2f9df6-125f-4b56-a27b-54c140c42792" TYPE="ext4" PARTUUID="08f9a8e7-01"
/dev/sda2: UUID="35CF181D15C6912C" TYPE="ntfs" PARTUUID="08f9a8e7-02"
/dev/sdb1: LABEL="Ubuntu 16_04_2 LTS amd64" UUID="1EB6C1E0B6C1B893" TYPE="ntfs" PARTUUID="001595aa-01"
/dev/sda5: UUID="00b249bf-4d8e-454e-b095-5946d29ec747" TYPE="swap" PARTUUID="08f9a8e7-05"
/dev/loop0: TYPE="squashfs"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 mars 10 18:17 grub.d
total 80
-rwxr-xr-x 1 root root 9791 juin 17 2016 00_header
-rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 mars 1 21:01 10_linux
-rwxr-xr-x 1 root root 11082 juin 17 2016 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 juin 17 2016 30_os-prober
-rwxr-xr-x 1 root root 1418 juin 17 2016 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juin 17 2016 40_custom
-rwxr-xr-x 1 root root 216 juin 17 2016 41_custom
-rw-r--r-- 1 root root 483 juin 17 2016 README
=================== sda1/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"
=================== sda1recordfail=1/grub/grubenv :
recordfail=1
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ng grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-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, farbios, /mnt/boot-sav/sda1.
sda2 : 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, farbios, /mnt/boot-sav/sda2.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA Hitachi HDP72505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 385GB 385GB primary ext4
2 385GB 496GB 111GB primary ntfs boot
3 496GB 500GB 3966MB extended
5 496GB 500GB 3966MB logical linux-swap(v1)
Model: Kingston DataTraveler G3 (scsi)
Disk /dev/sdb: 7747MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 7747MB 7746MB primary ntfs boot
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA Hitachi HDP72505:;
1:1049kB:385GB:385GB:ext4::;
2:385GB:496GB:111GB:ntfs::boot;
3:496GB:500GB:3966MB:::;
5:496GB:500GB:3966MB:linux-swap(v1)::;
BYT;
/dev/sdb:7747MB:scsi:512:512:msdos:Kingston DataTraveler G3:;
1:1049kB:7747MB:7746MB:ntfs::boot;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sdb disk 7,2G
sdb1 part ntfs 7,2G Ubuntu 16_04_2 LTS amd64
loop0 loop squashfs 1,4G
sda disk 465,8G
sda2 part ntfs 103,5G
sda5 part swap 3,7G
sda3 part 1K
sda1 part ext4 358,6G
KNAME ROTA RO RM STATE MOUNTPOINT
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
loop0 1 0 0 /rofs
sda 1 0 0 running
sda2 1 0 0 /mnt/boot-sav/sda2
sda5 1 0 0 [SWAP]
sda3 1 0 0
sda1 1 0 0 /mnt/boot-sav/sda1
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1850040k,nr_inodes=462510,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=373060k,mode=755)
/dev/sdb1 on /cdrom type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=2469ce0f1babeb43)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10792)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=373060k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
=================== ls:
/sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== 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 08 d2 2c |........?......,|
00000020 00 00 00 00 80 00 80 00 ff 17 f0 0c 00 00 00 00 |................|
00000030 04 00 00 00 00 00 00 00 7f 01 cf 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 2c 91 c6 15 1d 18 cf 35 |........,......5|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.8G 4.0K 1.8G 1% /dev
tmpfs tmpfs 365M 5.9M 359M 2% /run
/dev/sdb1 fuseblk 7.3G 1.6G 5.8G 21% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
aufs aufs 1.8G 132M 1.7G 8% /
tmpfs tmpfs 1.8G 340K 1.8G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
tmpfs tmpfs 1.8G 168K 1.8G 1% /tmp
tmpfs tmpfs 365M 64K 365M 1% /run/user/999
/dev/sda1 ext4 353G 75G 261G 23% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 104G 52G 52G 51% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 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 /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0x08f9a8e7
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 751962111 751960064 358.6G 83 Linux
/dev/sda2 * 751962112 969023487 217061376 103.5G 7 HPFS/NTFS/exFAT
/dev/sda3 969025534 976771071 7745538 3.7G 5 Extended
/dev/sda5 969025536 976771071 7745536 3.7G 82 Linux swap / Solaris
Disk /dev/sdb: 7.2 GiB, 7747397632 bytes, 15131636 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
Disklabel type: dos
Disk identifier: 0x001595aa
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 15131635 15129588 7.2G 7 HPFS/NTFS/exFAT
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== User settings
The settings chosen by the user will not act on the boot.
paste.ubuntu.com ko (), using paste.debian
paste.debian.net ko (), using paste2
On y voit le descriptif des actions qui seront faites par la "Réparation recommandée" de Boot-Repair :
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
Cette intention de réparation est correcte aussi je t'invite à faire la "Réparation recommandée" de Boot-repair.
Hors ligne
#3 Le 16/03/2017, à 19:23
- rafi_s
Re : [Résolu] Récupération de Grub après une installation de windows
Merci, en fait j'ai déjà tenté plusieurs fois, avec un live CD de la dernière version LTS. Mais à chaque fois (j'ai accès à tous mes fichiers d'ailleurs grâce au live CD, la partition est intacte), ça ne fonctionne pas. Il me dit que des dépendances ne sont pas satisfaites au moment d'effectuer cette commande :
sudo chroot "/media/ubuntu/fb2f9df6-125f-4b56-a27b-54c140c42792" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
(...)
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
grub-efi-amd64 : Dépend: grub-common (= 2.02~beta2-36ubuntu3.8)
grub-efi-amd64-bin : Dépend: grub-common (= 2.02~beta2-36ubuntu3.8)
grub2-common:i386 : Dépend: grub-common:i386 (= 2.02~beta2-36ubuntu3.8)
E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
Note que je n'ai pas testé d'autre méthode...
Dernière modification par rafi_s (Le 16/03/2017, à 19:26)
Hors ligne
#4 Le 16/03/2017, à 20:17
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
C'est quoi le modèle de ton ordi et son fabricant ?
Hors ligne
#5 Le 17/03/2017, à 02:35
- rafi_s
Re : [Résolu] Récupération de Grub après une installation de windows
PC (fixe) Intel Pentium GPU G2020 @ 2.90Ghz (dual core) - 4Go RAM - 64 bits
Dernière modification par rafi_s (Le 17/03/2017, à 02:37)
Hors ligne
#6 Le 17/03/2017, à 08:01
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
Est-ce que tu parviens quand même à démarrer une session sur ton Ubuntu installé ? Sinon, explique ce qui se passe.
Hors ligne
#7 Le 17/03/2017, à 09:53
- rafi_s
Re : [Résolu] Récupération de Grub après une installation de windows
Non. Ca lance windows directement sans me laisser le choix, et quand je force le choix au démarrage, ça me met l'écran noir de windows avec comme choix juste windows. Je peux avoir accès à ma partition en live CD, elle est intacte. La partition swap existe aussi.
Dernière modification par rafi_s (Le 17/03/2017, à 09:54)
Hors ligne
#8 Le 17/03/2017, à 10:25
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
Excuse ma question du post #6 : il est idiote. Tu ne peux pas démarrer sur Grub puisqu'il n'y a pas de chargeur d'amorçage de Grub dans le MBR du disque dur.
Si tu as un lecteur de CD, tu peux te faire un Super Grub2 Disk en téléchargeant le fichier 2.02s7/super_grub2_disk_hybrid_2.02s7.iso (il pèse environ 20 Mo, c'est très peu) à l'adresse suivante : https://sourceforge.net/projects/superg … o/download (son md5sum est f7963b543da22b83287d7ca3e9b99576 )
Tu pourras graver ce fichier .iso sur un CD (ou un CD réinscriptible) avec la fonction "graver une image" d'un logiciel de gravure.
Tu pourras après cela démarrer ton ordi sur ce CD qui détectera automatiquement les entrées de ton fichier de configuration de Grub (grub.cfg) et tu auras la possibilité de démarrer sur une des entrées de ce fichier.
EDIT : si tu n'as pas de lecteur de CD, n'essaie pas de faire une LiveUSB à partir de l'ISO : je n'ai pas essayé récemment mais ça a toujours merdé chez moi.
Dernière modification par malbo (Le 17/03/2017, à 10:40)
Hors ligne
#9 Le 17/03/2017, à 11:31
- Bougron
Re : [Résolu] Récupération de Grub après une installation de windows
Bonjour Malbo
As-tu une idée de pourquoi une installation en LEGACY exige des modules EFI?
Les paquets suivants contiennent des dépendances non satisfaites :
grub-efi-amd64 : Dépend: grub-common (= 2.02~beta2-36ubuntu3.8)
grub-efi-amd64-bin : Dépend: grub-common (= 2.02~beta2-36ubuntu3.8)
Hors ligne
#10 Le 17/03/2017, à 11:53
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
@Bougron : tu as raison, il n'y a aucune raison pour que ces paquets grub-efi soient là puisqu'il s'agit d'une installation en mode non-EFI (mode Bios classique). Si tu sais guider rafi_s pour une solution plus rapide que celle que je propose avec Super Grub2 Disk, tu peux y aller.
Hors ligne
#11 Le 17/03/2017, à 12:04
- Bougron
Re : [Résolu] Récupération de Grub après une installation de windows
Non , je ne sais pas du tout faire mieux que toi. Sinon proposer une installation toute neuve qui sache installer correctement. Mais il paraît que cela est de plus en plus difficile à trouver......
Mais peut-être que la bonne solution est d'utiliser Windows pour booter en installant le package EASYBCD puisque Windows boote http://www.clubic.com/telecharger-fiche … sybcd.html
Dernière modification par Bougron (Le 17/03/2017, à 12:08)
Hors ligne
#12 Le 17/03/2017, à 12:25
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
Mais peut-être que la bonne solution est d'utiliser Windows pour booter en installant le package EASYBCD puisque Windows boote http://www.clubic.com/telecharger-fiche … sybcd.html
Je te laisserai faire parce que EASYBCD j'ai fait une croix dessus.
Hors ligne
#13 Le 17/03/2017, à 12:34
- rafi_s
Re : [Résolu] Récupération de Grub après une installation de windows
Merci de votre aide. Hélas non, je n'ai pas de lecteur CD, donc j'imagine que supergrub sera inutile, je l'avais téléchargé en prévoyance de tenter cette méthode.
Cela dit, il existe d'autres méthodes (en ligne de commande) que je n'ai pas tentées, depuis le live USB de ubuntu. Et dans le dernier des cas, je réinstallerai, puisque la partition est là. Le système était tout frais, donc j'ai peu à regretter.
J'avais pensé à un truc sans doute un peu bête... Si je fais un live USB de Gparted, et que je modifie le drapeau, que j'ajoute le drapeau boot sur ma partition ubuntu, j'imagine que ça ne va rien changer...?
Et je vais essayer EASYCBD.
Dernière modification par rafi_s (Le 17/03/2017, à 12:37)
Hors ligne
#14 Le 17/03/2017, à 12:49
- Bougron
Re : [Résolu] Récupération de Grub après une installation de windows
L'application GPARTED est déjà présente dans ton support d'installation
Il faut bien écrire quelque chose d'autre dans MBR. car le MBR de Windows, sait chercher la partition qui a un drapeau boot à condition qu'elle soir formatée NTFS et non EXT4
Hors ligne
#15 Le 19/03/2017, à 11:50
- rafi_s
Re : [Résolu] Récupération de Grub après une installation de windows
Bon, je reviens vers vous après récupération de ubuntu intact, grâce à la méthode en ligne de commande, sans chroot. https://doc.ubuntu-fr.org/tutoriel/comm … e_commande
Seulement, l'ennui, c'est qu'il ne me propose pas windows au démarrage, uniquement ubuntu... Et j'en ai besoin de windows...
Alors j'imagine que comme linux a l'air plus souple que windows, il doit y avoir possibilité de gérer grub pour qu'il me le propose...
Que me conseilleriez vous ? Dois-je créer un autre sujet ou pouvez vous m'aider ?
ps : sur gparted, il y a le drapeau boot pour la partition ntfs de windows, et rien pour celle d'ubuntu.
EDIT : j'ai utilisé Grub-customizer et j'ai remonté le loader de windows qui était en fait tout en bas, mon souci est réglé. Merci pour vos aides.
Dernière modification par rafi_s (Le 19/03/2017, à 12:11)
Hors ligne
#16 Le 20/03/2017, à 07:43
- malbo
Re : [Résolu] Récupération de Grub après une installation de windows
Bonjour,
La réparation que tu as réalisée n'est pas complète. Lors d'une future mise à jour de Grub, le chargeur d'amorçage de Grub ne pourra pas être mis à jour comme il conviendrait. Je te prie de passer la commande suivante dans un terminal depuis une session de ton Ubuntu installé :
sudo debconf-show grub-pc
Tu donneras le résultat obtenu dans ta réponse. Je pourrai y trouver la confirmation de ce que j'avance et si c'est bien le cas, je te donnerai des instructions pour remédier au problème.
Hors ligne