Bonjour,
Suite à l'installation de Windows 10 en dual boot sur mon PC, il m'est devenu impossible de booter sur Ubuntu, je suis dans une console du grub, avec le message en haut "Minimal BASSH-line editing is supported", qui semble me réduire dans les commandes que je peux utiliser.
A partir d'un sujet du forum similaire, je suis tombé sur ce lien :
https://doc.ubuntu-fr.org/boot-repair
J'ai suivi la démarche, et on me conseille de partager ce lien afin d'obtenir de l'aide et savoir si je peux utiliser l'option "réparation recommandée" :
http://paste.ubuntu.com/p/sTsMVhR3ct/
Je peux démarrer sous Windows sans problème.
PS : contenu du lien ci-dessous :
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No known boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /EFI/BOOT/fbx64.efi
/EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /Windows/System32/winload.exe
sdb1: __________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sdb1: /dev/sdb1 already mounted or mount point busy.
sdb2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdb2 starts
at sector 0. But according to the info from fdisk,
sdb2 starts at sector 3737268. According to the info
in the boot sector, sdb2 has 0 sectors.
Mounting failed: mount: /mnt/BootInfo/sdb1: /dev/sdb1 already mounted or mount point busy.
mount: /mnt/BootInfo/sdb2: /dev/sdb2 already mounted or mount point busy.
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 885,285,818 884,235,195 Data partition (Linux)
/dev/sda3 885,286,912 1,953,523,711 1,068,236,800 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3.8 GiB, 4009754624 bytes, 7831552 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 * 0 3,815,135 3,815,136 0 Empty
/dev/sdb2 3,737,268 3,741,939 4,672 ef EFI (FAT-12/16/32)
/dev/sdb1 overlaps with /dev/sdb2
GUID Partition Table detected, but does not seem to be used.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 + R 0 3,815,079 3,815,080 Data partition (Windows/Linux)
/dev/sdb2 + R 3,737,268 3,741,939 4,672 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/loop5 squashfs
/dev/loop6 squashfs
/dev/loop7 squashfs
/dev/sda1 857E-2FAD vfat
/dev/sda2 181fca14-9405-49ea-ab01-952b608e9d65 ext4
/dev/sda3 0B74B27B7BECEDC1 ntfs Windows
/dev/sdb1 2018-07-25-03-21-56-00 iso9660 Ubuntu 18.04.1 LTS amd64
/dev/sdb2 0D5F-1DB6 vfat
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Sep 21 20:31 ata-ST1000DM003-1CH162_Z1D6H8CP -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 21 20:31 ata-ST1000DM003-1CH162_Z1D6H8CP-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 21 20:31 ata-ST1000DM003-1CH162_Z1D6H8CP-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 21 20:31 ata-ST1000DM003-1CH162_Z1D6H8CP-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Sep 21 20:29 ata-hp_CDDVDW_SH-216DB_R96F6YAD800241 -> ../../sr0
lrwxrwxrwx 1 root root 9 Sep 21 20:31 usb-USB_Flash_Disk_FBG1105200100020-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 21 20:31 usb-USB_Flash_Disk_FBG1105200100020-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 21 20:31 usb-USB_Flash_Disk_FBG1105200100020-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Sep 21 20:31 wwn-0x5000c50064bb7a6e -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 21 20:31 wwn-0x5000c50064bb7a6e-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 21 20:31 wwn-0x5000c50064bb7a6e-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 21 20:31 wwn-0x5000c50064bb7a6e-part3 -> ../../sda3
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
========================== sda1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 122f54fd-56f1-4b37-984f-6a4ea7b91718 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=========================== sda2/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 181fca14-9405-49ea-ab01-952b608e9d65
else
search --no-floppy --fs-uuid --set=root 181fca14-9405-49ea-ab01-952b608e9d65
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=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; 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=1
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-181fca14-9405-49ea-ab01-952b608e9d65' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 181fca14-9405-49ea-ab01-952b608e9d65
else
search --no-floppy --fs-uuid --set=root 181fca14-9405-49ea-ab01-952b608e9d65
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-181fca14-9405-49ea-ab01-952b608e9d65' {
menuentry 'Ubuntu, avec Linux 4.15.0-64-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-64-generic-advanced-181fca14-9405-49ea-ab01-952b608e9d65' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 181fca14-9405-49ea-ab01-952b608e9d65
else
search --no-floppy --fs-uuid --set=root 181fca14-9405-49ea-ab01-952b608e9d65
fi
echo 'Chargement de Linux 4.15.0-64-generic…'
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-64-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-64-generic-recovery-181fca14-9405-49ea-ab01-952b608e9d65' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 181fca14-9405-49ea-ab01-952b608e9d65
else
search --no-floppy --fs-uuid --set=root 181fca14-9405-49ea-ab01-952b608e9d65
fi
echo 'Chargement de Linux 4.15.0-64-generic…'
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-62-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-62-generic-advanced-181fca14-9405-49ea-ab01-952b608e9d65' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 181fca14-9405-49ea-ab01-952b608e9d65
else
search --no-floppy --fs-uuid --set=root 181fca14-9405-49ea-ab01-952b608e9d65
fi
echo 'Chargement de Linux 4.15.0-62-generic…'
linux /boot/vmlinuz-4.15.0-62-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-62-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-62-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-62-generic-recovery-181fca14-9405-49ea-ab01-952b608e9d65' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 181fca14-9405-49ea-ab01-952b608e9d65
else
search --no-floppy --fs-uuid --set=root 181fca14-9405-49ea-ab01-952b608e9d65
fi
echo 'Chargement de Linux 4.15.0-62-generic…'
linux /boot/vmlinuz-4.15.0-62-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-62-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 18.04.1 LTS (18.04) (sur /dev/sda3)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
submenu 'Options avancées pour Ubuntu 18.04.1 LTS (18.04) (sur /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-122f54fd-56f1-4b37-984f-6a4ea7b91718' {
menuentry 'Ubuntu (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic--122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-64-generic (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic--122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-64-generic (recovery mode) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic-root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro recovery nomodeset-122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro recovery nomodeset
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-29-generic (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-29-generic root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-29-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic-root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro recovery nomodeset-122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-29-generic root=UUID=122f54fd-56f1-4b37-984f-6a4ea7b91718 ro recovery nomodeset
initrd /boot/initrd.img-4.15.0-29-generic
}
menuentry 'Ubuntu 18.04.3 LTS (18.04) (sur /dev/sda2) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic--122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu (sur /dev/sda2) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic--122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-64-generic (sur /dev/sda2) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic--122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-64-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-64-generic (recovery mode) (sur /dev/sda2) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-64-generic-root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro recovery nomodeset-122f54fd-56f1-4b37-984f-6a4ea7b91718' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 122f54fd-56f1-4b37-984f-6a4ea7b91718
else
search --no-floppy --fs-uuid --set=root 122f54fd-56f1-4b37-984f-6a4ea7b91718
fi
linux /boot/vmlinuz-4.15.0-64-generic root=UUID=181fca14-9405-49ea-ab01-952b608e9d65 ro recovery nomodeset
initrd /boot/initrd.img-4.15.0-64-generic
}
}
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 ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
--------------------------------------------------------------------------------
=============================== sda2/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/sda2 during installation
UUID=181fca14-9405-49ea-ab01-952b608e9d65 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=857E-2FAD /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
348.838874817 = 374.562889728 boot/grub/grub.cfg 2
10.340763092 = 11.103309824 boot/vmlinuz-4.15.0-62-generic 1
12.255298615 = 13.159026688 boot/vmlinuz-4.15.0-64-generic 8
12.255298615 = 13.159026688 vmlinuz 8
10.340763092 = 11.103309824 vmlinuz.old 1
14.217449188 = 15.265869824 boot/initrd.img-4.15.0-62-generic 5
14.063247681 = 15.100297216 boot/initrd.img-4.15.0-64-generic 21
14.063247681 = 15.100297216 initrd.img 21
14.217449188 = 15.265869824 initrd.img.old 5
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown MBR on /dev/sdb
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 58 ed 38 00 00 00 00 00 c4 b4 3e 66 00 00 80 00 |X.8.......>f....|
000001c0 01 00 00 74 e0 fa 00 00 00 00 e0 36 3a 00 00 fe |...t.......6:...|
000001d0 ff ff ef fe ff ff b4 06 39 00 40 12 00 00 00 00 |........9.@.....|
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
/dev/sdb1: unknown GPT attributes
1000000000000001
/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sda3
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 68 c4 34 |........?....h.4|
00000020 00 00 00 00 80 00 80 00 ff ff ab 3f 00 00 00 00 |...........?....|
00000030 04 00 00 00 00 00 00 00 ff bf fa 03 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 c1 ed ec 7b 7b b2 74 0b |...........{{.t.|
00000050 00 00 00 00 0e 1f be 71 7c ac 22 c0 74 0b 56 b4 |.......q|.".t.V.|
00000060 0e bb 07 00 cd 10 5e eb f0 32 e4 cd 16 cd 19 eb |......^..2......|
00000070 fe 54 68 69 73 20 69 73 20 6e 6f 74 20 61 20 62 |.This is not a b|
00000080 6f 6f 74 61 62 6c 65 20 64 69 73 6b 2e 20 50 6c |ootable disk. Pl|
00000090 65 61 73 65 20 69 6e 73 65 72 74 20 61 20 62 6f |ease insert a bo|
000000a0 6f 74 61 62 6c 65 20 66 6c 6f 70 70 79 20 61 6e |otable floppy an|
000000b0 64 0d 0a 70 72 65 73 73 20 61 6e 79 20 6b 65 79 |d..press any key|
000000c0 20 74 6f 20 74 72 79 20 61 67 61 69 6e 20 2e 2e | to try again ..|
000000d0 2e 20 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............|
000000e0 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
Unknown BootLoader on sdb1
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 58 ed 38 00 00 00 00 00 c4 b4 3e 66 00 00 80 00 |X.8.......>f....|
000001c0 01 00 00 74 e0 fa 00 00 00 00 e0 36 3a 00 00 fe |...t.......6:...|
000001d0 ff ff ef fe ff ff b4 06 39 00 40 12 00 00 00 00 |........9.@.....|
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: ===============================
File descriptor 9 (/proc/5774/mountinfo) leaked on lvs invocation. Parent PID 14996: bash
File descriptor 63 (pipe:[91888]) leaked on lvs invocation. Parent PID 14996: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 20190921_2031 ===================
boot-repair version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
=================== os-prober:
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda2:Ubuntu 18.04.3 LTS (18.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="857E-2FAD" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="bacc8c7c-8180-4d35-92d1-a89ed536a06c"
/dev/sda2: UUID="181fca14-9405-49ea-ab01-952b608e9d65" TYPE="ext4" PARTLABEL="LInux" PARTUUID="904a2852-8774-45d2-9d38-7fc6513b2465"
/dev/sda3: LABEL="Windows" UUID="0B74B27B7BECEDC1" TYPE="ntfs" PTTYPE="dos" PARTUUID="3b76c3d6-b1a0-4237-8de5-3f0ecce5d928"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sdb1: UUID="2018-07-25-03-21-56-00" LABEL="Ubuntu 18.04.1 LTS amd64" TYPE="iso9660" PTUUID="663eb4c4" PTTYPE="dos" PARTUUID="663eb4c4-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="0D5F-1DB6" TYPE="vfat" PARTUUID="663eb4c4-02"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Windows not detected by os-prober on sda3.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Apr 23 13:46 grub.d
total 80
-rwxr-xr-x 1 root root 10046 Mar 18 2019 00_header
-rwxr-xr-x 1 root root 6258 Jul 16 2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 Jul 17 2018 10_linux
-rwxr-xr-x 1 root root 11298 Jul 17 2018 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Jul 17 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 Jul 17 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jul 17 2018 40_custom
-rwxr-xr-x 1 root root 216 Jul 17 2018 41_custom
-rw-r--r-- 1 root root 483 Jul 17 2018 README
=================== sda2/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_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of sda2: UUID=857E-2FAD (sda1)
/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input
=================== efibootmgr -v
BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0005,0000,0007,0001,0002,0006
Boot0000* ubuntu HD(1,GPT,bacc8c7c-8180-4d35-92d1-a89ed536a06c,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0001* Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........S.T.1.0.0.0.D.M.0.0.3.-.1.C.H.1.6.2....................,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.1.Z.6.D.8.H.P.C. . . . . . . . . . . . ........BO
Boot0002* CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.1.6.D.B....................,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.9.R.F.6.Y.6.D.A.0.8.2.0.1.4. . . . . . ........BO
Boot0005* Windows Boot Manager HD(1,GPT,bacc8c7c-8180-4d35-92d1-a89ed536a06c,0x800,0x100000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...C................
Boot0006* USB KEY BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)..GO..NO........y.U.S.B. .F.l.a.s.h. .D.i.s.k. .1.1.0.0....................,.@.r.d.=.X..........A.......................6..Gd-.;.A..MQ..L.F.B.G.1.1.0.5.2.0.0.1.0.0.0.2.0........BO
Boot0007* UEFI: USB Flash Disk 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/CDROM(1,0x3906b4,0x4900)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda2.
sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda3.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA ST1000DM003-1CH1:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:453GB:453GB:ext4:LInux:;
3:453GB:1000GB:547GB:ntfs::msftdata;
BYT;
/dev/sdb:4010MB:scsi:512:512:unknown:USB Flash Disk:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 1.8G
loop1 loop squashfs 86.9M
loop2 loop squashfs 34.7M
loop3 loop squashfs 140.9M
loop4 loop squashfs 2.3M
loop5 loop squashfs 13M
loop6 loop squashfs 14.5M
loop7 loop squashfs 3.7M
sda disk 931.5G
sda1 part vfat 512M
sda2 part ext4 421.7G
sda3 part ntfs 509.4G Windows
sdb disk iso9660 3.8G Ubuntu 18.04.1 LTS amd64
sdb1 part iso9660 1.8G Ubuntu 18.04.1 LTS amd64
sdb2 part vfat 2.3M Ubuntu 18.04.1 LTS amd64
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /rofs
loop1 1 1 0 /snap/core/4917
loop2 1 1 0 /snap/gtk-common-themes/319
loop3 1 1 0 /snap/gnome-3-26-1604/70
loop4 1 1 0 /snap/gnome-calculator/180
loop5 1 1 0 /snap/gnome-characters/103
loop6 1 1 0 /snap/gnome-logs/37
loop7 1 1 0 /snap/gnome-system-monitor/51
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 /mnt/boot-sav/sda3
sdb 1 0 1 running /cdrom
sdb1 1 0 1
sdb2 1 0 1
sr0 1 0 1 running
=================== 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=4043280k,nr_inodes=1010820,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=812892k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
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/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14315)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=812888k,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)
/var/lib/snapd/snaps/core_4917.snap on /snap/core/4917 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_319.snap on /snap/gtk-common-themes/319 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_70.snap on /snap/gnome-3-26-1604/70 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_180.snap on /snap/gnome-calculator/180 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_103.snap on /snap/gnome-characters/103 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_37.snap on /snap/gnome-logs/37 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_51.snap on /snap/gnome-system-monitor/51 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (ro,relatime,user_id=0,group_id=0,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 hidden holders inflight integrity power queue range removable ro sda1 sda2 sda3 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 hidden holders inflight integrity power queue range removable ro sdb1 sdb2 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 hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log lp0 mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 10 00 00 04 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 ad 2f 7e 85 4e 4f 20 4e 41 4d 45 20 20 |..)./~.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 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
=================== hexdump -n512 -C /dev/sda3
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 68 c4 34 |........?....h.4|
00000020 00 00 00 00 80 00 80 00 ff ff ab 3f 00 00 00 00 |...........?....|
00000030 04 00 00 00 00 00 00 00 ff bf fa 03 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 c1 ed ec 7b 7b b2 74 0b |...........{{.t.|
00000050 00 00 00 00 0e 1f be 71 7c ac 22 c0 74 0b 56 b4 |.......q|.".t.V.|
00000060 0e bb 07 00 cd 10 5e eb f0 32 e4 cd 16 cd 19 eb |......^..2......|
00000070 fe 54 68 69 73 20 69 73 20 6e 6f 74 20 61 20 62 |.This is not a b|
00000080 6f 6f 74 61 62 6c 65 20 64 69 73 6b 2e 20 50 6c |ootable disk. Pl|
00000090 65 61 73 65 20 69 6e 73 65 72 74 20 61 20 62 6f |ease insert a bo|
000000a0 6f 74 61 62 6c 65 20 66 6c 6f 70 70 79 20 61 6e |otable floppy an|
000000b0 64 0d 0a 70 72 65 73 73 20 61 6e 79 20 6b 65 79 |d..press any key|
000000c0 20 74 6f 20 74 72 79 20 61 67 61 69 6e 20 2e 2e | to try again ..|
000000d0 2e 20 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............|
000000e0 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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 794M 1.7M 793M 1% /run
/dev/sdb iso9660 1.9G 1.9G 0 100% /cdrom
/dev/loop0 squashfs 1.8G 1.8G 0 100% /rofs
/cow overlay 3.9G 417M 3.5G 11% /
tmpfs tmpfs 3.9G 65M 3.9G 2% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 4.0K 3.9G 1% /tmp
tmpfs tmpfs 794M 52K 794M 1% /run/user/999
/dev/loop1 squashfs 87M 87M 0 100% /snap/core/4917
/dev/loop2 squashfs 35M 35M 0 100% /snap/gtk-common-themes/319
/dev/loop3 squashfs 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop4 squashfs 2.4M 2.4M 0 100% /snap/gnome-calculator/180
/dev/loop5 squashfs 13M 13M 0 100% /snap/gnome-characters/103
/dev/loop6 squashfs 15M 15M 0 100% /snap/gnome-logs/37
/dev/loop7 squashfs 3.8M 3.8M 0 100% /snap/gnome-system-monitor/51
/dev/sda1 vfat 511M 32M 480M 7% /mnt/boot-sav/sda1
/dev/sda2 ext4 415G 108G 286G 28% /mnt/boot-sav/sda2
/dev/sda3 fuseblk 510G 116G 395G 23% /mnt/boot-sav/sda3
=================== fdisk -l:
Disk /dev/loop0: 1.8 GiB, 1864450048 bytes, 3641504 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/loop1: 86.9 MiB, 91099136 bytes, 177928 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/loop2: 34.7 MiB, 36323328 bytes, 70944 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/loop3: 140.9 MiB, 147722240 bytes, 288520 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/loop4: 2.3 MiB, 2433024 bytes, 4752 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/loop5: 13 MiB, 13619200 bytes, 26600 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/loop6: 14.5 MiB, 15196160 bytes, 29680 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/loop7: 3.7 MiB, 3887104 bytes, 7592 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: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0C05B760-EAD9-4BAA-9644-456EB6B83CC5
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 885285818 884235195 421.7G Linux filesystem
/dev/sda3 885286912 1953523711 1068236800 509.4G Microsoft basic data
Disk /dev/sdb: 3.8 GiB, 4009754624 bytes, 7831552 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: 0x663eb4c4
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3815135 3815136 1.8G 0 Empty
/dev/sdb2 3737268 3741939 4672 2.3M ef EFI (FAT-12/16/32)
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!
If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\...\grub*.efi
=================== User settings
The settings chosen by the user will not act on the boot.
Merci ! 😃