Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boot Info Script 71f6c5c + Boot-Repair extra info [Boot-Info 16mar2020]
- ============================= Boot Info Summary: ===============================
- => No boot loader is installed in the MBR of /dev/sda.
- => Syslinux MBR (4.04-4.07) 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/bkpbootx64.efi
- /efi/BOOT/bootx64.efi /efi/BOOT/fbx64.efi
- /efi/BOOT/fwupx64.efi /efi/BOOT/grubx64.efi
- /efi/BOOT/mmx64.efi /efi/BOOT/shimx64.efi
- /efi/ubuntu/fwupx64.efi /efi/ubuntu/grubx64.efi
- /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
- /efi/BOOT/grub.cfg /efi/ubuntu/grub.cfg
- /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:
- Mounting failed: mount: /mnt/BootInfo/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
- sda3: __________________________________________________________________________
- File system: ext4
- Boot sector type: -
- Boot sector info:
- Operating System: Ubuntu 19.10
- Boot files: /boot/grub/grub.cfg /etc/fstab
- sda4: __________________________________________________________________________
- 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: vfat
- Boot sector type: SYSLINUX 4.07 2013-07-25
- Boot sector info: Syslinux looks at sector 30732 of /dev/sdb1 for its
- second stage. SYSLINUX is installed in the /uui
- directory. No errors found in the Boot Parameter Block.
- Operating System:
- Boot files: /boot/grub/grub.cfg /efi/BOOT/grubx64.efi
- ============================ Drive/Partition Info: =============================
- Drive: sda _____________________________________________________________________
- Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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: gpt
- Partition Boot Start Sector End Sector # of Sectors Id System
- /dev/sda1 1 250,069,679 250,069,679 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 1,083,391 32,768 Microsoft Reserved Partition (Windows)
- /dev/sda3 3,080,192 178,388,991 175,308,800 Data partition (Linux)
- /dev/sda4 178,388,992 249,700,351 71,311,360 Data partition (Windows/Linux)
- Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
- Drive: sdb _____________________________________________________________________
- Disk /dev/sdb: 7.5 GiB, 8053063680 bytes, 15728640 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 * 64 15,728,639 15,728,576 c W95 FAT32 (LBA)
- "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 03DA-F029 vfat
- /dev/sda2 6576768b-6318-42bd-8a7c-e13607834166 ext4
- /dev/sda3 6576768b-6318-42bd-8a7c-e13607834166 ext4
- /dev/sda4 7DA86F0F09AD3D9F ntfs
- /dev/sdb1 19F5-2064 vfat UUI
- ========================= "ls -l /dev/disk/by-id" output: ======================
- total 0
- lrwxrwxrwx 1 root root 9 Mar 29 19:17 ata-TOSHIBA_THNSNS128GMCP_82GS10BTT2GY -> ../../sda
- lrwxrwxrwx 1 root root 10 Mar 29 19:17 ata-TOSHIBA_THNSNS128GMCP_82GS10BTT2GY-part1 -> ../../sda1
- lrwxrwxrwx 1 root root 10 Mar 29 19:17 ata-TOSHIBA_THNSNS128GMCP_82GS10BTT2GY-part2 -> ../../sda2
- lrwxrwxrwx 1 root root 10 Mar 29 19:17 ata-TOSHIBA_THNSNS128GMCP_82GS10BTT2GY-part3 -> ../../sda3
- lrwxrwxrwx 1 root root 10 Mar 29 19:19 ata-TOSHIBA_THNSNS128GMCP_82GS10BTT2GY-part4 -> ../../sda4
- lrwxrwxrwx 1 root root 9 Mar 29 19:17 usb-VendorCo_ProductCode_92071270D0429313651-0:0 -> ../../sdb
- lrwxrwxrwx 1 root root 10 Mar 29 19:17 usb-VendorCo_ProductCode_92071270D0429313651-0:0-part1 -> ../../sdb1
- ================================ Mount points: =================================
- Device Mount_Point Type Options
- /dev/loop0 /rofs squashfs (ro,noatime)
- /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
- ========================== sda1/EFI/ubuntu/grub.cfg: ===========================
- --------------------------------------------------------------------------------
- search.fs_uuid 6576768b-6318-42bd-8a7c-e13607834166 root hd0,gpt3
- set prefix=($root)'/boot/grub'
- configfile $prefix/grub.cfg
- --------------------------------------------------------------------------------
- =========================== sda1/efi/BOOT/grub.cfg: ============================
- --------------------------------------------------------------------------------
- search.fs_uuid 371b0e07-1130-4db1-b728-fa45ffc8a113 root hd0,gpt2
- set prefix=($root)'/grub'
- configfile $prefix/grub.cfg
- --------------------------------------------------------------------------------
- ========================== sda1/efi/ubuntu/grub.cfg: ===========================
- --------------------------------------------------------------------------------
- search.fs_uuid 6576768b-6318-42bd-8a7c-e13607834166 root hd0,gpt3
- set prefix=($root)'/boot/grub'
- configfile $prefix/grub.cfg
- --------------------------------------------------------------------------------
- =========================== sda3/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 [ "${initrdfail}" = 2 ]; then
- set initrdfail=
- elif [ "${initrdfail}" = 1 ]; then
- set next_entry="${prev_entry}"
- set prev_entry=
- save_env prev_entry
- if [ "${next_entry}" ]; then
- set initrdfail=2
- fi
- fi
- if [ "${next_entry}" ] ; then
- set default="${next_entry}"
- set next_entry=
- save_env next_entry
- set boot_once=true
- else
- set default="Windows UEFI bootmgfw.efi"
- 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 initrdfail {
- if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
- if [ -z "${initrdfail}" ]; then
- set initrdfail=1
- if [ -n "${boot_once}" ]; then
- set prev_entry="${default}"
- save_env prev_entry
- fi
- fi
- save_env initrdfail
- fi; 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,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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- 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=C
- insmod gettext
- fi
- terminal_output gfxterm
- if [ "${recordfail}" = 1 ] ; then
- set timeout=10
- 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=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
- # previously #2c001e 44,0,30,0
- # now yaru #4f194c 79,25,76
- if background_color 79,25,76,0; then
- clear
- fi
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- function gfxmode {
- set gfxpayload="${1}"
- if [ "${1}" = "keep" ]; then
- set vt_handoff=vt.handoff=7
- else
- set vt_handoff=
- fi
- }
- if [ "${recordfail}" != 1 ]; then
- if [ -e ${prefix}/gfxblacklist.txt ]; then
- if hwmatch ${prefix}/gfxblacklist.txt 3; then
- if [ ${match} = 0 ]; then
- set linux_gfx_mode=keep
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=keep
- fi
- else
- set linux_gfx_mode=text
- fi
- export linux_gfx_mode
- menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6576768b-6318-42bd-8a7c-e13607834166' {
- 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,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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- linux /boot/vmlinuz-5.3.0-42-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro quiet splash $vt_handoff
- initrd /boot/initrd.img-5.3.0-42-generic
- }
- submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-6576768b-6318-42bd-8a7c-e13607834166' {
- menuentry 'Ubuntu, with Linux 5.3.0-42-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-42-generic-advanced-6576768b-6318-42bd-8a7c-e13607834166' {
- 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,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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- echo 'Loading Linux 5.3.0-42-generic ...'
- linux /boot/vmlinuz-5.3.0-42-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro quiet splash $vt_handoff
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-5.3.0-42-generic
- }
- menuentry 'Ubuntu, with Linux 5.3.0-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-42-generic-recovery-6576768b-6318-42bd-8a7c-e13607834166' {
- recordfail
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- 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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- echo 'Loading Linux 5.3.0-42-generic ...'
- linux /boot/vmlinuz-5.3.0-42-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-5.3.0-42-generic
- }
- menuentry 'Ubuntu, with Linux 5.3.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-advanced-6576768b-6318-42bd-8a7c-e13607834166' {
- 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,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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- echo 'Loading Linux 5.3.0-40-generic ...'
- linux /boot/vmlinuz-5.3.0-40-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro quiet splash $vt_handoff
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-5.3.0-40-generic
- }
- menuentry 'Ubuntu, with Linux 5.3.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-recovery-6576768b-6318-42bd-8a7c-e13607834166' {
- recordfail
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- 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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- echo 'Loading Linux 5.3.0-40-generic ...'
- linux /boot/vmlinuz-5.3.0-40-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-5.3.0-40-generic
- }
- menuentry 'Ubuntu, with Linux 5.0.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-29-generic-advanced-6576768b-6318-42bd-8a7c-e13607834166' {
- 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,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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- echo 'Loading Linux 5.0.0-29-generic ...'
- linux /boot/vmlinuz-5.0.0-29-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro quiet splash $vt_handoff
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-5.0.0-29-generic
- }
- menuentry 'Ubuntu, with Linux 5.0.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-29-generic-recovery-6576768b-6318-42bd-8a7c-e13607834166' {
- recordfail
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- 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 6576768b-6318-42bd-8a7c-e13607834166
- else
- search --no-floppy --fs-uuid --set=root 6576768b-6318-42bd-8a7c-e13607834166
- fi
- echo 'Loading Linux 5.0.0-29-generic ...'
- linux /boot/vmlinuz-5.0.0-29-generic root=UUID=6576768b-6318-42bd-8a7c-e13607834166 ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-5.0.0-29-generic
- }
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/10_linux_zfs ###
- ### END /etc/grub.d/10_linux_zfs ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/25_custom ###
- menuentry "Windows UEFI bootmgfw.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
- }
- menuentry "EFI/BOOT/bkpbootx64.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/BOOT/bkpbootx64.efi
- }
- menuentry "EFI/BOOT/fbx64.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/BOOT/fbx64.efi
- }
- menuentry "EFI/BOOT/fwupx64.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/BOOT/fwupx64.efi
- }
- menuentry "EFI/BOOT/mmx64.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/BOOT/mmx64.efi
- }
- menuentry "EFI/ubuntu/fwupx64.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/ubuntu/fwupx64.efi
- }
- menuentry "EFI/ubuntu/mmx64.efi" {
- search --fs-uuid --no-floppy --set=root 03DA-F029
- chainloader (${root})/EFI/ubuntu/mmx64.efi
- }
- ### END /etc/grub.d/25_custom ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-03DA-F029' {
- insmod part_gpt
- insmod fat
- set root='hd0,gpt1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 03DA-F029
- else
- search --no-floppy --fs-uuid --set=root 03DA-F029
- fi
- chainloader /EFI/Microsoft/Boot/bootmgfw.efi
- }
- set timeout_style=menu
- if [ "${timeout}" = 0 ]; then
- set timeout=10
- fi
- ### END /etc/grub.d/30_os-prober ###
- ### BEGIN /etc/grub.d/30_uefi-firmware ###
- 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 ###
- --------------------------------------------------------------------------------
- =============================== sda3/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=6576768b-6318-42bd-8a7c-e13607834166 / ext4 errors=remount-ro 0 1
- # /boot/efi was on /dev/sda1 during installation
- #UUID=03DA-F029 /boot/efi vfat umask=0077 0 1
- /swapfile none swap sw 0 0
- UUID=03DA-F029 /boot/efi vfat defaults 0 1
- --------------------------------------------------------------------------------
- =================== sda3: Location of files loaded by Grub: ====================
- GiB - GB File Fragment(s)
- 17.839809418 = 19.155349504 boot/grub/grub.cfg 1
- 32.252803802 = 34.631184384 boot/vmlinuz 2
- 23.726860046 = 25.476521984 boot/vmlinuz-5.0.0-29-generic 2
- 82.010608673 = 88.058220544 boot/vmlinuz-5.3.0-40-generic 1
- 32.252803802 = 34.631184384 boot/vmlinuz-5.3.0-42-generic 2
- 82.010608673 = 88.058220544 boot/vmlinuz.old 1
- 23.726860046 = 25.476521984 vmlinuz 2
- 34.091468811 = 36.605435904 boot/initrd.img 6
- 28.176296234 = 30.254067712 boot/initrd.img-5.0.0-29-generic 5
- 28.146141052 = 30.221688832 boot/initrd.img-5.3.0-40-generic 6
- 34.091468811 = 36.605435904 boot/initrd.img-5.3.0-42-generic 6
- 28.146141052 = 30.221688832 boot/initrd.img.old 6
- 28.176296234 = 30.254067712 initrd.img 5
- =========================== sdb1/boot/grub/grub.cfg: ===========================
- --------------------------------------------------------------------------------
- if loadfont /boot/grub/font.pf2 ; then
- set gfxmode=auto
- insmod efi_gop
- insmod efi_uga
- insmod gfxterm
- terminal_output gfxterm
- fi
- set menu_color_normal=white/black
- set menu_color_highlight=black/light-gray
- set timeout=5
- menuentry "Try Ubuntu without installing" {
- set gfxpayload=keep
- linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash ---
- initrd /casper/initrd
- }
- menuentry "Install Ubuntu" {
- set gfxpayload=keep
- linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash ---
- initrd /casper/initrd
- }
- menuentry "OEM install (for manufacturers)" {
- set gfxpayload=keep
- linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash oem-config/enable=true ---
- initrd /casper/initrd
- }
- menuentry "Check disc for defects" {
- set gfxpayload=keep
- linux /casper/vmlinuz cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper integrity-check quiet splash ---
- initrd /casper/initrd
- }
- --------------------------------------------------------------------------------
- =================== sdb1: Location of files loaded by Grub: ====================
- GiB - GB File Fragment(s)
- ?? = ?? boot/grub/grub.cfg 1
- ======================== Unknown MBRs/Boot Sectors/etc: ========================
- /dev/sda2: unknown GPT attributes
- 8000000000000000
- Unknown BootLoader on sda4
- 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
- 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 a2 0a |........?.......|
- 00000020 00 00 00 00 80 00 80 00 ff 1f 40 04 00 00 00 00 |..........@.....|
- 00000030 04 00 00 00 00 00 00 00 ff 01 44 00 00 00 00 00 |..........D.....|
- 00000040 f6 00 00 00 01 00 00 00 9f 3d ad 09 0f 6f a8 7d |.........=...o.}|
- 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
- =============================== StdErr Messages: ===============================
- File descriptor 9 (/proc/5112/mountinfo) leaked on lvs invocation. Parent PID 20532: bash
- File descriptor 63 (pipe:[72253]) leaked on lvs invocation. Parent PID 20532: bash
- ADDITIONAL INFORMATION :
- =================== log of boot-repair 20200329_1917 ===================
- boot-repair version : 4ppa78
- boot-sav version : 4ppa78
- boot-sav-extra version : 4ppa78
- glade2script version : 3.2.4~ppa6
- boot-repair is executed in live-session (Ubuntu 18.04.2 LTS, bionic, Ubuntu, x86_64)
- CPU op-mode(s): 32-bit, 64-bit
- BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash ---
- ls: cannot access '/home/usr/.config': No such file or directory
- =================== os-prober:
- /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
- /dev/sda3:Ubuntu 19.10 (19.10):Ubuntu:linux
- =================== blkid:
- /dev/sda1: UUID="03DA-F029" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="031ec725-f1fe-485d-8184-4f9f85226f02"
- /dev/sda3: UUID="6576768b-6318-42bd-8a7c-e13607834166" TYPE="ext4" PARTUUID="bcbe79d0-273b-42c9-8fce-12f51dc4e6a8"
- /dev/sda4: UUID="7DA86F0F09AD3D9F" TYPE="ntfs" PTTYPE="dos" PARTUUID="e882dfc6-f8a2-41a4-bb6f-e39197d03ffa"
- /dev/sdb1: LABEL="UUI" UUID="19F5-2064" TYPE="vfat" PARTUUID="0388fb1c-01"
- /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/sda2: UUID="6576768b-6318-42bd-8a7c-e13607834166" TYPE="ext4" PARTLABEL="Microsoft reserved partition" PARTUUID="b2070634-5259-46a8-9b7a-1e77059b5b75"
- 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
- Windows not detected by os-prober on sda4.
- 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/bkpbootx64.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fwupx64.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/grubx64.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/mmx64.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/shimx64.efi
- Presence of bkp file detected: /mnt/boot-sav/sda1/EFI/BOOT/bkpbootx64.efi
- =================== sda3/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Mar 29 18:31 grub.d
- drwxr-xr-x 2 root root 4096 Mar 29 18:30 grub.d.bak
- total 128
- -rwxr-xr-x 1 root root 10627 Mar 12 16:40 00_header
- -rwxr-xr-x 1 root root 6258 Mar 12 16:40 05_debian_theme
- -rwxr-xr-x 1 root root 17123 Mar 12 16:40 10_linux
- -rwxr-xr-x 1 root root 37613 Mar 12 16:40 10_linux_zfs
- -rwxr-xr-x 1 root root 12894 Mar 12 16:40 20_linux_xen
- -rwxr-xr-x 1 root root 964 Mar 29 18:31 25_custom
- -rwxr-xr-x 1 root root 12059 Mar 12 16:40 30_os-prober
- -rwxr-xr-x 1 root root 1418 Mar 12 16:40 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Mar 12 16:40 40_custom
- -rwxr-xr-x 1 root root 216 Mar 12 16:40 41_custom
- -rw-r--r-- 1 root root 483 Mar 12 16:40 README
- =================== sda3/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 sda3: UUID=03DA-F029 (sda1)
- /usr/share/boot-sav/bs-cmd_terminal.sh: line 195: warning: command substitution: ignored null byte in input
- =================== efibootmgr -v
- BootCurrent: 0004
- Timeout: 1 seconds
- BootOrder: 0004,0006,0005,0000,0003,0001
- Boot0000* HDD/SSD PciRoot(0x0)/Pci(0x1f,0x2)/Ata(0,0,0)
- Boot0001* LAN2 PciRoot(0x0)/Pci(0x19,0x0)/MAC(e8e0b7742366,0)/IPv4(0.0.0.00.0.0.0,0,0)
- Boot0002* LAN1 BBS(128,\A0\FF,0x0)........................A..............................................
- Boot0003* LAN1 PciRoot(0x0)/Pci(0x19,0x0)/MAC(e8e0b7742366,0)/IPv6([::]:<->[::]:,0,0)
- Boot0004* USB Memory PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)
- Boot0005* Windows Boot Manager HD(1,GPT,031ec725-f1fe-485d-8184-4f9f85226f02,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.}...a................
- Boot0006* ubuntu HD(1,GPT,031ec725-f1fe-485d-8184-4f9f85226f02,0x800,0x100000)/File(EFIubuntushimx64.efi)
- =================== 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.
- sda3 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sda3.
- sda4 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda4.
- sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
- =================== parted -lm:
- BYT;
- /dev/sda:128GB:scsi:512:512:gpt:ATA TOSHIBA THNSNS12:;
- 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
- 2:538MB:555MB:16.8MB:ext4:Microsoft reserved partition:msftres;
- 3:1577MB:91.3GB:89.8GB:ext4::;
- 4:91.3GB:128GB:36.5GB:ntfs::msftdata;
- BYT;
- /dev/sdb:8053MB:scsi:512:512:msdos:VendorCo ProductCode:;
- 1:32.8kB:8053MB:8053MB:fat32::boot, lba;
- =================== lsblk:
- KNAME TYPE FSTYPE SIZE LABEL
- loop0 loop squashfs 1.8G
- loop1 loop squashfs 91M
- loop2 loop squashfs 34.6M
- loop3 loop squashfs 140.7M
- loop4 loop squashfs 2.3M
- loop5 loop squashfs 13M
- loop6 loop squashfs 14.5M
- loop7 loop squashfs 3.7M
- sda disk 119.2G
- sda1 part vfat 512M
- sda2 part ext4 16M
- sda3 part ext4 83.6G
- sda4 part ntfs 34G
- sdb disk 7.5G
- sdb1 part vfat 7.5G UUI
- KNAME ROTA RO RM STATE MOUNTPOINT
- loop0 1 1 0 /rofs
- loop1 1 1 0 /snap/core/6350
- loop2 1 1 0 /snap/gtk-common-themes/818
- loop3 1 1 0 /snap/gnome-3-26-1604/74
- loop4 1 1 0 /snap/gnome-calculator/260
- loop5 1 1 0 /snap/gnome-characters/139
- loop6 1 1 0 /snap/gnome-logs/45
- loop7 1 1 0 /snap/gnome-system-monitor/57
- sda 0 0 0 running
- sda1 0 0 0 /mnt/boot-sav/sda1
- sda2 0 0 0
- sda3 0 0 0 /mnt/boot-sav/sda3
- sda4 0 0 0 /mnt/boot-sav/sda4
- sdb 1 0 1 running
- sdb1 1 0 1 /cdrom
- =================== 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=2966892k,nr_inodes=741723,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=597872k,mode=755)
- /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
- /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/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
- cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
- 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)
- cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
- cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
- cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
- cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
- cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
- cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
- cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
- hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
- debugfs on /sys/kernel/debug type debugfs (rw,relatime)
- systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16725)
- mqueue on /dev/mqueue type mqueue (rw,relatime)
- tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
- fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
- configfs on /sys/kernel/config type configfs (rw,relatime)
- tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
- tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=597868k,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_6350.snap on /snap/core/6350 type squashfs (ro,nodev,relatime,x-gdu.hide)
- /var/lib/snapd/snaps/gtk-common-themes_818.snap on /snap/gtk-common-themes/818 type squashfs (ro,nodev,relatime,x-gdu.hide)
- /var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
- /var/lib/snapd/snaps/gnome-calculator_260.snap on /snap/gnome-calculator/260 type squashfs (ro,nodev,relatime,x-gdu.hide)
- /var/lib/snapd/snaps/gnome-characters_139.snap on /snap/gnome-characters/139 type squashfs (ro,nodev,relatime,x-gdu.hide)
- /var/lib/snapd/snaps/gnome-logs_45.snap on /snap/gnome-logs/45 type squashfs (ro,nodev,relatime,x-gdu.hide)
- /var/lib/snapd/snaps/gnome-system-monitor_57.snap on /snap/gnome-system-monitor/57 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/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime)
- /dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,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 sda4 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 size slaves stat subsystem trace uevent
- /dev (filtered): autofs block bsg btrfs-control bus cdc-wdm0 cdc-wdm1 cdc-wdm2 char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd full fuse gpiochip0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 iio:device0 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 serial sg0 sg1 shm snapshot snd stderr stdin stdout toshiba_acpi tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 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 29 f0 da 03 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/sda4
- 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
- 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 a2 0a |........?.......|
- 00000020 00 00 00 00 80 00 80 00 ff 1f 40 04 00 00 00 00 |..........@.....|
- 00000030 04 00 00 00 00 00 00 00 ff 01 44 00 00 00 00 00 |..........D.....|
- 00000040 f6 00 00 00 01 00 00 00 9f 3d ad 09 0f 6f a8 7d |.........=...o.}|
- 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 2.9G 0 2.9G 0% /dev
- tmpfs tmpfs 584M 1.7M 583M 1% /run
- /dev/sdb1 vfat 7.5G 1.9G 5.7G 25% /cdrom
- /dev/loop0 squashfs 1.8G 1.8G 0 100% /rofs
- /cow overlay 2.9G 385M 2.5G 14% /
- tmpfs tmpfs 2.9G 0 2.9G 0% /dev/shm
- tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
- tmpfs tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
- tmpfs tmpfs 2.9G 4.0K 2.9G 1% /tmp
- tmpfs tmpfs 584M 40K 584M 1% /run/user/999
- /dev/loop1 squashfs 91M 91M 0 100% /snap/core/6350
- /dev/loop2 squashfs 35M 35M 0 100% /snap/gtk-common-themes/818
- /dev/loop3 squashfs 141M 141M 0 100% /snap/gnome-3-26-1604/74
- /dev/loop4 squashfs 2.3M 2.3M 0 100% /snap/gnome-calculator/260
- /dev/loop5 squashfs 13M 13M 0 100% /snap/gnome-characters/139
- /dev/loop6 squashfs 15M 15M 0 100% /snap/gnome-logs/45
- /dev/loop7 squashfs 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
- /dev/sda1 vfat 511M 38M 474M 8% /mnt/boot-sav/sda1
- /dev/sda3 ext4 82G 68G 11G 87% /mnt/boot-sav/sda3
- /dev/sda4 fuseblk 35G 8.9G 26G 26% /mnt/boot-sav/sda4
- =================== fdisk -l:
- Disk /dev/loop0: 1.8 GiB, 1905045504 bytes, 3720792 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: 91 MiB, 95408128 bytes, 186344 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.6 MiB, 36216832 bytes, 70736 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.7 MiB, 147496960 bytes, 288080 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, 2355200 bytes, 4600 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, 15208448 bytes, 29704 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, 3878912 bytes, 7576 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: 119.2 GiB, 128035676160 bytes, 250069680 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: gpt
- Disk identifier: 23246702-CB75-43D1-8AB5-CCDFD1262239
- Device Start End Sectors Size Type
- /dev/sda1 2048 1050623 1048576 512M EFI System
- /dev/sda2 1050624 1083391 32768 16M Microsoft reserved
- /dev/sda3 3080192 178388991 175308800 83.6G Linux filesystem
- /dev/sda4 178388992 249700351 71311360 34G Microsoft basic data
- Disk /dev/sdb: 7.5 GiB, 8053063680 bytes, 15728640 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: 0x0388fb1c
- Device Boot Start End Sectors Size Id Type
- /dev/sdb1 * 64 15728639 15728576 7.5G c W95 FAT32 (LBA)
- =================== Recommended repair
- The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda3, using the following options: set-windows-as-default sda1/boot/efi,
- Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file restore-efi-backups
- rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
- Quantity of real Windows: 1
- Mount sda1 on /mnt/boot-sav/sda3/boot/efi
- efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /BOOT/shimx64.efi /BOOT/mmx64.efi /BOOT/grubx64.efi /BOOT/fwupx64.efi /BOOT/fbx64.efi /BOOT/bootx64.efi
- *******lspci -nnk | grep -iA3 vga
- 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
- Subsystem: Toshiba America Info Systems 3rd Gen Core processor Graphics Controller [1179:0004]
- Kernel driver in use: i915
- 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
- *******
- grub-install --version
- grub-install (GRUB) 2.04-1ubuntu12.2,grub-install (GRUB) 2.
- chroot /mnt/boot-sav/sda3 efibootmgr -v
- BootCurrent: 0004
- Timeout: 1 seconds
- BootOrder: 0004,0006,0005,0000,0003,0001
- Boot0000* HDD/SSD PciRoot(0x0)/Pci(0x1f,0x2)/Ata(0,0,0)
- Boot0001* LAN2 PciRoot(0x0)/Pci(0x19,0x0)/MAC(e8e0b7742366,0)/IPv4(0.0.0.00.0.0.0,0,0)
- Boot0002* LAN1 BBS(128,\A0\FF,0x0)........................A..............................................
- Boot0003* LAN1 PciRoot(0x0)/Pci(0x19,0x0)/MAC(e8e0b7742366,0)/IPv6([::]:<->[::]:,0,0)
- Boot0004* USB Memory PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)
- Boot0005* Windows Boot Manager HD(1,GPT,031ec725-f1fe-485d-8184-4f9f85226f02,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.}...a................
- Boot0006* ubuntu HD(1,GPT,031ec725-f1fe-485d-8184-4f9f85226f02,0x800,0x100000)/File(EFIubuntushimx64.efi)
- chroot /mnt/boot-sav/sda3 uname -r
- Kernel: 4.18.0-15-generic
- Reinstall the grub-efi-amd64-signed of sda3
- Installing for x86_64-efi platform.
- Installation finished. No error reported.
- grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
- mv 25_custom
- efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /BOOT/shimx64.efi /BOOT/mmx64.efi /BOOT/grubx64.efi /BOOT/fwupx64.efi /BOOT/fbx64.efi /BOOT/bootx64.efi
- df /dev/sda1
- mv /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bkpbootx64.efi
- cp /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi
- efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /BOOT/shimx64.efi /BOOT/mmx64.efi /BOOT/grubx64.efi /BOOT/fwupx64.efi /BOOT/fbx64.efi /BOOT/bootx64.efi /BOOT/bkpbootx64.efi
- Add /mnt/boot-sav/sda3/boot/efi efi entries in /mnt/boot-sav/sda3/etc/grub.d/25_custom
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/BOOT/bkpbootx64.efi
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/BOOT/fbx64.efi
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/BOOT/fwupx64.efi
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/BOOT/mmx64.efi
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/fwupx64.efi
- Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/mmx64.efi
- sda1/bootmgfw.efi already added
- Installing for x86_64-efi platform.
- Installation finished. No error reported.
- grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
- chroot /mnt/boot-sav/sda3 efibootmgr -v
- BootCurrent: 0004
- Timeout: 1 seconds
- BootOrder: 0006,0004,0005,0000,0003,0001
- Boot0000* HDD/SSD PciRoot(0x0)/Pci(0x1f,0x2)/Ata(0,0,0)
- Boot0001* LAN2 PciRoot(0x0)/Pci(0x19,0x0)/MAC(e8e0b7742366,0)/IPv4(0.0.0.00.0.0.0,0,0)
- Boot0002* LAN1 BBS(128,\A0\FF,0x0)........................A..............................................
- Boot0003* LAN1 PciRoot(0x0)/Pci(0x19,0x0)/MAC(e8e0b7742366,0)/IPv6([::]:<->[::]:,0,0)
- Boot0004* USB Memory PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)
- Boot0005* Windows Boot Manager HD(1,GPT,031ec725-f1fe-485d-8184-4f9f85226f02,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.}...a................
- Boot0006* ubuntu HD(1,GPT,031ec725-f1fe-485d-8184-4f9f85226f02,0x800,0x100000)/File(EFIubuntushimx64.efi)
- chroot /mnt/boot-sav/sda3 update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Found linux image: /boot/vmlinuz-5.3.0-42-generic
- Found initrd image: /boot/initrd.img-5.3.0-42-generic
- Found linux image: /boot/vmlinuz-5.3.0-40-generic
- Found initrd image: /boot/initrd.img-5.3.0-40-generic
- Found linux image: /boot/vmlinuz-5.0.0-29-generic
- Found initrd image: /boot/initrd.img-5.0.0-29-generic
- Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
- Adding boot menu entry for EFI firmware configuration
- Set Windows UEFI bootmgfw.efi as default entry
- chroot /mnt/boot-sav/sda3 update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Found linux image: /boot/vmlinuz-5.3.0-42-generic
- Found initrd image: /boot/initrd.img-5.3.0-42-generic
- Found linux image: /boot/vmlinuz-5.3.0-40-generic
- Found initrd image: /boot/initrd.img-5.3.0-40-generic
- Found linux image: /boot/vmlinuz-5.0.0-29-generic
- Found initrd image: /boot/initrd.img-5.0.0-29-generic
- Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
- Adding boot menu entry for EFI firmware configuration
- Unhide GRUB boot menu in sda3/boot/grub/grub.cfg
- Boot successfully repaired.
- You can now reboot your computer.
- Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.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\ubuntu\shimx64.efi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement