LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2017, 07:34 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
Can't boot to new Linux install from UEFI-BIOS


Hi
Have a 2 SSD drive setup. One is dedicated to Windows. The other to Ubuntu.
The only change I have made in my UEFI-BIOS is to disable fast boot.

I switch between drives via UEFI-BIOs on boot.

I was able to successfully boot into a fresh Ubunto install several times without issue.
Now for some reason my UEFI doesn't seem to recognize my Ubuntu SSD as bootable.

If you look at the Boot Priority in the attached pic the top most SSD, Samsung EVO 850 1TB has my Ubuntu install.
Shouldn't the actual drive name be preceded by [UEFI] in this menu?

Could this have something to do with either Secure Boot (enabled) or CSM(Compatibility Support Module or Legacy BIOS) enabled? If so curious why I had no issues for several reboots.

Of course, any suggestions or feedback welcome. 3rd install in the past couple months, I want to get it right this time!
Attached Thumbnails
Click image for larger version

Name:	Boot_priority.jpg
Views:	94
Size:	228.6 KB
ID:	23906  
 
Old 01-07-2017, 10:06 PM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20.1 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,325
Blog Entries: 17

Rep: Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262
eco_bach,

This tutorial may be of help to you:

http://linuxbsdos.com/2015/10/31/how...o-hard-drives/

Also note the additional comments at the bottom of the tutorial.

The tutorial also refers to this partitioning guide:
http://linuxbsdos.com/2015/10/30/gpt...-ubuntu-15-10/

Last edited by beachboy2; 01-07-2017 at 10:21 PM.
 
Old 01-08-2017, 09:47 AM   #3
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
thanks. some useful info and a great resource! The one paragraph that raised my eyebrows was
Quote:
To ensure that GRUB is not installed on the EFI Boot Partition of the Windows 10 hard drive, you’ll have to disconnect the Windows 10 hard drive from the system. That means disconnecting the power and SATA cables from the hard drive.
To eliminate the possibility that this is my issue,
How do I check if GRUB was accidentally installed on my Windows Boot partition?
And if it was, how do I remove it?


Also, one other possible error I made from the partitioning guide, although I used gParted for my partitioning,

Quote:
Verify that the correct Device for boot loader installation is selected, then continue with the rest of the installation. The device for boot loader installation is the ESP partition.
in the guide I followed it suggested it was enough that you select the drive, not the actual partition. ie /sda NOT /sda1

So maybe my partitioning isn't 100%?


Also, this is the result of running boot info script. sda is of course my Linux drive and sda1 is my ESP. Shouldn't I see boot files listed there? And to be quite honest, have NO idea what sdb is...

Boot Info Script 0.61 [1 April 2012]


============================= 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:

sda2: __________________________________________________________________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''

sda3: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab

sda4: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sda5: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________________________________

File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: /dev/sdb1 is already mounted or /tmp/BootInfo-28d6qhVm/sdb1 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 3193448. According to the info
in the boot sector, sdb2 has 0 sectors.
Mounting failed: mount: unknown filesystem type ''
mount: /dev/sdb1 is already mounted or /tmp/BootInfo-28d6qhVm/sdb1 busy
mount: /dev/sdb2 is already mounted or /tmp/BootInfo-28d6qhVm/sdb2 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 / 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 1,953,525,167 1,953,525,167 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,128,447 1,126,400 EFI System partition
/dev/sda2 1,128,448 1,132,543 4,096 Data partition (Linux)
/dev/sda3 1,132,544 85,018,623 83,886,080 Data partition (Linux)
/dev/sda4 85,018,624 1,427,195,903 1,342,177,280 Data partition (Linux)
/dev/sda5 1,427,195,904 1,695,631,359 268,435,456 Swap partition (Linux)

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 14.6 GiB, 15614803968 bytes, 30497664 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,247,999 3,248,000 0 Empty
/dev/sdb2 3,193,448 3,198,183 4,736 ef EFI (FAT-12/16/32)

/dev/sdb1 overlaps with /dev/sdb2

GUID Partition Table detected, but does not seem to be used.

Partition Start Sector End Sector # of Sectors System
/dev/sdb1 0 3,247,943 3,247,944 Data partition (Windows/Linux)
/dev/sdb2 3,193,448 3,198,183 4,736 Data partition (Windows/Linux)

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/nvme0n1
/dev/nvme0n1p1 F0C88AA6C88A6AA4 ntfs Recovery
/dev/nvme0n1p2 AC8A-F8FB vfat
/dev/nvme0n1p3
/dev/nvme0n1p4 6C98EA5498EA1BF8 ntfs
/dev/nvme0n1p5 4432E41432E40D2C ntfs
/dev/sda1 AE79-1124 vfat
/dev/sda2
/dev/sda3 30e7d85c-164c-43b9-9240-074739104dfc ext4 /
/dev/sda4 b2f5e601-975d-4484-8e28-29e968eb8965 ext4 /home
/dev/sda5 559ac8c0-348a-470a-b627-689048d909d3 swap
/dev/sdb1 2016-07-19-22-05-31-00 iso9660 Ubuntu-MATE 16.04.1 LTS amd64
/dev/sdb2 0F7B-9366 vfat

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb /cdrom iso9660 (ro,noatime)


=========================== 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 [ "${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,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 30e7d85c-164c-43b9-9240-074739104dfc
else
search --no-floppy --fs-uuid --set=root 30e7d85c-164c-43b9-9240-074739104dfc
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=en_CA
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 60,59,55; then
clear
fi

color_normal=light-gray/black

if [ -e ${prefix}/themes/ubuntu-mate/theme.txt ]; then
insmod png
theme=${prefix}/themes/ubuntu-mate/theme.txt
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-30e7d85c-164c-43b9-9240-074739104dfc' {
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 30e7d85c-164c-43b9-9240-074739104dfc
else
search --no-floppy --fs-uuid --set=root 30e7d85c-164c-43b9-9240-074739104dfc
fi
linux /boot/vmlinuz-4.4.0-57-generic.efi.signed root=UUID=30e7d85c-164c-43b9-9240-074739104dfc ro elevator=noop quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-57-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-30e7d85c-164c-43b9-9240-074739104dfc' {
menuentry 'Ubuntu, with Linux 4.4.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-advanced-30e7d85c-164c-43b9-9240-074739104dfc' {
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 30e7d85c-164c-43b9-9240-074739104dfc
else
search --no-floppy --fs-uuid --set=root 30e7d85c-164c-43b9-9240-074739104dfc
fi
echo 'Loading Linux 4.4.0-57-generic ...'
linux /boot/vmlinuz-4.4.0-57-generic.efi.signed root=UUID=30e7d85c-164c-43b9-9240-074739104dfc ro elevator=noop quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-recovery-30e7d85c-164c-43b9-9240-074739104dfc' {
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 30e7d85c-164c-43b9-9240-074739104dfc
else
search --no-floppy --fs-uuid --set=root 30e7d85c-164c-43b9-9240-074739104dfc
fi
echo 'Loading Linux 4.4.0-57-generic ...'
linux /boot/vmlinuz-4.4.0-57-generic.efi.signed root=UUID=30e7d85c-164c-43b9-9240-074739104dfc ro recovery nomodeset elevator=noop
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-30e7d85c-164c-43b9-9240-074739104dfc' {
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 30e7d85c-164c-43b9-9240-074739104dfc
else
search --no-floppy --fs-uuid --set=root 30e7d85c-164c-43b9-9240-074739104dfc
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=30e7d85c-164c-43b9-9240-074739104dfc ro elevator=noop quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-30e7d85c-164c-43b9-9240-074739104dfc' {
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 30e7d85c-164c-43b9-9240-074739104dfc
else
search --no-floppy --fs-uuid --set=root 30e7d85c-164c-43b9-9240-074739104dfc
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=30e7d85c-164c-43b9-9240-074739104dfc ro recovery nomodeset elevator=noop
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-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 'Windows Boot Manager (on /dev/nvme0n1p2)' --class windows --class os $menuentry_id_option 'osprober-efi-AC8A-F8FB' {
insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root AC8A-F8FB
else
search --no-floppy --fs-uuid --set=root AC8A-F8FB
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/sda3 during installation
UUID=30e7d85c-164c-43b9-9240-074739104dfc / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=AC8A-F8FB /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda4 during installation
UUID=b2f5e601-975d-4484-8e28-29e968eb8965 /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=559ac8c0-348a-470a-b627-689048d909d3 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda3: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


======================== 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 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 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 04 84 30 00 00 00 00 00 bb 1a 65 15 00 00 80 00 |..0.......e.....|
000001c0 01 00 00 63 e0 f6 00 00 00 00 80 8f 31 00 00 fe |...c........1...|
000001d0 ff ff ef fe ff ff 68 ba 30 00 80 12 00 00 00 00 |......h.0.......|
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

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 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 04 84 30 00 00 00 00 00 bb 1a 65 15 00 00 80 00 |..0.......e.....|
000001c0 01 00 00 63 e0 f6 00 00 00 00 80 8f 31 00 00 fe |...c........1...|
000001d0 ff ff ef fe ff ff 68 ba 30 00 80 12 00 00 00 00 |......h.0.......|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-28d6qhVm/Tmp_Log: No such file or directory

Last edited by eco_bach; 01-08-2017 at 11:52 AM.
 
Old 01-08-2017, 01:57 PM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20.1 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,325
Blog Entries: 17

Rep: Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262
eco_bach,

As you have discovered dual-booting can be a real PITA.

Unless somebody else can come up with a better idea, I think you need to BACKUP every piece of data from both drives and create a bootable W10 recovery USB drive, just in case things go pear-shaped.

Hopefully your W10 SSD will boot on its own with the Linux SSD disconnected, but there are no guarantees.

If the W10 SSD does boot, then there is some hope.

NB You really need to pause for a while before diving in and making the situation even worse than it is now!

Thoroughly digest the information in the tutorial and preferably have another computer handy so that you can refer to the tutorial whilst you work on the two SSDs etc.

Follow the tutorial and the separate recommended partitioning guide.

Also refer to the comments/feedback below the article.

Good luck.
 
Old 01-09-2017, 06:02 AM   #5
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
Thanks again. Yes the comments in that link are priceless, especially the one post by user SH.
Followed his instructions EXACTLY except for one caveat. On my setup (Asus X99 AII mobo and Samsung 850 M.2 SSD,) I cannot disable CSM without at least bricking my UEFI-BIOS or worse, preventing boot into Windows, get only black screen. Had to reflash my UEFI 2 or 3 times to restore, testing by trial and error to see what was bricking it. I DID get a warning when disabling CSM which I should have paid attention to, saying I required a vendor signed UEFI driver So only Fast Boot & Secure Boot disabled before install. Also, not sure about pros-cons of various live USB creation methods, but will stick with Rufus going forward.

Last edited by eco_bach; 01-09-2017 at 06:05 AM.
 
Old 01-09-2017, 07:49 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,392

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Quote:
in the guide I followed it suggested it was enough that you select the drive, not the actual partition. ie /sda NOT /sda1
That would be correct if you were doing an MBR install as it would install Grub boot code to the master boot record. You are not using MBR but rather UEFI so the sda1 (EFI partition) is correct. Your bootinfoscript output does not show any code in the MBR of the Ubuntu (1TB) drive which is also correct. No EFI files are shown in the output for sda1 but that doesn't necessarily mean they are not there. You can try mounting that vfat partition from the Ubuntu flash drive to verify.

sdb is the Ubuntu(?) flash drive you are using (14.6GB drive with an iso9660 filesystem).

Since both systems are UEFI, you should not have CSM/Legacy boot enabled. You'll have to check your Asus manual for that.
The grub.cfg file for Ubuntu on sda3 shows correct entries pointing to the respective EFI partitions on the different drives so that isn't the problem.

What happens when you have the 1TB drive with Ubuntu set to first boot priority? Either boot, neither?
If you can't resolve this, I would suggest you use the boot repair software from the site below on the Ubuntu flash drive and select the option to Create BootInfo Summary and post a link to it here. It should provide more info than the bootinfoscript.

https://help.ubuntu.com/community/Boot-Repair
 
Old 01-09-2017, 09:57 AM   #7
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
This is the warning I get when try to disable CSM
Attached Thumbnails
Click image for larger version

Name:	IMG_20170106_214019.jpg
Views:	46
Size:	230.6 KB
ID:	23926  

Last edited by eco_bach; 01-09-2017 at 10:19 AM.
 
Old 01-10-2017, 02:02 AM   #8
Brains
Senior Member
 
Registered: Apr 2009
Distribution: Debian Testing, Gentoo
Posts: 1,293

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Device UUID TYPE LABEL

Code:
/dev/loop0 squashfs
/dev/nvme0n1
/dev/nvme0n1p1 F0C88AA6C88A6AA4 ntfs Recovery
/dev/nvme0n1p2 AC8A-F8FB vfat
/dev/nvme0n1p3
/dev/nvme0n1p4 6C98EA5498EA1BF8 ntfs
/dev/nvme0n1p5 4432E41432E40D2C ntfs
/dev/sda1 AE79-1124 vfat
/dev/sda2
/dev/sda3 30e7d85c-164c-43b9-9240-074739104dfc ext4 /
/dev/sda4 b2f5e601-975d-4484-8e28-29e968eb8965 ext4 /home
/dev/sda5 559ac8c0-348a-470a-b627-689048d909d3 swap
/dev/sdb1 2016-07-19-22-05-31-00 iso9660 Ubuntu-MATE 16.04.1 LTS amd64
/dev/sdb2 0F7B-9366 vfat
According to the output quoted above, there is only one SSD and one mechanical drive. Ubuntu installed on the mechanical drive. If I have read properly, CSM was enabled, this may have resulted in a BIOS mode installation, which cannot be booted in UEFI mode.
 
Old 01-10-2017, 06:19 PM   #9
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
Thanks but actually they are both SSD's, and yes, CSM was enabled(I can't boot without )

and as I mentioned my issue is resolved by following the link beachboy2 provided above

http://linuxbsdos.com/2015/10/31/how...o-hard-drives/

user SH in the comments. Followed EXACTLY except for actuall partitioning and not disabling CSM
I believe that with my UEFI-BIOS, enabling CSM or Legacy boot only means that the firmware will always first attempt a UEFI boot and only fall back to BIOS if no UEFI partitions are found.
 
Old 01-10-2017, 10:46 PM   #10
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20.1 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,325
Blog Entries: 17

Rep: Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262
Thumbs up

eco_bach,

Glad to hear that you resolved your problem.

Please click on the Tools tab at the top of your original post and select Mark as Solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo breaking Win10 boot (BIOS not UEFI) dalgrim Slackware 10 05-08-2016 09:57 PM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
[SOLVED] Boot from GPT HDD without UEFI BIOS? catkin Linux - General 4 09-24-2014 01:57 AM
UEFI vs. BIOS install - Which one should I choose? tauro_kpo Linux - Hardware 4 08-16-2012 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration