windows ubuntu uefi dual system grub
Posted diqiudew
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows ubuntu uefi dual system grub相关的知识,希望对你有一定的参考价值。
Boot successfully repaired.
A new file (/var/log/boot-repair/20190324_042359/Boot-Info_20190324_0423.txt) will open in your text viewer.
In case you still experience boot problem, indicate its content to:
boot.repair@gmail.com or to your favorite support forum.
You can now reboot your computer.
Please do not forget to make your Bios boot on sda2/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
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 boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi
/EFI/Boot/grubx64.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi /bootmgr /boot/bcd
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 7/2008: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /Boot/bootx64.efi
/ubuntu/shimx64.efi /EFI/Boot/bkpbootx64.efi
/EFI/Boot/bootx64.efi /EFI/Boot/fbx64.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 /bootmgr
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sda3: unknown filesystem type \'\'.
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sdb1: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sda3: unknown filesystem type \'\'.
mount: /mnt/BootInfo/sdb1: unknown filesystem type \'\'.
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb3: __________________________________________________________________________
File system: xfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg
sdb4: __________________________________________________________________________
File system: xfs
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.1 LTS
Boot files: /etc/fstab
sdb5: __________________________________________________________________________
File system: xfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.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 / 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 4,294,967,295 4,294,967,295 ee GPT
/dev/sda1 ends after the last sector of /dev/sda
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 739,327 737,280 Data partition (Windows/Linux)
/dev/sda2 + 739,328 1,353,727 614,400 EFI System partition
/dev/sda3 1,353,728 1,615,871 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 1,615,872 172,419,071 170,803,200 Data partition (Windows/Linux)
/dev/sda5 172,419,072 250,068,991 77,649,920 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 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/sdb1 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/sdb1 2,048 264,191 262,144 Microsoft Reserved Partition (Windows)
/dev/sdb2 264,192 1,281,300,479 1,281,036,288 Data partition (Windows/Linux)
/dev/sdb3 1,951,377,408 1,953,523,711 2,146,304 Data partition (Linux)
/dev/sdb4 1,476,612,096 1,919,973,375 443,361,280 Data partition (Linux)
/dev/sdb5 1,281,300,480 1,476,612,095 195,311,616 Data partition (Linux)
/dev/sdb6 1,919,973,376 1,951,377,407 31,404,032 Swap partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 7.2 GiB, 7747397632 bytes, 15131636 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 1 4,294,967,295 4,294,967,295 ee GPT
/dev/sdc1 ends after the last sector of /dev/sdc
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdc1 2,048 15,131,602 15,129,555 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 4E19-8362 vfat SYSTEM
/dev/sda2 C14D-581B vfat
/dev/sda3
/dev/sda4 82F0FBDEF0FBD67F ntfs
/dev/sda5 C14D581BDA18EBFA ntfs
/dev/sdb1
/dev/sdb2 94645453645439E6 ntfs DATADRIVE1
/dev/sdb3 91ea775b-0a1b-4e75-b446-61bb297a1711 xfs
/dev/sdb4 b6f2dfba-88df-4343-8ec9-1557b4dd27ec xfs
/dev/sdb5 fd51f660-b136-4436-880d-b299113598f3 xfs
/dev/sdb6 d730fed7-69d2-4139-ab85-77c79797bb07 swap
/dev/sdc1 06A8-17FF vfat UBUNTU 18_0
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Mar 24 04:24 ata-LITEON_CV3-CE128-HP_002717100UAX -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-LITEON_CV3-CE128-HP_002717100UAX-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-LITEON_CV3-CE128-HP_002717100UAX-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-LITEON_CV3-CE128-HP_002717100UAX-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 24 04:25 ata-LITEON_CV3-CE128-HP_002717100UAX-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 24 04:25 ata-LITEON_CV3-CE128-HP_002717100UAX-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Mar 24 04:24 ata-ST1000DM003-1SB102_Z9AGZ234 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-ST1000DM003-1SB102_Z9AGZ234-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 24 04:25 ata-ST1000DM003-1SB102_Z9AGZ234-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-ST1000DM003-1SB102_Z9AGZ234-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-ST1000DM003-1SB102_Z9AGZ234-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-ST1000DM003-1SB102_Z9AGZ234-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Mar 24 04:24 ata-ST1000DM003-1SB102_Z9AGZ234-part6 -> ../../sdb6
lrwxrwxrwx 1 root root 9 Mar 24 2019 ata-hp_PLDS_DVDRW_DU8AESH_465728942413 -> ../../sr0
lrwxrwxrwx 1 root root 9 Mar 24 04:24 usb-Kingston_DataTraveler_2.0_60A44C413F39FF81FB4932A4-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Mar 24 04:24 usb-Kingston_DataTraveler_2.0_60A44C413F39FF81FB4932A4-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 Mar 24 04:24 wwn-0x5000c500a41fc175 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5000c500a41fc175-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 24 04:25 wwn-0x5000c500a41fc175-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5000c500a41fc175-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5000c500a41fc175-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5000c500a41fc175-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5000c500a41fc175-part6 -> ../../sdb6
lrwxrwxrwx 1 root root 9 Mar 24 04:24 wwn-0x5002303100e10e98 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5002303100e10e98-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5002303100e10e98-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 24 04:24 wwn-0x5002303100e10e98-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 24 04:25 wwn-0x5002303100e10e98-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 24 04:25 wwn-0x5002303100e10e98-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdc1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
========================== sda2/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 91ea775b-0a1b-4e75-b446-61bb297a1711 root hd1,gpt3
set prefix=($root)\'/grub\'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
============================= sdb3/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 xfs
set root=\'hd1,gpt4\'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt4 --hint-efi=hd1,gpt4 --hint-baremetal=ahci1,gpt4 b6f2dfba-88df-4343-8ec9-1557b4dd27ec
else
search --no-floppy --fs-uuid --set=root b6f2dfba-88df-4343-8ec9-1557b4dd27ec
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=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-b6f2dfba-88df-4343-8ec9-1557b4dd27ec\' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod xfs
set root=\'hd1,gpt3\'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3 91ea775b-0a1b-4e75-b446-61bb297a1711
else
search --no-floppy --fs-uuid --set=root 91ea775b-0a1b-4e75-b446-61bb297a1711
fi
linux /vmlinuz-4.15.0-29-generic root=UUID=b6f2dfba-88df-4343-8ec9-1557b4dd27ec ro quiet splash $vt_handoff
initrd /initrd.img-4.15.0-29-generic
}
submenu \'Advanced options for Ubuntu\' $menuentry_id_option \'gnulinux-advanced-b6f2dfba-88df-4343-8ec9-1557b4dd27ec\' {
menuentry \'Ubuntu, with Linux 4.15.0-29-generic\' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option \'gnulinux-4.15.0-29-generic-advanced-b6f2dfba-88df-4343-8ec9-1557b4dd27ec\' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod xfs
set root=\'hd1,gpt3\'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3 91ea775b-0a1b-4e75-b446-61bb297a1711
else
search --no-floppy --fs-uuid --set=root 91ea775b-0a1b-4e75-b446-61bb297a1711
fi
echo \'Loading Linux 4.15.0-29-generic ...\'
linux /vmlinuz-4.15.0-29-generic root=UUID=b6f2dfba-88df-4343-8ec9-1557b4dd27ec ro quiet splash $vt_handoff
echo \'Loading initial ramdisk ...\'
initrd /initrd.img-4.15.0-29-generic
}
menuentry \'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)\' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option \'gnulinux-4.15.0-29-generic-recovery-b6f2dfba-88df-4343-8ec9-1557b4dd27ec\' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod xfs
set root=\'hd1,gpt3\'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3 91ea775b-0a1b-4e75-b446-61bb297a1711
else
search --no-floppy --fs-uuid --set=root 91ea775b-0a1b-4e75-b446-61bb297a1711
fi
echo \'Loading Linux 4.15.0-29-generic ...\'
linux /vmlinuz-4.15.0-29-generic root=UUID=b6f2dfba-88df-4343-8ec9-1557b4dd27ec ro recovery nomodeset
echo \'Loading initial ramdisk ...\'
initrd /initrd.img-4.15.0-29-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/25_custom ###
menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 4E19-8362
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 4E19-8362
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
menuentry "Windows UEFI bootmgfw.efi sda2" {
search --fs-uuid --no-floppy --set=root C14D-581B
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "Windows Boot UEFI loader sda2" {
search --fs-uuid --no-floppy --set=root C14D-581B
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
menuentry "Windows Boot UEFI fbx64.efi" {
search --fs-uuid --no-floppy --set=root C14D-581B
chainloader (${root})/EFI/Boot/fbx64.efi
}
menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root C14D-581B
chainloader (${root})/EFI/ubuntu/mmx64.efi
}
menuentry "Windows UEFI bootmgfw.efi sda5" {
search --fs-uuid --no-floppy --set=root C14D581BDA18EBFA
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "Windows Boot UEFI loader sda5" {
search --fs-uuid --no-floppy --set=root C14D581BDA18EBFA
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
menuentry "efi/EFI/Boot/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root 91ea775b-0a1b-4e75-b446-61bb297a1711
chainloader (${root})/efi/EFI/Boot/bkpbootx64.efi
}
menuentry "efi/EFI/Boot/fbx64.efi" {
search --fs-uuid --no-floppy --set=root 91ea775b-0a1b-4e75-b446-61bb297a1711
chainloader (${root})/efi/EFI/Boot/fbx64.efi
}
menuentry "efi/EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root 91ea775b-0a1b-4e75-b446-61bb297a1711
chainloader (${root})/efi/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry \'Windows Boot Manager (on /dev/sda2)\' --class windows --class os $menuentry_id_option \'osprober-efi-C14D-581B\' {
insmod part_gpt
insmod fat
set root=\'hd0,gpt2\'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 C14D-581B
else
search --no-floppy --fs-uuid --set=root C14D-581B
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 ###
--------------------------------------------------------------------------------
=================== sdb3: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
930.745212555 = 999.380062208 grub/grub.cfg 2
930.505336761 = 999.122497536 vmlinuz-4.15.0-29-generic 1
930.555164337 = 999.175999488 initrd.img-4.15.0-29-generic 1
=============================== sdb4/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/sdb4 during installation
UUID=b6f2dfba-88df-4343-8ec9-1557b4dd27ec / xfs defaults 0 0
# /boot was on /dev/sdb3 during installation
#UUID=91ea775b-0a1b-4e75-b446-61bb297a1711 /boot xfs defaults 0 0
# /boot/efi was on /dev/sda2 during installation
#UUID=C14D-581B /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb5 during installation
UUID=fd51f660-b136-4436-880d-b299113598f3 /home xfs defaults 0 0
# swap was on /dev/sdb6 during installation
UUID=d730fed7-69d2-4139-ab85-77c79797bb07 none swap sw 0 0
UUID=91ea775b-0a1b-4e75-b446-61bb297a1711 /boot xfs defaults 0 2
UUID=C14D-581B /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
以上是关于windows ubuntu uefi dual system grub的主要内容,如果未能解决你的问题,请参考以下文章
Install Windows10 + Ubuntu16.04 based on UEFI+GPT