#1 Le 06/04/2015, à 07:16
- malbo
[Résolu] option fix-windows-boot de Boot-Repair
J'ai noté [Résolu] dans le titre parce que ce n'est pas une demande d'aide.
Mes investigations ci-après sont faites dans le cas d'une installation de Windows 8 en mode non-EFI donc ça ne s'applique pas aux ordis préinstallés Windows 8 (ou 8.1) qui eux sont toujours installés en mode EFI. Les manips sont faites dans une machine virtuelle avec VirtualBox.
Le but de ce post est de mettre en évidence que l'option fix-windows-boot de Boot-Repair fait une copie du dossier Boot (voir EDIT) de la partition de démarrage de Windows (sda1) et la colle dans la partition système de Windows 8 (sda2). Pour le démontrer, je vais faire d'abord une réparation avancée de Boot-Repair en décochant la case "Réparer les fichiers de démarrage de Windows" pour montrer que la copie de Boot ne se fait pas dans ce cas. Puis je vais faire la "Réparation recommandée" de Boot-Repair dans laquelle cette option est présélectionnée et on va voir qu'il y a bien copie de Boot.
1) Réparation en mode avancée de Boot-Repair :
Je décoche la case "Réparer les fichiers de démarrage de Windows" (c'est l'option fix-windows-boot) dans l'onglet "Autres options" de Boot-Repair puis je lance la réparation.
Boot-Info ( http://paste.ubuntu.com/10747713/ ) obtenu en fin de réparation :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub and uses an embedded config file:
---------------------------------------------------------------------------
search.fs_uuid c18ce9bc-1291-4b48-b68e-460ab04836c3 root hd0,msdos5
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
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: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8
Boot files: /bootmgr /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 2000/XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 32.1 GB, 32115785728 bytes
255 heads, 63 sectors/track, 3904 cylinders, total 62726144 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 718,847 716,800 7 NTFS / exFAT / HPFS
/dev/sda2 718,848 40,196,095 39,477,248 7 NTFS / exFAT / HPFS
/dev/sda3 40,198,142 62,724,095 22,525,954 5 Extended
/dev/sda5 40,198,144 58,800,127 18,601,984 83 Linux
/dev/sda6 58,802,176 62,724,095 3,921,920 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 32.8 GB, 32786006016 bytes
255 heads, 63 sectors/track, 3986 cylinders, total 64035168 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/sdb1 * 63 64,035,089 64,035,027 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 E47CBF7B7CBF46D8 ntfs Réservé au système
/dev/sda2 7C64DCF464DCB25E ntfs
/dev/sda5 c18ce9bc-1291-4b48-b68e-460ab04836c3 ext4
/dev/sda6 0f734db3-6d59-4143-9649-ed125b40786b swap
/dev/sdb1 0CD8FDCFD8FDB6D4 ntfs stock_images
/dev/sr0 iso9660 Ubuntu 14.04.1 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Apr 6 2015 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0
lrwxrwxrwx 1 root root 9 Apr 6 03:50 ata-VBOX_HARDDISK_VB67d864d3-cf68fffd -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 6 03:52 ata-VBOX_HARDDISK_VB67d864d3-cf68fffd-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Apr 6 03:50 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 6 03:52 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 6 03:52 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 6 2015 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 6 2015 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 6 2015 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part6 -> ../../sda6
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sda5/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
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,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
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=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=c18ce9bc-1291-4b48-b68e-460ab04836c3 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
echo 'Loading Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=c18ce9bc-1291-4b48-b68e-460ab04836c3 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
echo 'Loading Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=c18ce9bc-1291-4b48-b68e-460ab04836c3 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-E47CBF7B7CBF46D8' {
insmod part_msdos
insmod ntfs
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 E47CBF7B7CBF46D8
else
search --no-floppy --fs-uuid --set=root E47CBF7B7CBF46D8
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
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=c18ce9bc-1291-4b48-b68e-460ab04836c3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=0f734db3-6d59-4143-9649-ed125b40786b none swap sw 0 0
--------------------------------------------------------------------------------
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda3
00000000 05 00 00 00 00 00 00 00 91 4b 05 00 00 00 00 00 |.........K......|
00000010 00 00 00 00 ee dc 06 00 66 21 07 00 05 00 00 00 |........f!......|
00000020 a9 34 29 01 9e d9 08 00 b9 b6 11 00 00 00 00 00 |.4).............|
00000030 ef dc 06 00 67 21 07 00 01 05 00 00 be 39 f0 01 |....g!.......9..|
00000040 d0 49 00 00 ba b6 11 00 b1 b6 11 00 ef dc 06 00 |.I..............|
00000050 68 21 07 00 01 02 00 00 c4 39 f0 01 f2 ed 00 00 |h!.......9......|
00000060 bb b6 11 00 b2 b6 11 00 ef dc 06 00 69 21 07 00 |............i!..|
00000070 01 02 00 00 cc 39 f0 01 6a c6 00 00 bc b6 11 00 |.....9..j.......|
00000080 9e b2 11 00 ef dc 06 00 6a 21 07 00 01 02 00 00 |........j!......|
00000090 a9 34 29 01 24 39 08 00 bd b6 11 00 52 7e 10 00 |.4).$9......R~..|
000000a0 ef dc 06 00 6b 21 07 00 01 05 00 00 df 39 f0 01 |....k!.......9..|
000000b0 33 50 06 00 be b6 11 00 4a b6 11 00 ef dc 06 00 |3P......J.......|
000000c0 6c 21 07 00 01 02 00 00 e5 39 f0 01 4a 3f 06 00 |l!.......9..J?..|
000000d0 bf b6 11 00 bc b2 11 00 ef dc 06 00 6d 21 07 00 |............m!..|
000000e0 01 02 00 00 ed 39 f0 01 4b 3f 06 00 c0 b6 11 00 |.....9..K?......|
000000f0 bd b2 11 00 ef dc 06 00 6e 21 07 00 01 02 00 00 |........n!......|
00000100 f5 39 f0 01 25 39 08 00 c1 b6 11 00 7e ac 10 00 |.9..%9......~...|
00000110 ef dc 06 00 6f 21 07 00 01 02 00 00 fb 39 f0 01 |....o!.......9..|
00000120 f5 37 06 00 c2 b6 11 00 b5 b6 11 00 ef dc 06 00 |.7..............|
00000130 70 21 07 00 01 02 00 00 00 00 00 00 6b 8f 06 00 |p!..........k...|
00000140 c3 b6 11 00 a9 b2 11 00 ef dc 06 00 71 21 07 00 |............q!..|
00000150 01 00 00 00 01 3a f0 01 bb 1a 00 00 c4 b6 11 00 |.....:..........|
00000160 a6 b6 11 00 ef dc 06 00 72 21 07 00 01 02 00 00 |........r!......|
00000170 05 3a f0 01 bb 1a 00 00 c6 b6 11 00 c3 b6 11 00 |.:..............|
00000180 ef dc 06 00 73 21 07 00 01 03 00 00 00 00 00 00 |....s!..........|
00000190 9d d9 08 00 00 00 00 00 00 00 00 00 2d 1c 04 00 |............-...|
000001a0 74 21 07 00 05 00 00 00 00 00 00 00 94 4b 05 00 |t!...........K..|
000001b0 00 00 00 00 ea 9a 0a 00 ef dc 06 00 75 21 00 fe |............u!..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 d8 1b 01 00 fe |................|
000001d0 ff ff 05 fe ff ff 02 d8 1b 01 00 e0 3b 00 00 00 |............;...|
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 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
cat: write error: Broken pipe
File descriptor 9 (/proc/6316/mounts) leaked on lvs invocation. Parent PID 18522: bash
File descriptor 63 (pipe:[47454]) leaked on lvs invocation. Parent PID 18522: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-04-06__03h42 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in live-session (Ubuntu 14.04.1 LTS, trusty, 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: cannot access /home/usr/.config: No such file or directory
=================== os-prober:
/dev/sda1:Windows 8 (loader):Windows:chain
/dev/sda5:Ubuntu 14.04.1 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 14.04.1 LTS amd64" TYPE="iso9660"
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="E47CBF7B7CBF46D8" TYPE="ntfs"
/dev/sda2: UUID="7C64DCF464DCB25E" TYPE="ntfs"
/dev/sda5: UUID="c18ce9bc-1291-4b48-b68e-460ab04836c3" TYPE="ext4"
/dev/sda6: UUID="0f734db3-6d59-4143-9649-ed125b40786b" TYPE="swap"
/dev/sdb1: LABEL="stock_images" UUID="0CD8FDCFD8FDB6D4" TYPE="ntfs"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Windows not detected by os-prober on sda2.
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 juil. 22 2014 grub.d
total 76
-rwxr-xr-x 1 root root 9424 mai 15 2014 00_header
-rwxr-xr-x 1 root root 6058 mai 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 mai 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 mai 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 mai 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mai 15 2014 40_custom
-rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
-rw-r--r-- 1 root root 483 mai 15 2014 README
=================== 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"
=================== 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, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, 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, 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/sda2.
sda5 : sda, not-sepboot, grubenv-ok grub2, 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, not-far, /mnt/boot-sav/sda5.
sdb1 : sdb, 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/sdb1.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 63 sectors * 512 bytes
=================== parted -l:
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 32.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 368MB 367MB primary ntfs boot
2 368MB 20.6GB 20.2GB primary ntfs
3 20.6GB 32.1GB 11.5GB extended
5 20.6GB 30.1GB 9524MB logical ext4
6 30.1GB 32.1GB 2008MB logical linux-swap(v1)
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sdb: 32.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 32.8GB 32.8GB primary ntfs boot
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.1GB:scsi:512:512:msdos:ATA VBOX HARDDISK;
1:1049kB:368MB:367MB:ntfs::boot;
2:368MB:20.6GB:20.2GB:ntfs::;
3:20.6GB:32.1GB:11.5GB:::;
5:20.6GB:30.1GB:9524MB:ext4::;
6:30.1GB:32.1GB:2008MB:linux-swap(v1)::;
BYT;
/dev/sdb:32.8GB:scsi:512:512:msdos:ATA VBOX HARDDISK;
1:32.3kB:32.8GB:32.8GB:ntfs::boot;
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:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 29,9G VBOX HAR
sda1 part ntfs 350M Réservé au système
E47CBF7B7CBF46D8
sda2 part ntfs 18,8G 7C64DCF464DCB25E
sda3 part 1K
sda5 part ext4 8,9G c18ce9bc-1291-4b48-b68e-460ab04836c3
sda6 part swap 1,9G 0f734db3-6d59-4143-9649-ed125b40786b
sdb disk 30,5G VBOX HAR
sdb1 part ntfs 30,5G stock_images
0CD8FDCFD8FDB6D4
sr0 rom iso9660 981M Ubuntu 14.04.1 LTS amd64
CD-ROM
loop0 loop squashfs 938,7M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0
sda5 1 0 0 /mnt/boot-sav/sda5
sda6 1 0 0 [SWAP]
sdb 1 0 0 running
sdb1 1 0 0 /mnt/boot-sav/sdb1
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
=================== 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)
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=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control cdrom char console core cpu cpu_dma_latency cuse disk ecryptfs fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff ef 0a 00 00 00 00 00 |................|
00000030 aa 74 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |.t..............|
00000040 f6 00 00 00 01 00 00 00 d8 46 bf 7c 7b bf 7c e4 |.........F.|{.|.|
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 f8 0a 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff 5f 5a 02 00 00 00 00 |........._Z.....|
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 5e b2 dc 64 f4 dc 64 7c |........^..d..d||
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sdb1
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 3f 00 00 00 |........?...?...|
00000020 00 00 00 00 80 00 80 00 d2 18 d1 03 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 8d 11 3d 00 00 00 00 00 |..........=.....|
00000040 f6 00 00 00 01 00 00 00 d4 b6 fd d8 cf fd d8 0c |................|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
00000060 8e d8 e8 16 00 b8 00 0d 8e c0 33 db c6 06 0e 00 |..........3.....|
00000070 10 e8 53 00 68 00 0d 68 6a 02 cb 8a 16 24 00 b4 |..S.h..hj....$..|
00000080 08 cd 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 |...s......f...@f|
00000090 0f b6 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f |.....?.......Af.|
000000a0 b7 c9 66 f7 e1 66 a3 20 00 c3 b4 41 bb aa 55 8a |..f..f. ...A..U.|
000000b0 16 24 00 cd 13 72 0f 81 fb 55 aa 75 09 f6 c1 01 |.$...r...U.u....|
000000c0 74 04 fe 06 14 00 c3 66 60 1e 06 66 a1 10 00 66 |t......f`..f...f|
000000d0 03 06 1c 00 66 3b 06 20 00 0f 82 3a 00 1e 66 6a |....f;. ...:..fj|
000000e0 00 66 50 06 53 66 68 10 00 01 00 80 3e 14 00 00 |.fP.Sfh.....>...|
000000f0 0f 85 0c 00 e8 b3 ff 80 3e 14 00 00 0f 84 61 00 |........>.....a.|
00000100 b4 42 8a 16 24 00 16 1f 8b f4 cd 13 66 58 5b 07 |.B..$.......fX[.|
00000110 66 58 66 58 1f eb 2d 66 33 d2 66 0f b7 0e 18 00 |fXfX..-f3.f.....|
00000120 66 f7 f1 fe c2 8a ca 66 8b d0 66 c1 ea 10 f7 36 |f......f..f....6|
00000130 1a 00 86 d6 8a 16 24 00 8a e8 c0 e4 06 0a cc b8 |......$.........|
00000140 01 02 cd 13 0f 82 19 00 8c c0 05 20 00 8e c0 66 |........... ...f|
00000150 ff 06 10 00 ff 0e 0e 00 0f 85 6f ff 07 1f 66 61 |..........o...fa|
00000160 c3 a0 f8 01 e8 09 00 a0 fb 01 e8 03 00 fb eb fe |................|
00000170 b4 01 8b f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 |.....<.t........|
00000180 eb f2 c3 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 |.....A disk read|
00000190 20 65 72 72 6f 72 20 6f 63 63 75 72 72 65 64 00 | error occurred.|
000001a0 0d 0a 4e 54 4c 44 52 20 69 73 20 6d 69 73 73 69 |..NTLDR is missi|
000001b0 6e 67 00 0d 0a 4e 54 4c 44 52 20 69 73 20 63 6f |ng...NTLDR is co|
000001c0 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 73 |mpressed...Press|
000001d0 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f | Ctrl+Alt+Del to|
000001e0 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 00 | restart........|
000001f0 00 00 00 00 00 00 00 00 83 a0 b3 c9 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 937M 116M 822M 13% /
udev devtmpfs 926M 12K 926M 1% /dev
tmpfs tmpfs 188M 912K 187M 1% /run
/dev/sr0 iso9660 981M 981M 0 100% /cdrom
/dev/loop0 squashfs 939M 939M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 937M 1.2M 936M 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 937M 80K 937M 1% /run/shm
none tmpfs 100M 52K 100M 1% /run/user
/dev/sda1 fuseblk 350M 239M 112M 69% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 19G 16G 3.4G 82% /mnt/boot-sav/sda2
/dev/sda5 ext4 8.7G 3.7G 4.6G 45% /mnt/boot-sav/sda5
/dev/sdb1 fuseblk 31G 8.4G 23G 28% /mnt/boot-sav/sdb1
=================== fdisk -l:
Disk /dev/sda: 32.1 GB, 32115785728 bytes
255 heads, 63 sectors/track, 3904 cylinders, total 62726144 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: 0x006ebed8
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 40196095 19738624 7 HPFS/NTFS/exFAT
/dev/sda3 40198142 62724095 11262977 5 Extended
/dev/sda5 40198144 58800127 9300992 83 Linux
/dev/sda6 58802176 62724095 1960960 82 Linux swap / Solaris
Disk /dev/sdb: 32.8 GB, 32786006016 bytes
255 heads, 63 sectors/track, 3986 cylinders, total 64035168 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: 0xf0c2bf6c
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 64035089 32017513+ 7 HPFS/NTFS/exFAT
Partition outside the disk détecté.
Partition outside the disk détecté.
=================== Default settings of Boot Repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
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 disque sda (32.1GB) !
=================== User settings
The settings chosen by the user will reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
Additional repair will be performed: unhide-bootmenu-10s
Reinstall the GRUB of sda5 into all MBRs of disks with OS or not-USB
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
Kernel driver in use: e1000
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
Reinstall the GRUB of sda5 into the MBR of sdb
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sdb: exit code of grub-install /dev/sdb:0
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
Kernel driver in use: e1000
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
Reinstall the GRUB of sda5 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda5 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 8 (loader) on /dev/sda1
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (32.1GB) !
On peut y voir ce que s’apprêtait à réaliser la réparation recommandée de Boot-Repair si je n'avais pas désactivé fix-windows-boot :
=================== Default settings of Boot Repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot
Et un peu plus bas, le paramétrage en utilisation avancée de Boot-Repair que j'ai choisi et on voit bien que fix-windows-boot n'est pas mentionné :
=================== User settings
The settings chosen by the user will reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
Additional repair will be performed: unhide-bootmenu-10s
Dans la partie descriptive de la partition système de Windows (le disque C: selon désignation Windows), on peut voir qu'il n'y a pas de dossier /Boot :
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8
Boot files: /bootmgr /Windows/System32/winload.exe
2) Réparation recommandée de Boot-Repair :
J'ai fait cette réparation à la suite de la précédente pour bien montrer son action.
En fin de réparation recommandée, j'obtiens ce Boot-Info ( http://paste.ubuntu.com/10747798/ ) :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub and uses an embedded config file:
---------------------------------------------------------------------------
search.fs_uuid c18ce9bc-1291-4b48-b68e-460ab04836c3 root hd0,msdos5
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
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: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 2000/XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 32.1 GB, 32115785728 bytes
255 heads, 63 sectors/track, 3904 cylinders, total 62726144 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 718,847 716,800 7 NTFS / exFAT / HPFS
/dev/sda2 718,848 40,196,095 39,477,248 7 NTFS / exFAT / HPFS
/dev/sda3 40,198,142 62,724,095 22,525,954 5 Extended
/dev/sda5 40,198,144 58,800,127 18,601,984 83 Linux
/dev/sda6 58,802,176 62,724,095 3,921,920 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 32.8 GB, 32786006016 bytes
255 heads, 63 sectors/track, 3986 cylinders, total 64035168 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/sdb1 * 63 64,035,089 64,035,027 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 E47CBF7B7CBF46D8 ntfs Réservé au système
/dev/sda2 7C64DCF464DCB25E ntfs
/dev/sda5 c18ce9bc-1291-4b48-b68e-460ab04836c3 ext4
/dev/sda6 0f734db3-6d59-4143-9649-ed125b40786b swap
/dev/sdb1 0CD8FDCFD8FDB6D4 ntfs stock_images
/dev/sr0 iso9660 Ubuntu 14.04.1 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Apr 6 2015 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0
lrwxrwxrwx 1 root root 9 Apr 6 04:17 ata-VBOX_HARDDISK_VB67d864d3-cf68fffd -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 6 04:19 ata-VBOX_HARDDISK_VB67d864d3-cf68fffd-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Apr 6 04:17 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 6 04:19 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 6 04:19 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 6 2015 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 6 2015 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 6 2015 ata-VBOX_HARDDISK_VB7d560dde-d294a6e2-part6 -> ../../sda6
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sda5/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
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,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
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=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=c18ce9bc-1291-4b48-b68e-460ab04836c3 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
echo 'Loading Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=c18ce9bc-1291-4b48-b68e-460ab04836c3 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-c18ce9bc-1291-4b48-b68e-460ab04836c3' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
echo 'Loading Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic root=UUID=c18ce9bc-1291-4b48-b68e-460ab04836c3 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c18ce9bc-1291-4b48-b68e-460ab04836c3
else
search --no-floppy --fs-uuid --set=root c18ce9bc-1291-4b48-b68e-460ab04836c3
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-E47CBF7B7CBF46D8' {
insmod part_msdos
insmod ntfs
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 E47CBF7B7CBF46D8
else
search --no-floppy --fs-uuid --set=root E47CBF7B7CBF46D8
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 8 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-7C64DCF464DCB25E' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 7C64DCF464DCB25E
else
search --no-floppy --fs-uuid --set=root 7C64DCF464DCB25E
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
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=c18ce9bc-1291-4b48-b68e-460ab04836c3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=0f734db3-6d59-4143-9649-ed125b40786b none swap sw 0 0
--------------------------------------------------------------------------------
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda3
00000000 05 00 00 00 00 00 00 00 91 4b 05 00 00 00 00 00 |.........K......|
00000010 00 00 00 00 ee dc 06 00 66 21 07 00 05 00 00 00 |........f!......|
00000020 a9 34 29 01 9e d9 08 00 b9 b6 11 00 00 00 00 00 |.4).............|
00000030 ef dc 06 00 67 21 07 00 01 05 00 00 be 39 f0 01 |....g!.......9..|
00000040 d0 49 00 00 ba b6 11 00 b1 b6 11 00 ef dc 06 00 |.I..............|
00000050 68 21 07 00 01 02 00 00 c4 39 f0 01 f2 ed 00 00 |h!.......9......|
00000060 bb b6 11 00 b2 b6 11 00 ef dc 06 00 69 21 07 00 |............i!..|
00000070 01 02 00 00 cc 39 f0 01 6a c6 00 00 bc b6 11 00 |.....9..j.......|
00000080 9e b2 11 00 ef dc 06 00 6a 21 07 00 01 02 00 00 |........j!......|
00000090 a9 34 29 01 24 39 08 00 bd b6 11 00 52 7e 10 00 |.4).$9......R~..|
000000a0 ef dc 06 00 6b 21 07 00 01 05 00 00 df 39 f0 01 |....k!.......9..|
000000b0 33 50 06 00 be b6 11 00 4a b6 11 00 ef dc 06 00 |3P......J.......|
000000c0 6c 21 07 00 01 02 00 00 e5 39 f0 01 4a 3f 06 00 |l!.......9..J?..|
000000d0 bf b6 11 00 bc b2 11 00 ef dc 06 00 6d 21 07 00 |............m!..|
000000e0 01 02 00 00 ed 39 f0 01 4b 3f 06 00 c0 b6 11 00 |.....9..K?......|
000000f0 bd b2 11 00 ef dc 06 00 6e 21 07 00 01 02 00 00 |........n!......|
00000100 f5 39 f0 01 25 39 08 00 c1 b6 11 00 7e ac 10 00 |.9..%9......~...|
00000110 ef dc 06 00 6f 21 07 00 01 02 00 00 fb 39 f0 01 |....o!.......9..|
00000120 f5 37 06 00 c2 b6 11 00 b5 b6 11 00 ef dc 06 00 |.7..............|
00000130 70 21 07 00 01 02 00 00 00 00 00 00 6b 8f 06 00 |p!..........k...|
00000140 c3 b6 11 00 a9 b2 11 00 ef dc 06 00 71 21 07 00 |............q!..|
00000150 01 00 00 00 01 3a f0 01 bb 1a 00 00 c4 b6 11 00 |.....:..........|
00000160 a6 b6 11 00 ef dc 06 00 72 21 07 00 01 02 00 00 |........r!......|
00000170 05 3a f0 01 bb 1a 00 00 c6 b6 11 00 c3 b6 11 00 |.:..............|
00000180 ef dc 06 00 73 21 07 00 01 03 00 00 00 00 00 00 |....s!..........|
00000190 9d d9 08 00 00 00 00 00 00 00 00 00 2d 1c 04 00 |............-...|
000001a0 74 21 07 00 05 00 00 00 00 00 00 00 94 4b 05 00 |t!...........K..|
000001b0 00 00 00 00 ea 9a 0a 00 ef dc 06 00 75 21 00 fe |............u!..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 d8 1b 01 00 fe |................|
000001d0 ff ff 05 fe ff ff 02 d8 1b 01 00 e0 3b 00 00 00 |............;...|
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 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
cat: write error: Broken pipe
File descriptor 9 (/proc/17195/mounts) leaked on lvs invocation. Parent PID 29605: bash
File descriptor 63 (pipe:[53141]) leaked on lvs invocation. Parent PID 29605: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-04-06__04h13 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in live-session (Ubuntu 14.04.1 LTS, trusty, 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: cannot access /home/usr/.config: No such file or directory
=================== os-prober:
/dev/sda1:Windows 8 (loader):Windows:chain
/dev/sda5:Ubuntu 14.04.1 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 14.04.1 LTS amd64" TYPE="iso9660"
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="E47CBF7B7CBF46D8" TYPE="ntfs"
/dev/sda2: UUID="7C64DCF464DCB25E" TYPE="ntfs"
/dev/sda5: UUID="c18ce9bc-1291-4b48-b68e-460ab04836c3" TYPE="ext4"
/dev/sda6: UUID="0f734db3-6d59-4143-9649-ed125b40786b" TYPE="swap"
/dev/sdb1: LABEL="stock_images" UUID="0CD8FDCFD8FDB6D4" TYPE="ntfs"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Windows not detected by os-prober on sda2.
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 juil. 22 2014 grub.d
total 76
-rwxr-xr-x 1 root root 9424 mai 15 2014 00_header
-rwxr-xr-x 1 root root 6058 mai 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 mai 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 mai 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 mai 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mai 15 2014 40_custom
-rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
-rw-r--r-- 1 root root 483 mai 15 2014 README
=================== 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"
=================== 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, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, 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, 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/sda2.
sda5 : sda, not-sepboot, grubenv-ok grub2, 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, not-far, /mnt/boot-sav/sda5.
sdb1 : sdb, 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/sdb1.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 63 sectors * 512 bytes
=================== parted -l:
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 32.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 368MB 367MB primary ntfs boot
2 368MB 20.6GB 20.2GB primary ntfs
3 20.6GB 32.1GB 11.5GB extended
5 20.6GB 30.1GB 9524MB logical ext4
6 30.1GB 32.1GB 2008MB logical linux-swap(v1)
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sdb: 32.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 32.8GB 32.8GB primary ntfs boot
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.1GB:scsi:512:512:msdos:ATA VBOX HARDDISK;
1:1049kB:368MB:367MB:ntfs::boot;
2:368MB:20.6GB:20.2GB:ntfs::;
3:20.6GB:32.1GB:11.5GB:::;
5:20.6GB:30.1GB:9524MB:ext4::;
6:30.1GB:32.1GB:2008MB:linux-swap(v1)::;
BYT;
/dev/sdb:32.8GB:scsi:512:512:msdos:ATA VBOX HARDDISK;
1:32.3kB:32.8GB:32.8GB:ntfs::boot;
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:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 29,9G VBOX HAR
sda1 part ntfs 350M Réservé au système
E47CBF7B7CBF46D8
sda2 part ntfs 18,8G 7C64DCF464DCB25E
sda3 part 1K
sda5 part ext4 8,9G c18ce9bc-1291-4b48-b68e-460ab04836c3
sda6 part swap 1,9G 0f734db3-6d59-4143-9649-ed125b40786b
sdb disk 30,5G VBOX HAR
sdb1 part ntfs 30,5G stock_images
0CD8FDCFD8FDB6D4
sr0 rom iso9660 981M Ubuntu 14.04.1 LTS amd64
CD-ROM
loop0 loop squashfs 938,7M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0
sda5 1 0 0 /mnt/boot-sav/sda5
sda6 1 0 0 [SWAP]
sdb 1 0 0 running
sdb1 1 0 0 /mnt/boot-sav/sdb1
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
=================== 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)
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=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control cdrom char console core cpu cpu_dma_latency cuse disk ecryptfs fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff ef 0a 00 00 00 00 00 |................|
00000030 aa 74 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |.t..............|
00000040 f6 00 00 00 01 00 00 00 d8 46 bf 7c 7b bf 7c e4 |.........F.|{.|.|
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 f8 0a 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff 5f 5a 02 00 00 00 00 |........._Z.....|
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 5e b2 dc 64 f4 dc 64 7c |........^..d..d||
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sdb1
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 3f 00 00 00 |........?...?...|
00000020 00 00 00 00 80 00 80 00 d2 18 d1 03 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 8d 11 3d 00 00 00 00 00 |..........=.....|
00000040 f6 00 00 00 01 00 00 00 d4 b6 fd d8 cf fd d8 0c |................|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
00000060 8e d8 e8 16 00 b8 00 0d 8e c0 33 db c6 06 0e 00 |..........3.....|
00000070 10 e8 53 00 68 00 0d 68 6a 02 cb 8a 16 24 00 b4 |..S.h..hj....$..|
00000080 08 cd 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 |...s......f...@f|
00000090 0f b6 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f |.....?.......Af.|
000000a0 b7 c9 66 f7 e1 66 a3 20 00 c3 b4 41 bb aa 55 8a |..f..f. ...A..U.|
000000b0 16 24 00 cd 13 72 0f 81 fb 55 aa 75 09 f6 c1 01 |.$...r...U.u....|
000000c0 74 04 fe 06 14 00 c3 66 60 1e 06 66 a1 10 00 66 |t......f`..f...f|
000000d0 03 06 1c 00 66 3b 06 20 00 0f 82 3a 00 1e 66 6a |....f;. ...:..fj|
000000e0 00 66 50 06 53 66 68 10 00 01 00 80 3e 14 00 00 |.fP.Sfh.....>...|
000000f0 0f 85 0c 00 e8 b3 ff 80 3e 14 00 00 0f 84 61 00 |........>.....a.|
00000100 b4 42 8a 16 24 00 16 1f 8b f4 cd 13 66 58 5b 07 |.B..$.......fX[.|
00000110 66 58 66 58 1f eb 2d 66 33 d2 66 0f b7 0e 18 00 |fXfX..-f3.f.....|
00000120 66 f7 f1 fe c2 8a ca 66 8b d0 66 c1 ea 10 f7 36 |f......f..f....6|
00000130 1a 00 86 d6 8a 16 24 00 8a e8 c0 e4 06 0a cc b8 |......$.........|
00000140 01 02 cd 13 0f 82 19 00 8c c0 05 20 00 8e c0 66 |........... ...f|
00000150 ff 06 10 00 ff 0e 0e 00 0f 85 6f ff 07 1f 66 61 |..........o...fa|
00000160 c3 a0 f8 01 e8 09 00 a0 fb 01 e8 03 00 fb eb fe |................|
00000170 b4 01 8b f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 |.....<.t........|
00000180 eb f2 c3 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 |.....A disk read|
00000190 20 65 72 72 6f 72 20 6f 63 63 75 72 72 65 64 00 | error occurred.|
000001a0 0d 0a 4e 54 4c 44 52 20 69 73 20 6d 69 73 73 69 |..NTLDR is missi|
000001b0 6e 67 00 0d 0a 4e 54 4c 44 52 20 69 73 20 63 6f |ng...NTLDR is co|
000001c0 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 73 |mpressed...Press|
000001d0 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f | Ctrl+Alt+Del to|
000001e0 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 00 | restart........|
000001f0 00 00 00 00 00 00 00 00 83 a0 b3 c9 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 937M 117M 821M 13% /
udev devtmpfs 926M 12K 926M 1% /dev
tmpfs tmpfs 188M 912K 187M 1% /run
/dev/sr0 iso9660 981M 981M 0 100% /cdrom
/dev/loop0 squashfs 939M 939M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 937M 1.7M 936M 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 937M 80K 937M 1% /run/shm
none tmpfs 100M 60K 100M 1% /run/user
/dev/sda1 fuseblk 350M 239M 112M 69% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 19G 16G 3.4G 82% /mnt/boot-sav/sda2
/dev/sda5 ext4 8.7G 3.7G 4.6G 45% /mnt/boot-sav/sda5
/dev/sdb1 fuseblk 31G 8.4G 23G 28% /mnt/boot-sav/sdb1
=================== fdisk -l:
Disk /dev/sda: 32.1 GB, 32115785728 bytes
255 heads, 63 sectors/track, 3904 cylinders, total 62726144 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: 0x006ebed8
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 40196095 19738624 7 HPFS/NTFS/exFAT
/dev/sda3 40198142 62724095 11262977 5 Extended
/dev/sda5 40198144 58800127 9300992 83 Linux
/dev/sda6 58802176 62724095 1960960 82 Linux swap / Solaris
Disk /dev/sdb: 32.8 GB, 32786006016 bytes
255 heads, 63 sectors/track, 3986 cylinders, total 64035168 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: 0xf0c2bf6c
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 64035089 32017513+ 7 HPFS/NTFS/exFAT
Partition outside the disk détecté.
=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot
Quantity of real Windows: 1
WinSE in sda2
Copied Win boot files from sda1 to sda2
Reinstall the GRUB of sda5 into all MBRs of disks with OS or not-USB
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
Kernel driver in use: e1000
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
Reinstall the GRUB of sda5 into the MBR of sdb
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sdb: exit code of grub-install /dev/sdb:0
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
Kernel driver in use: e1000
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
Reinstall the GRUB of sda5 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda5 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 8 (loader) on /dev/sda1
Found Windows 8 (loader) on /dev/sda2
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (32.1GB) !
On peut voir que la partition système de Windows 8 s'est enrichie (si on peut dire...) d'un dossier /Boot :
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
Ce dossier est une copie exacte de celui qui se trouve dans la partition sda1 : j'ai pu vérifier que le md5sum du fichier BCD de sda2 est identique à celui de sda1.
EDIT le 17 nov 2016 : j'avais oublié de signaler la création d'une nouvelle entrée intitulée "Windows 8 (loader) (on /dev/sda2)" dans le menu Grub (on la voit dans ce dernier Boot-Info) : elle pointe évidemment sur la partition système de Windows (sda2) puisque justement Boot-Repair y a copié les éléments nécessaires au démarrage. Ce n'est pas Boot-Repair qui a créé cette entrée : c'est Grub lui-même - en fait os-prober activé par la mise à jour de Grub - qui a créé cette entrée à cause de la présence des éléments de démarrage de Windows dans /dev/sda2
En conclusion :
J'ai démontré que l'option fix-windows-boot de Boot-Repair est responsable de la création d'un dossier /Boot (voir EDIT) dans la partition système de Windows (le disque C:). Et comme la "Réparation recommandée" de Boot-Repair inclut cette option par défaut, ça explique pourquoi on peut voir sur ce forum de nombreux Boot-Info dans lesquels il y a un dossier /Boot dans la partition système de Windows (en général, sda2) qui fait doublon avec le dossier /boot de la partition de démarrage (en général, sda1)
EDIT le 30 oct 2016 : si la partition système de Windows ne contient pas de fichier /bootmgr, il y a création également d'un fichier /bootmgr dans cette partition (en plus de la création du dossier /Boot). On peut voir ça dans ce fil : https://forum.ubuntu-fr.org/viewtopic.php?id=1998940
Dernière modification par malbo (Le 17/11/2016, à 12:17)
Hors ligne
#2 Le 07/04/2015, à 00:52
- Bougron
Re : [Résolu] option fix-windows-boot de Boot-Repair
Bonsoir
C'est une bonne idée de comprendre ce que boot-repair fait
Il est vraiment dommages que les experts de ce sujet ne mettent rien en ligne spécialement dans la doc
Voici une réponse http://forum.ubuntu-fr.org/viewtopic.ph … #p19249141
Hors ligne
#3 Le 07/04/2015, à 06:37
- malbo
Re : [Résolu] option fix-windows-boot de Boot-Repair
Il faut reconnaître que la documentation de Boot-Repair est très sommaire. C'est déjà beaucoup que le fonctionnement de Boot-Repair/Boot-Info ait été amélioré l'hiver dernier par un gros coup de collier de YannUbuntu. A présent, on a Boot-Info qui tourne bien et Boot-repair idem. C'est l'essentiel pour moi.
EDIT : je viens de me replonger dans les échanges de novembre dernier et sauf erreur, c'est à l'initiative de Babdu89 (voir son post "fondateur") que l'outil Boot-Info a été créé, même si cette proposition a été appuyée par d'autres (sauf par moi et j'ai honte). J'apprécie beaucoup à présent de pouvoir proposer Boot-Info aux novices en galère. Merci Babdu89 si tu me lis.
Dernière modification par malbo (Le 07/04/2015, à 08:59)
Hors ligne
#4 Le 29/10/2016, à 14:21
- Babdu89
Re : [Résolu] option fix-windows-boot de Boot-Repair
Bonjour.
En venant de là;
https://forum.ubuntu-fr.org/viewtopic.p … #p21617137
Je me retrouve ici. Sujet et tests que je ne connaissais pas.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne