How do I install the bootloader Ubunto 22.04

Asked by tadiv

I'm running 22.04 on an older machine and I am hoping to move everything over to a newer machine with larger drives (that also has Windows 10 already running on it). Here is what I have on my existing machine:

/dev/sdb2 225G /dev/sdb2 225119G 96G 56% /
/dev/sda5 110G 89G 16G 86% /home

The swap area is on sdb and the the boot record is on sda.

I cloned sda and sdb using the dd command to new larger drives and have installed the cloned drives into the new machine however that new machine's BIOS does not see the boot record on the clone of sda. I have a bootable USB of 22.04 - what do I need to do so that the new machine sees the other bootable drive or to make the drice (sda) bootable?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
tadiv
Solved:
Last query:
Last reply:
Revision history for this message
tadiv (tadiv-comcast) said :
#1

Reading through https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/ I suspect that my old machine is a MBR machine and the new machine is an EFI machine - I'm working through it but am not there yet...

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

The command that you need may be grub-install

Revision history for this message
tadiv (tadiv-comcast) said :
#3

What drive is my target?

Revision history for this message
tadiv (tadiv-comcast) said :
#4

running grub-install I get:

Installing for x86-efi platform.
grub-install: error: cannot find EFI directory.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

I have never done this myself, but based on the man pages I assume that the following has to be done:

1. Do you have an EFI partition on the new disk? If not, then you have to create one.

2. I assume that you must temporarily mount the EFI partition of the new disk and the root partition (or separate boot partition) of the new disk on your system and then issue the "grub-install" command, providing the mount address of the root (or boot) and EFI partitions of the new disk in the --boot-directory=DIR and --efi-directory=DIR options.

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#6

I have tried that but get an error - I'm currently trying the steps listed in https://nikvdp.com/post/cloning-a-linux-install/ and it seemed to work (executed without any errors - focusing on the boot install as opposed to the recovery of data) but the bios did not see the new drive when I rebooted.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

For collecting diagnostic information you might want to run the boot-info script and then check what the output tells about your disks and partitions.

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#8

ubuntu@ubuntu:~/Desktop$ boot-info
boot-info: command not found
ubuntu@ubuntu:~/Desktop$ sudo boot-info
sudo: boot-info: command not found

SO I guess I don't know what the "boot-info" script is... I'm booting the machine into Ubuntu with a live USB drive...

Revision history for this message
tadiv (tadiv-comcast) said :
#9

Boot-info-script (the version I was able to download) provided:

                  Boot Info Script 0.61 [1 April 2012]

============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 112 for .
 => No boot loader is installed in the MBR of /dev/sdb.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 94 for .
 => Windows is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb2: __________________________________________________________________________

    File system: vfat
    Boot sector type: Unknown
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /efi/Boot/bootx64.efi

sdb3: __________________________________________________________________________

    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /tmp/BootInfo-jPek1Fn5/sdb3: unknown filesystem type ''.

sdb4: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Mounting failed: mount: /tmp/BootInfo-jPek1Fn5/sdb3: unknown filesystem type ''.
ntfs-3g-mount: mount failed: Device or resource busy
ntfs-3g-mount: mount failed: Device or resource busy

sdc1: __________________________________________________________________________

    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdc2: __________________________________________________________________________

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

sdc3: __________________________________________________________________________

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

sdd1: __________________________________________________________________________

    File system: iso9660
    Boot sector type: Grub2 (v1.99)
    Boot sector info: Grub2 (v1.99) is installed in the boot sector of sdd1
                       and looks at sector 0 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location.
    Operating System:
    Boot files: /boot/grub/grub.cfg

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA HDWD110
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 499,711 497,664 ef EFI (FAT-12/16/32)
/dev/sda2 501,758 1,953,523,711 1,953,021,954 5 Extended
/dev/sda5 501,760 1,953,521,663 1,953,019,904 83 Linux

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EFRX-68E
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT

GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 1,085,439 1,083,392 Windows Recovery Environment (Windows)
/dev/sdb2 1,085,440 1,290,239 204,800 EFI System partition
/dev/sdb3 1,290,240 1,323,007 32,768 Microsoft Reserved Partition (Windows)
/dev/sdb4 1,323,008 2,931,535,871 2,930,212,864 Data partition (Windows/Linux)

Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EURX-63U
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdc1 * 2,048 1,026,047 1,024,000 ef EFI (FAT-12/16/32)
/dev/sdc2 9,764,864 1,953,523,711 1,943,758,848 83 Linux
/dev/sdc3 1,026,048 9,764,863 8,738,816 82 Linux swap / Solaris

Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 115.46 GiB, 123979431936 bytes, 242147328 sectors
Disk model: USB 3.2.1 FD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdd1 8,064 242,147,327 242,139,264 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/loop8 squashfs
/dev/sda1 2dd298dd-2579-41c7-b75f-055afa582f64 ext4
/dev/sda5 cd3730f2-1be3-462a-b1cf-794bcbbea305 ext4
/dev/sdb1 CAECF468ECF44FE5 ntfs Recovery
/dev/sdb2 90F5-BB29 vfat
/dev/sdb3
/dev/sdb4 840003C50003BCE4 ntfs
/dev/sdc1 392A-FE20 vfat
/dev/sdc2 c9b5fd30-0b30-4667-a766-b14e0091d2d4 ext4
/dev/sdc3 3a836bda-352b-46d4-aa08-c4392faf0b62 swap
/dev/sdd1 2022-08-10-16-21-45-00 iso9660 Ubuntu 22.04.1 LTS amd64

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

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime,errors=continue)
/dev/sdc2 /media/ubuntu/c9b5fd30-0b30-4667-a766-b14e0091d2d4 ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
/dev/sdd1 /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)

=========================== sdc2/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="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 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_msdos
insmod ext2
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
else
  search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
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_US
  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
### 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 [ ${grub_platform} != pc ]; then
      set linux_gfx_mode=keep
    elif 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-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
 insmod part_msdos
 insmod ext2
 set root='hd2,msdos2'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
 else
   search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
 fi
 linux /boot/vmlinuz-5.15.0-70-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
 initrd /boot/initrd.img-5.15.0-70-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
 menuentry 'Ubuntu, with Linux 5.15.0-70-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-70-generic-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-70-generic ...'
  linux /boot/vmlinuz-5.15.0-70-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-70-generic
 }
 menuentry 'Ubuntu, with Linux 5.15.0-70-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-70-generic-recovery-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-70-generic ...'
  linux /boot/vmlinuz-5.15.0-70-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro recovery nomodeset dis_ucode_ldr
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-70-generic
 }
 menuentry 'Ubuntu, with Linux 5.15.0-69-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-69-generic-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-69-generic ...'
  linux /boot/vmlinuz-5.15.0-69-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-69-generic
 }
 menuentry 'Ubuntu, with Linux 5.15.0-69-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-69-generic-recovery-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-69-generic ...'
  linux /boot/vmlinuz-5.15.0-69-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro recovery nomodeset dis_ucode_ldr
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-69-generic
 }
 menuentry 'Ubuntu, with Linux 5.4.0-120-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-120-generic-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.4.0-120-generic ...'
  linux /boot/vmlinuz-5.4.0-120-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.4.0-120-generic
 }
 menuentry 'Ubuntu, with Linux 5.4.0-120-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-120-generic-recovery-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.4.0-120-generic ...'
  linux /boot/vmlinuz-5.4.0-120-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro recovery nomodeset dis_ucode_ldr
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.4.0-120-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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-efi-90F5-BB29' {
 insmod part_gpt
 insmod fat
 set root='hd1,gpt2'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 90F5-BB29
 else
   search --no-floppy --fs-uuid --set=root 90F5-BB29
 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 ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### 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 ###
--------------------------------------------------------------------------------

=============================== sdc2/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/sdb2 during installation
UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=cd3730f2-1be3-462a-b1cf-794bcbbea305 /home ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-729e-4af5-906e-7fbd5dcdcae4 none swap sw 0 0
/dev/disk/by-id/usb-Generic_STORAGE_DEVICE-0:0 /mnt/usb-Generic_STORAGE_DEVICE-0:0 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
--------------------------------------------------------------------------------

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

           GiB - GB File Fragment(s)

=========================== sdd1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
set timeout=30

loadfont unicode

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try or Install Ubuntu" {
 set gfxpayload=keep
 linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
 initrd /casper/initrd
}
menuentry "Ubuntu (safe graphics)" {
 set gfxpayload=keep
 linux /casper/vmlinuz nomodeset file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
 initrd /casper/initrd
}
menuentry "OEM install (for manufacturers)" {
 set gfxpayload=keep
 linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity oem-config/enable=true quiet splash ---
 initrd /casper/initrd
}
grub_platform
if [ "$grub_platform" = "efi" ]; then
menuentry 'Boot from next volume' {
 exit 1
}
menuentry 'UEFI Firmware Settings' {
 fwsetup
}
else
menuentry 'Test memory' {
 linux16 /boot/memtest86+.bin
}
fi
--------------------------------------------------------------------------------

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

           GiB - GB File Fragment(s)

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000 60 01 00 00 48 c7 43 40 00 00 00 00 48 c7 43 48 |`...H.C@....H.CH|
00000010 00 00 00 00 e8 57 3a f6 ff 48 89 de 48 89 c7 48 |.....W:..H..H..H|
00000020 89 c5 e8 b9 ae ff ff 4c 8d 63 58 48 89 6b 50 4c |.......L.cXH.kPL|
00000030 89 e7 e8 89 49 f6 ff 48 8d 6b 60 48 89 ef e8 7d |....I..H.k`H...}|
00000040 49 f6 ff 48 c7 43 70 00 00 00 00 48 89 df e8 8d |I..H.Cp....H....|
00000050 e3 ff ff 48 8b 5c 24 08 48 8b 6c 24 10 4c 8b 64 |...H.\$.H.l$.L.d|
00000060 24 18 4c 8b 6c 24 20 4c 8b 74 24 28 4c 8b 7c 24 |$.L.l$ L.t$(L.|$|
00000070 30 48 83 c4 38 c3 49 89 c7 48 89 df e8 bf 87 f6 |0H..8.I..H......|
00000080 ff 4c 89 ff e8 57 67 f6 ff 48 8d 7b 70 49 89 c7 |.L...Wg..H.{pI..|
00000090 e8 eb 68 f9 ff 48 89 ef e8 03 83 f6 ff 4c 89 e7 |..h..H.......L..|
000000a0 e8 fb 82 f6 ff 4c 89 ef e8 d3 32 f6 ff 4c 89 f7 |.....L....2..L..|
000000b0 e8 eb 82 f6 ff eb c2 49 89 c7 eb e1 48 89 ef 49 |.......I....H..I|
000000c0 89 c7 e8 89 5c f6 ff eb dc 49 89 c7 eb d7 49 89 |....\....I....I.|
000000d0 c7 0f 1f 80 00 00 00 00 eb d3 66 0f 1f 44 00 00 |..........f..D..|
000000e0 48 89 5c 24 d8 4c 89 6c 24 f0 48 89 fb 4c 89 74 |H.\$.L.l$.H..L.t|
000000f0 24 f8 48 89 6c 24 e0 45 31 f6 4c 89 64 24 e8 48 |$.H.l$.E1.L.d$.H|
00000100 81 ec d8 00 00 00 45 31 ed e8 82 d5 ff ff 48 8b |......E1......H.|
00000110 30 83 78 50 14 ba 3d 00 00 00 b9 25 00 00 00 4c |0.xP..=....%...L|
00000120 8d a4 24 a0 00 00 00 41 b9 4c 00 00 00 48 63 46 |..$....A.L...HcF|
00000130 04 4c 89 e7 0f 44 ca 45 31 c0 48 8d 54 46 08 48 |.L...D.E1.H.TF.H|
00000140 83 c6 08 e8 e8 4f f6 ff 48 8d ac 24 90 00 00 00 |.....O..H..$....|
00000150 4c 89 e6 41 be 01 00 00 00 48 89 ef e8 6f 78 f6 |L..A.....H...ox.|
00000160 ff 48 89 ef 41 bd 01 00 00 00 e8 41 a0 f6 ff 45 |.H..A......A...E|
00000170 31 e4 84 c0 74 10 48 8b 43 50 48 83 b8 18 01 00 |1...t.H.CPH.....|
00000180 00 00 41 0f 94 c4 48 89 ef e8 12 82 f6 ff 48 8b |..A...H.......H.|
00000190 bc 24 a0 00 00 00 e8 d5 60 f6 ff 45 84 e4 75 30 |.$......`..E..u0|
000001a0 48 8b 9c 24 b0 00 00 00 48 8b ac 24 b8 00 00 00 |H..$....H..$....|
000001b0 4c 8b a4 24 c0 00 00 00 4c 8b ac 24 c8 00 00 3b |L..$....L..$...;|
000001c0 1d 1f 83 fe ff ff 02 00 00 00 00 b8 68 74 00 00 |............ht..|
000001d0 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 sdb2

00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 90 10 00 |........?.......|
00000020 00 20 03 00 01 03 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 00 29 29 bb f5 90 4e 4f 20 4e 41 4d 45 20 20 |..))...NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.<email address hidden>|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 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 0d 0a 44 69 |..............Di|
000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
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 ac 01 b9 01 00 00 55 aa |..............U.|
00000200

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

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

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#10

Okay - so I followed the repair snstructions in this article
https://linuxconfig.org/ubuntu-22-04-not-booting-troubleshooting-guide
and when I boot the ubuntu drive, I get a grub> prompt...
This is for /dev/sdc ...

Revision history for this message
tadiv (tadiv-comcast) said :
#11

AND I now have the official boot-info-script installed thanks to https://answers.launchpad.net/ubuntu/+question/706422 but stupid me, I can't figure put how to get it to run...

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

... run the command
/usr/sbin/bootinfoscript

Or, perhaps even more comfortable, don't use boot-info-script, but the info part of boot-repair, see https://help.ubuntu.com/community/Boot-Repair

Revision history for this message
tadiv (tadiv-comcast) said :
#13

The boot-repair was run on /dev/sdc

sdd1 is the live-boot USB drive

sda is the old PC's MBR boot record

Below id the boot repair boot info output...
-----------------------------------------------------------------------------------------------------------------
boot-repair-4ppa2056 [20230428_2049]

============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for /boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------

    config script
    ---------------------------------------------------------------------------
    search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd1,msdos2
    set prefix=($root)'/boot/grub'

    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos2)/boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb2: __________________________________________________________________________

    File system: vfat
    Boot sector type: Windows 8/10/11/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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 10 or 11
    Boot files: /Windows/System32/winload.exe

sdc1: __________________________________________________________________________

    File system: vfat
    Boot sector type: 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/fbx64.efi /efi/BOOT/grubx64.efi
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
                       /efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

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

sdc3: __________________________________________________________________________

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

sdd1: __________________________________________________________________________

    File system: iso9660
    Boot sector type: Grub2 (v1.99-2.00)
    Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
                       sdd1 and looks at sector 0 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location.
    Operating System:
    Boot files: /boot/grub/grub.cfg

================================ 2 OS detected =================================

OS#1: Ubuntu 22.04.2 LTS on sdc2
OS#2: Windows 10 or 11 on sdb4

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Richland [Radeon HD 8670D] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: 0307(4.6) from ASUSTeK COMPUTER INC. (Licensed from AMI)
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.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................
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(0x0)/Pci(0x13,0x2)/USB(3,0)/HD(1,MBR,0x9972fe58,0x1f80,0xe6ec080)/HD(2,GPT,9240a165-d190-4ab6-8a12-46dc207b42ee,0x71e8a0,0x2130)AMBO
Boot0002* ubuntu HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(EFI\Ubuntu\grubx64.efi)
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBOAMNO........c.P.N.Y. .U.S.B. .3...2...1. .F.D....................A.......................6..Gd-.;.A..MQ..L.P.N.Y. .U.S.B. .3...2...1. .F.D......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO

f2c9c5c28ef51a83d75db5d108b1a310 sdb2/Boot/bkpbootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/Boot/bootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/Boot/grubx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/ubuntu/grubx64.efi
64349b3622c65f495a99dbf6102496e3 sdb2/ubuntu/shimx64.efi
f2c9c5c28ef51a83d75db5d108b1a310 sdb2/Microsoft/Boot/bootmgfw.efi
46288d3cb6a91cb97d25474930f95dfb sdb2/Microsoft/Boot/bootmgr.efi
64349b3622c65f495a99dbf6102496e3 sdc1/BOOT/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 sdc1/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee sdc1/BOOT/fbx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/BOOT/grubx64.efi
a660182adef313615746a665966d2ccc sdc1/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sdc1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sdc1/ubuntu/shimx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb4 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios

Partitions info (2/3): _________________________________________________________

sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sdb2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x000265e5
      Boot Start End Sectors Size Id Type
sda1 * 2048 499711 497664 243M ef EFI (FAT-12/16/32)
sda2 501758 1953523711 1953021954 931.3G 5 Extended
sda5 501760 1953521663 1953019904 931.3G 83 Linux
Disk sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk identifier: E40E959F-DCA3-48EF-841A-943F995B42B0
        Start End Sectors Size Type
sdb1 2048 1085439 1083392 529M Windows recovery environment
sdb2 1085440 1290239 204800 100M EFI System
sdb3 1290240 1323007 32768 16M Microsoft reserved
sdb4 1323008 2931535871 2930212864 1.4T Microsoft basic data
Disk sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xa686c198
      Boot Start End Sectors Size Id Type
sdc1 * 2048 1026047 1024000 500M ef EFI (FAT-12/16/32)
sdc2 9764864 1953523711 1943758848 926.9G 83 Linux
sdc3 1026048 9764863 8738816 4.2G 82 Linux swap / Solaris
Partition table entries are not in disk order.
Disk sdd: 115.46 GiB, 123979431936 bytes, 242147328 sectors
Disk identifier: 0x9972fe58
      Boot Start End Sectors Size Id Type
sdd1 8064 242147327 242139264 115.5G c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA HDWD110:;
1:1049kB:256MB:255MB:ext4::boot, esp;
2:257MB:1000GB:1000GB:::;
5:257MB:1000GB:1000GB:ext4::;
sdb:3001GB:scsi:512:4096:gpt:ATA WDC WD30EFRX-68E:;
1:1049kB:556MB:555MB:ntfs:Basic data partition:hidden, diag;
2:556MB:661MB:105MB:fat32:EFI system partition:boot, esp;
3:661MB:677MB:16.8MB::Microsoft reserved partition:msftres;
4:677MB:1501GB:1500GB:ntfs:Basic data partition:msftdata;
sdc:1000GB:scsi:512:4096:msdos:ATA WDC WD10EURX-63U:;
1:1049kB:525MB:524MB:fat32::boot, esp;
3:525MB:5000MB:4474MB:linux-swap(v1)::;
2:5000MB:1000GB:995GB:ext4::;
sdd:124GB:scsi:512:512:msdos:PNY USB 3.2.1 FD:;
1:4129kB:124GB:124GB:::lba;

Free space >10MiB: ______________________________________________________________

sdb: 1431414MiB:2861588MiB:1430174MiB

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 2dd298dd-2579-41c7-b75f-055afa582f64 000265e5-01
├─sda2 000265e5-02
└─sda5 ext4 cd3730f2-1be3-462a-b1cf-794bcbbea305 000265e5-05
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-f271-49eb-8dd0-90c9c5fe91cf Recovery Basic data partition
├─sdb2 vfat 90F5-BB29 d15811cc-44d0-45d1-9c7d-2de889e8e395 EFI system partition
├─sdb3 15ed441c-5572-4cc7-8063-045f93f4c2a3 Microsoft reserved partition
└─sdb4 ntfs 840003C50003BCE4 25556426-15f5-4ad5-af7b-0a73fc7ecd8b Basic data partition
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-0b30-4667-a766-b14e0091d2d4 a686c198-02
└─sdc3 swap 3a836bda-352b-46d4-aa08-c4392faf0b62 a686c198-03
sdd
└─sdd1 iso9660 2022-08-10-16-21-45-00 9972fe58-01 Ubuntu 22.04.1 LTS amd64

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1 0 98% /mnt/boot-sav/sda1
/dev/sda5 781.5G 10% /mnt/boot-sav/sda5
/dev/sdb1 104.5M 80% /mnt/boot-sav/sdb1
/dev/sdb2 61.1M 36% /mnt/boot-sav/sdb2
/dev/sdb4 582.3G 58% /mnt/boot-sav/sdb4
/dev/sdc1 489.5M 2% /mnt/boot-sav/sdc1
/dev/sdc2 783G 9% /home/ubuntu/dest
/dev/sdd1 0 100% /cdrom

Mount options (filtered): ______________________________________________________

===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd2,msdos2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdc2/boot/grub/grub.cfg (filtered) ======================

Ubuntu c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-71-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-70-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-69-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.4.0-120-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Windows Boot Manager (on sdb2) osprober-efi-90F5-BB29
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdc2/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=cd3730f2-1be3-462a-b1cf-794bcbbea305 /home ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-729e-4af5-906e-7fbd5dcdcae4 none swap sw 0 0
/dev/disk/by-id/usb-Generic_STORAGE_DEVICE-0:0 /mnt/usb-Generic_STORAGE_DEVICE-0:0 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
UUID=392A-FE20 /boot/efi vfat defaults 0 1

======================= sdc2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB File Fragment(s)
  62.807308197 = 67.438833664 boot/grub/grub.cfg 1
  85.268585205 = 91.556446208 boot/vmlinuz 1
   7.682647705 = 8.249180160 boot/vmlinuz-5.15.0-69-generic 1
 163.823280334 = 175.903907840 boot/vmlinuz-5.15.0-70-generic 1
  85.268585205 = 91.556446208 boot/vmlinuz-5.15.0-71-generic 1
  63.395545959 = 68.070449152 boot/vmlinuz-5.4.0-120-generic 2
 163.823280334 = 175.903907840 boot/vmlinuz.old 1
  63.632297516 = 68.324659200 boot/initrd.img 1
  79.444805145 = 85.303209984 boot/initrd.img-5.15.0-69-generic 2
  79.468254089 = 85.328388096 boot/initrd.img-5.15.0-70-generic 2
  63.632297516 = 68.324659200 boot/initrd.img-5.15.0-71-generic 1
  25.355175018 = 27.224911872 boot/initrd.img-5.4.0-120-generic 1
  79.468254089 = 85.328388096 boot/initrd.img.old 2

===================== sdc2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Dec 2 15:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 15:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec 2 15:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 15:18 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 15:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Dec 2 15:18 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 15:18 41_custom

====================== sdd1/boot/grub/grub.cfg (filtered) ======================

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

           GiB - GB File Fragment(s)
            ?? = ?? boot/grub/grub.cfg 1

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdc2,
using the following options: sdc1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sdc1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)

Revision history for this message
tadiv (tadiv-comcast) said :
#14

The result of boot-repair are below... I'll reboot and let you know if it worked...

boot-repair-4ppa2056 [20230428_2142]

============================= Boot Repair Summary ==============================

Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdc2,
using the following options: sdc1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sdc1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)

User settings: _________________________________________________________________

The settings chosen by the user will reinstall the grub-efi of
sdc2,
using the following options: sdc1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

rm /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdb2/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi
rm /mnt/boot-sav/sdc1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdc1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdc1/efi/Boot/bootx64.efi
Mount sdc1 on /home/ubuntu/dest/boot/efi

======================== Reinstall the grub-efi of sdc2 ========================

chroot /home/ubuntu/dest grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.1
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-43-generic
chroot /home/ubuntu/dest modprobe efivars

chroot /home/ubuntu/dest efibootmgr -v before grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/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................
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(0x0)/Pci(0x13,0x2)/USB(3,0)/HD(1,MBR,0x9972fe58,0x1f80,0xe6ec080)/HD(2,GPT,9240a165-d190-4ab6-8a12-46dc207b42ee,0x71e8a0,0x2130)AMBO
Boot0002* ubuntu HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(EFIUbuntugrubx64.efi)
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBOAMNO........c.P.N.Y. .U.S.B. .3...2...1. .F.D....................A.......................6..Gd-.;.A..MQ..L.P.N.Y. .U.S.B. .3...2...1. .F.D......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO

chroot /home/ubuntu/dest uname -r
5.15.0-43-generic

chroot /home/ubuntu/dest grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
mkdir: cannot create directory ‘/mnt/boot-sav/sda1/EFI’: No space left on device
cp /home/ubuntu/dest/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda1/EFI/ubuntu/grubx64.efi
cp: cannot create regular file '/mnt/boot-sav/sda1/EFI/ubuntu/grubx64.efi': No such file or directory
df /dev/sdc1
mv /home/ubuntu/dest/boot/efi/EFI/Boot/bootx64.efi /home/ubuntu/dest/boot/efi/EFI/Boot/bkpbootx64.efi
cp /home/ubuntu/dest/boot/efi/efi/ubuntu/grubx64.efi /home/ubuntu/dest/boot/efi/EFI/Boot/bootx64.efi
mkdir: cannot create directory ‘/mnt/boot-sav/sda1/EFI’: No space left on device
df /dev/sda1
mv winEFI cancelled (sda1 full)
touch /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi.grb
touch: cannot touch '/mnt/boot-sav/sda1/EFI/Boot/bootx64.efi.grb': No such file or directory
Error no /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi.grb
df /dev/sdb2
mv /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi /mnt/boot-sav/sdb2/EFI/Boot/bkpbootx64.efi
cp /home/ubuntu/dest/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi

chroot /home/ubuntu/dest grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

chroot /home/ubuntu/dest efibootmgr -v after grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/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................
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(0x0)/Pci(0x13,0x2)/USB(3,0)/HD(1,MBR,0x9972fe58,0x1f80,0xe6ec080)/HD(2,GPT,9240a165-d190-4ab6-8a12-46dc207b42ee,0x71e8a0,0x2130)AMBO
Boot0002* ubuntu HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(EFIUbuntugrubx64.efi)
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBOAMNO........c.P.N.Y. .U.S.B. .3...2...1. .F.D....................A.......................6..Gd-.;.A..MQ..L.P.N.Y. .U.S.B. .3...2...1. .F.D......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO
Warning: NVram was not modified.

chroot /home/ubuntu/dest 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.15.0-71-generic
Found initrd image: /boot/initrd.img-5.15.0-71-generic
Found linux image: /boot/vmlinuz-5.15.0-70-generic
Found initrd image: /boot/initrd.img-5.15.0-70-generic
Found linux image: /boot/vmlinuz-5.15.0-69-generic
Found initrd image: /boot/initrd.img-5.15.0-69-generic
Found linux image: /boot/vmlinuz-5.4.0-120-generic
Found initrd image: /boot/initrd.img-5.4.0-120-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sdb2@/efi/Microsoft/Boot/bootmgfw.efi

Unhide GRUB boot menu in sdc2/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sdc1/efi/ubuntu/grubx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware 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\grubx64.efi

============================ Boot Info After Repair ============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for /boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------

    config script
    ---------------------------------------------------------------------------
    search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd1,msdos2
    set prefix=($root)'/boot/grub'

    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos2)/boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb2: __________________________________________________________________________

    File system: vfat
    Boot sector type: Windows 8/10/11/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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 10 or 11
    Boot files: /Windows/System32/winload.exe

sdc1: __________________________________________________________________________

    File system: vfat
    Boot sector type: 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/fbx64.efi /efi/BOOT/grubx64.efi
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
                       /efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

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

sdc3: __________________________________________________________________________

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

sdd1: __________________________________________________________________________

    File system: iso9660
    Boot sector type: Grub2 (v1.99-2.00)
    Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
                       sdd1 and looks at sector 0 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location.
    Operating System:
    Boot files: /boot/grub/grub.cfg

================================ 2 OS detected =================================

OS#1: Ubuntu 22.04.2 LTS on sdc2
OS#2: Windows 10 or 11 on sdb4

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Richland [Radeon HD 8670D] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: 0307(4.6) from ASUSTeK COMPUTER INC. (Licensed from AMI)
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.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................
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(0x0)/Pci(0x13,0x2)/USB(3,0)/HD(1,MBR,0x9972fe58,0x1f80,0xe6ec080)/HD(2,GPT,9240a165-d190-4ab6-8a12-46dc207b42ee,0x71e8a0,0x2130)AMBO
Boot0002* ubuntu HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(EFI\Ubuntu\grubx64.efi)
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBOAMNO........c.P.N.Y. .U.S.B. .3...2...1. .F.D....................A.......................6..Gd-.;.A..MQ..L.P.N.Y. .U.S.B. .3...2...1. .F.D......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO

f2c9c5c28ef51a83d75db5d108b1a310 sdb2/Boot/bkpbootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/Boot/bootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/Boot/grubx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/ubuntu/grubx64.efi
64349b3622c65f495a99dbf6102496e3 sdb2/ubuntu/shimx64.efi
f2c9c5c28ef51a83d75db5d108b1a310 sdb2/Microsoft/Boot/bootmgfw.efi
46288d3cb6a91cb97d25474930f95dfb sdb2/Microsoft/Boot/bootmgr.efi
64349b3622c65f495a99dbf6102496e3 sdc1/BOOT/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 sdc1/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee sdc1/BOOT/fbx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/BOOT/grubx64.efi
a660182adef313615746a665966d2ccc sdc1/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sdc1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sdc1/ubuntu/shimx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb4 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios

Partitions info (2/3): _________________________________________________________

sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sdb2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x000265e5
      Boot Start End Sectors Size Id Type
sda1 * 2048 499711 497664 243M ef EFI (FAT-12/16/32)
sda2 501758 1953523711 1953021954 931.3G 5 Extended
sda5 501760 1953521663 1953019904 931.3G 83 Linux
Disk sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk identifier: E40E959F-DCA3-48EF-841A-943F995B42B0
        Start End Sectors Size Type
sdb1 2048 1085439 1083392 529M Windows recovery environment
sdb2 1085440 1290239 204800 100M EFI System
sdb3 1290240 1323007 32768 16M Microsoft reserved
sdb4 1323008 2931535871 2930212864 1.4T Microsoft basic data
Disk sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xa686c198
      Boot Start End Sectors Size Id Type
sdc1 * 2048 1026047 1024000 500M ef EFI (FAT-12/16/32)
sdc2 9764864 1953523711 1943758848 926.9G 83 Linux
sdc3 1026048 9764863 8738816 4.2G 82 Linux swap / Solaris
Partition table entries are not in disk order.
Disk sdd: 115.46 GiB, 123979431936 bytes, 242147328 sectors
Disk identifier: 0x9972fe58
      Boot Start End Sectors Size Id Type
sdd1 8064 242147327 242139264 115.5G c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA HDWD110:;
1:1049kB:256MB:255MB:ext4::boot, esp;
2:257MB:1000GB:1000GB:::;
5:257MB:1000GB:1000GB:ext4::;
sdb:3001GB:scsi:512:4096:gpt:ATA WDC WD30EFRX-68E:;
1:1049kB:556MB:555MB:ntfs:Basic data partition:hidden, diag;
2:556MB:661MB:105MB:fat32:EFI system partition:boot, esp;
3:661MB:677MB:16.8MB::Microsoft reserved partition:msftres;
4:677MB:1501GB:1500GB:ntfs:Basic data partition:msftdata;
sdc:1000GB:scsi:512:4096:msdos:ATA WDC WD10EURX-63U:;
1:1049kB:525MB:524MB:fat32::boot, esp;
3:525MB:5000MB:4474MB:linux-swap(v1)::;
2:5000MB:1000GB:995GB:ext4::;
sdd:124GB:scsi:512:512:msdos:PNY USB 3.2.1 FD:;
1:4129kB:124GB:124GB:::lba;

Free space >10MiB: ______________________________________________________________

sdb: 1431414MiB:2861588MiB:1430174MiB

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 2dd298dd-2579-41c7-b75f-055afa582f64 000265e5-01
├─sda2 000265e5-02
└─sda5 ext4 cd3730f2-1be3-462a-b1cf-794bcbbea305 000265e5-05
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-f271-49eb-8dd0-90c9c5fe91cf Recovery Basic data partition
├─sdb2 vfat 90F5-BB29 d15811cc-44d0-45d1-9c7d-2de889e8e395 EFI system partition
├─sdb3 15ed441c-5572-4cc7-8063-045f93f4c2a3 Microsoft reserved partition
└─sdb4 ntfs 840003C50003BCE4 25556426-15f5-4ad5-af7b-0a73fc7ecd8b Basic data partition
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-0b30-4667-a766-b14e0091d2d4 a686c198-02
└─sdc3 swap 3a836bda-352b-46d4-aa08-c4392faf0b62 a686c198-03
sdd
└─sdd1 iso9660 2022-08-10-16-21-45-00 9972fe58-01 Ubuntu 22.04.1 LTS amd64

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1 0 98% /mnt/boot-sav/sda1
/dev/sda5 781.5G 10% /mnt/boot-sav/sda5
/dev/sdb1 104.5M 80% /mnt/boot-sav/sdb1
/dev/sdb2 61.1M 36% /mnt/boot-sav/sdb2
/dev/sdb4 582.3G 58% /mnt/boot-sav/sdb4
/dev/sdc1 489.5M 2% /mnt/boot-sav/sdc1
/dev/sdc2 783G 9% /home/ubuntu/dest
/dev/sdd1 0 100% /cdrom

Mount options (filtered): ______________________________________________________

===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd2,msdos2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdc2/boot/grub/grub.cfg (filtered) ======================

Ubuntu c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-71-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-70-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-69-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.4.0-120-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Windows Boot Manager (on sdb2) osprober-efi-90F5-BB29
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdc2/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=cd3730f2-1be3-462a-b1cf-794bcbbea305 /home ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-729e-4af5-906e-7fbd5dcdcae4 none swap sw 0 0
/dev/disk/by-id/usb-Generic_STORAGE_DEVICE-0:0 /mnt/usb-Generic_STORAGE_DEVICE-0:0 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
UUID=392A-FE20 /boot/efi vfat defaults 0 1

======================= sdc2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB File Fragment(s)
  62.807308197 = 67.438833664 boot/grub/grub.cfg 1
  85.268585205 = 91.556446208 boot/vmlinuz 1
   7.682647705 = 8.249180160 boot/vmlinuz-5.15.0-69-generic 1
 163.823280334 = 175.903907840 boot/vmlinuz-5.15.0-70-generic 1
  85.268585205 = 91.556446208 boot/vmlinuz-5.15.0-71-generic 1
  63.395545959 = 68.070449152 boot/vmlinuz-5.4.0-120-generic 2
 163.823280334 = 175.903907840 boot/vmlinuz.old 1
  63.632297516 = 68.324659200 boot/initrd.img 1
  79.444805145 = 85.303209984 boot/initrd.img-5.15.0-69-generic 2
  79.468254089 = 85.328388096 boot/initrd.img-5.15.0-70-generic 2
  63.632297516 = 68.324659200 boot/initrd.img-5.15.0-71-generic 1
  25.355175018 = 27.224911872 boot/initrd.img-5.4.0-120-generic 1
  79.468254089 = 85.328388096 boot/initrd.img.old 2

===================== sdc2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Dec 2 15:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 15:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec 2 15:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 15:18 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 15:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Dec 2 15:18 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 15:18 41_custom

====================== sdd1/boot/grub/grub.cfg (filtered) ======================

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

           GiB - GB File Fragment(s)
            ?? = ?? boot/grub/grub.cfg 1

Revision history for this message
tadiv (tadiv-comcast) said :
#15

I get a grub> prompt.

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

When you switch on the computer, you should see on the screen the logo of its manufacturer and some text telling something like "press F2 for setup, press F10 for boot device selection" (exact words depending on system manufacturer).

If you try selecting a boot device, which devices are offered there?

Revision history for this message
tadiv (tadiv-comcast) said :
#17

UEFI: PNY USB 3.2.1 FD (118236MB)
ubuntu (P3: WDC WD30EFRX-68EUZN0) (displayed as UEFI)
Windows Boot Manager (P3: WDC WD30EFRX-68EUZN0) (displayed as UEFI)
P1: TOSHIBA HDWD110 (953869MB) (not displayed as UEFI )
P0: ASUS SH-224DB (Empty CD ROM Drive)

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

What happens if you select the "ubuntu" or the "Windows" entry or "P1" for booting?

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#19

Windows Boot Manager - The machinr seems to boot normally into Windows 10 as expected.

ubuntu: - I get a text screen with "GNU GRUB version 2.06" a message about "Miniman BASH-like line editing is supported... [more text]" and a prompt for "grub>"

P1: - I get an error that is... "error : file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue>"

Revision history for this message
tadiv (tadiv-comcast) said :
#20

Any suggestions?

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

When you try booting Ubuntu and get the "grub>" prompt, what output do you receive for the command
ls

Revision history for this message
tadiv (tadiv-comcast) said :
#22

Wow - It's a lot to type...
(proc) (memdisc) (hd0) (hd0,msdos1,gpt3) (hd0,msdos,gpt2) (hd0,msdos1gpt1) (hd0,msdos1) (hd1) (hd2) (hd2,msdos5) (hd2,msdos1) (hd3) (hd3,gpt4) (hd3,hpt3) (hd3,gpt2) (hd3,gpt1) (hd4) (hd4,msdos3) (hd4,msdos2) (hd4,msdos1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Which one is the disk that you want to use on this system?

What you can do is manually instructing grub to access that disk/partitions and then boot that system.
see e.g. https://www.hackerearth.com/practice/notes/akshaypai94/grub-rescue/

When that correctly starts Ubuntu, then you can reinstall the grub boot loader that it works automatically.

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#24

How am I supposed to know what disc (hdx) is what /dev/sdx?

I tried the instructions in the listed article (on 2 different drives) and was told after entering the boot command "error: you need to load the kernel first."

Nothing automatically happened after the 4th command eas entered...

Revision history for this message
Manfred Hampl (m-hampl) said :
#25

1. "How am I supposed to know what disc (hdx) is what /dev/sdx?"

You have to match the output of the "ls" command with the output of boot-info:

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 2dd298dd-2579-41c7-b75f-055afa582f64 000265e5-01
├─sda2 000265e5-02
└─sda5 ext4 cd3730f2-1be3-462a-b1cf-794bcbbea305 000265e5-05
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-f271-49eb-8dd0-90c9c5fe91cf Recovery Basic data partition
├─sdb2 vfat 90F5-BB29 d15811cc-44d0-45d1-9c7d-2de889e8e395 EFI system partition
├─sdb3 15ed441c-5572-4cc7-8063-045f93f4c2a3 Microsoft reserved partition
└─sdb4 ntfs 840003C50003BCE4 25556426-15f5-4ad5-af7b-0a73fc7ecd8b Basic data partition
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-0b30-4667-a766-b14e0091d2d4 a686c198-02
└─sdc3 swap 3a836bda-352b-46d4-aa08-c4392faf0b62 a686c198-03
sdd
└─sdd1 iso9660 2022-08-10-16-21-45-00 9972fe58-01 Ubuntu 22.04.1 LTS amd64

(hd0) (hd0,msdos1,gpt3) (hd0,msdos,gpt2) (hd0,msdos1gpt1) (hd0,msdos1)
(hd1)
(hd2) (hd2,msdos5) (hd2,msdos1)
(hd3) (hd3,gpt4) (hd3,hpt3) (hd3,gpt2) (hd3,gpt1)
(hd4) (hd4,msdos3) (hd4,msdos2) (hd4,msdos1)

hd2 is sda
hd3 is sdb
hd4 is sdc

No warranty, the naming/numbering may change with the next boot.

2. for the message "load the kernel first" you have to add a few additional commands,
Something like

insmod linux
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
boot

(adapt the device names for you system!)

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#26

Okay! the following at the grub prompt got me booted onto this machine looking just like the cloned machine:

set boot=(hd4,msdos2)
set prefix=(hd4,msdos2)/boot/grub
insmod normal
normal

AND thank you so much for hanging in with me on this difficult issue.

I see this as a big success, however, when I follow up with the update-grub and grub-install, while everything looks okay (see results below) I boot back to a grub prompt...

tadiv@tadiv-desktop:~$ sudo update-grub
[sudo] password for tadiv:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-71-generic
Found initrd image: /boot/initrd.img-5.15.0-71-generic
Found linux image: /boot/vmlinuz-5.15.0-70-generic
Found initrd image: /boot/initrd.img-5.15.0-70-generic
Found linux image: /boot/vmlinuz-5.15.0-69-generic
Found initrd image: /boot/initrd.img-5.15.0-69-generic
Found linux image: /boot/vmlinuz-5.4.0-120-generic
Found initrd image: /boot/initrd.img-5.4.0-120-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sdb2@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
tadiv@tadiv-desktop:~$ sudo grub-install /dev/sdc
Installing for x86_64-efi platform.
Installation finished. No error reported.
tadiv@tadiv-desktop:~$

I also tried adding an update-grub after the install, but it seems to have made no difference...

Suggestions?

Revision history for this message
tadiv (tadiv-comcast) said :
#27

I updated all the packages and am trying the following:

tadiv@tadiv-desktop:~$ sudo update-grub
[sudo] password for tadiv:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-71-generic
Found initrd image: /boot/initrd.img-5.15.0-71-generic
Found linux image: /boot/vmlinuz-5.15.0-70-generic
Found initrd image: /boot/initrd.img-5.15.0-70-generic
Found linux image: /boot/vmlinuz-5.4.0-120-generic
Found initrd image: /boot/initrd.img-5.4.0-120-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sdb2@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
tadiv@tadiv-desktop:~$ sudo grub-install
Installing for x86_64-efi platform.
Installation finished. No error reported.
tadiv@tadiv-desktop:~$

I'll report back as soon as I reboot...

Revision history for this message
tadiv (tadiv-comcast) said :
#28

I ended up back at the grub prompt - here is the latest boot-info (after I removed the boot flag from /dev/sda):

Boot Info Script 0.78 [09 October 2019]

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Computing Partition Table of /dev/sdc...
Searching sda1 for information...
Searching sda2 for information...
Searching sda5 for information...
Searching sdb1 for information...
Searching sdb2 for information...
Searching sdb3 for information...
Searching sdb4 for information...
Searching sdc1 for information...
Searching sdc2 for information...
Searching sdc3 for information...

Finished. The results are in the file "RESULTS.txt"
located in "/root/".

tadiv@tadiv-desktop:~$ cd /root
tadiv@tadiv-desktop:/root$ ls
Desktop Downloads newhome RESULTS.txt snap xorg.conf.new
tadiv@tadiv-desktop:/root$ cat RESULTS.txt
                 Boot Info Script 0.78 [09 October 2019]

============================= Boot Info Summary: ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for /boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------

    config script
    ---------------------------------------------------------------------------
    search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd1,msdos2
    set prefix=($root)'/boot/grub'

    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos2)/boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    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:

sdb2: __________________________________________________________________________

    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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    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: /Windows/System32/winload.exe

sdc1: __________________________________________________________________________

    File system: vfat
    Boot sector type: 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/fbx64.efi /efi/BOOT/grubx64.efi
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
                       /efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

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

sdc3: __________________________________________________________________________

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

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA HDWD110
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 2,048 499,711 497,664 83 Linux
/dev/sda2 501,758 1,953,523,711 1,953,021,954 5 Extended
/dev/sda5 501,760 1,953,521,663 1,953,019,904 83 Linux

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EFRX-68E
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT

GUID Partition Table detected.

Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 + R 2,048 1,085,439 1,083,392 Windows Recovery Environment (Windows)
/dev/sdb2 + 1,085,440 1,290,239 204,800 EFI System partition
/dev/sdb3 + 1,290,240 1,323,007 32,768 Microsoft Reserved Partition (Windows)
/dev/sdb4 1,323,008 2,931,535,871 2,930,212,864 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EURX-63U
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdc1 * 2,048 1,026,047 1,024,000 ef EFI (FAT-12/16/32)
/dev/sdc2 9,764,864 1,953,523,711 1,943,758,848 83 Linux
/dev/sdc3 1,026,048 9,764,863 8,738,816 82 Linux swap / Solaris

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop10 squashfs
/dev/loop11 squashfs
/dev/loop12 squashfs
/dev/loop13 squashfs
/dev/loop14 squashfs
/dev/loop15 squashfs
/dev/loop16 squashfs
/dev/loop17 squashfs
/dev/loop18 squashfs
/dev/loop19 squashfs
/dev/loop2 squashfs
/dev/loop20 squashfs
/dev/loop21 squashfs
/dev/loop22 squashfs
/dev/loop23 squashfs
/dev/loop24 squashfs
/dev/loop25 squashfs
/dev/loop26 squashfs
/dev/loop27 squashfs
/dev/loop28 squashfs
/dev/loop29 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/loop5 squashfs
/dev/loop6 squashfs
/dev/loop7 squashfs
/dev/loop8 squashfs
/dev/loop9 squashfs
/dev/sda1 2dd298dd-2579-41c7-b75f-055afa582f64 ext4
/dev/sda5 cd3730f2-1be3-462a-b1cf-794bcbbea305 ext4
/dev/sdb1 CAECF468ECF44FE5 ntfs Recovery
/dev/sdb2 90F5-BB29 vfat
/dev/sdb3
/dev/sdb4 840003C50003BCE4 ntfs
/dev/sdc1 392A-FE20 vfat
/dev/sdc2 c9b5fd30-0b30-4667-a766-b14e0091d2d4 ext4
/dev/sdc3 3a836bda-352b-46d4-aa08-c4392faf0b62 swap

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-ASUS_SH-224DB_S11E68ED90091R -> ../../sr0
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-TOSHIBA_HDWD110_9742111NS -> ../../sda
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-TOSHIBA_HDWD110_9742111NS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-TOSHIBA_HDWD110_9742111NS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-TOSHIBA_HDWD110_9742111NS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-WDC_WD10EURX-63UY4Y0_WD-WCC4J0ZXCR8R -> ../../sdc
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD10EURX-63UY4Y0_WD-WCC4J0ZXCR8R-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD10EURX-63UY4Y0_WD-WCC4J0ZXCR8R-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD10EURX-63UY4Y0_WD-WCC4J0ZXCR8R-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0763107 -> ../../sdb
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0763107-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0763107-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0763107-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0763107-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 9 May 3 09:58 wwn-0x5000039fd0eb3322 -> ../../sda
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x5000039fd0eb3322-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x5000039fd0eb3322-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x5000039fd0eb3322-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 May 3 09:58 wwn-0x50014ee2b8765924 -> ../../sdc
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee2b8765924-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee2b8765924-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee2b8765924-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 May 3 09:58 wwn-0x50014ee65939a431 -> ../../sdb
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65939a431-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65939a431-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65939a431-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65939a431-part4 -> ../../sdb4

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

Device Mount_Point Type Options

/dev/sda5 /home ext4 (rw,relatime)
/dev/sdc1 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdc2 / ext4 (rw,relatime,errors=remount-ro)
/dev/sdc2 /var/snap/firefox/common/host-hunspell ext4 (ro,noexec,noatime,errors=remount-ro)

========================== sdc1/efi/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd2,msdos2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sdc2/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="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 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_msdos
insmod ext2
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
else
  search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
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_US
  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
### 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 [ ${grub_platform} != pc ]; then
      set linux_gfx_mode=keep
    elif 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-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
 insmod part_msdos
 insmod ext2
 set root='hd2,msdos2'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
 else
   search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
 fi
 linux /boot/vmlinuz-5.15.0-71-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
 initrd /boot/initrd.img-5.15.0-71-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
 menuentry 'Ubuntu, with Linux 5.15.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-71-generic-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-71-generic ...'
  linux /boot/vmlinuz-5.15.0-71-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-71-generic
 }
 menuentry 'Ubuntu, with Linux 5.15.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-71-generic-recovery-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-71-generic ...'
  linux /boot/vmlinuz-5.15.0-71-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro recovery nomodeset dis_ucode_ldr
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-71-generic
 }
 menuentry 'Ubuntu, with Linux 5.15.0-70-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-70-generic-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-70-generic ...'
  linux /boot/vmlinuz-5.15.0-70-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-70-generic
 }
 menuentry 'Ubuntu, with Linux 5.15.0-70-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-70-generic-recovery-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.15.0-70-generic ...'
  linux /boot/vmlinuz-5.15.0-70-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro recovery nomodeset dis_ucode_ldr
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.15.0-70-generic
 }
 menuentry 'Ubuntu, with Linux 5.4.0-120-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-120-generic-advanced-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.4.0-120-generic ...'
  linux /boot/vmlinuz-5.4.0-120-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.4.0-120-generic
 }
 menuentry 'Ubuntu, with Linux 5.4.0-120-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-120-generic-recovery-c9b5fd30-0b30-4667-a766-b14e0091d2d4' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c9b5fd30-0b30-4667-a766-b14e0091d2d4
  else
    search --no-floppy --fs-uuid --set=root c9b5fd30-0b30-4667-a766-b14e0091d2d4
  fi
  echo 'Loading Linux 5.4.0-120-generic ...'
  linux /boot/vmlinuz-5.4.0-120-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro recovery nomodeset dis_ucode_ldr
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-5.4.0-120-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/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-efi-90F5-BB29' {
 insmod part_gpt
 insmod fat
 set root='hd1,gpt2'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 90F5-BB29
 else
   search --no-floppy --fs-uuid --set=root 90F5-BB29
 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 'UEFI Firmware Settings' $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 ###
--------------------------------------------------------------------------------

=============================== sdc2/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/sdb2 during installation
UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=cd3730f2-1be3-462a-b1cf-794bcbbea305 /home ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-729e-4af5-906e-7fbd5dcdcae4 none swap sw 0 0
/dev/disk/by-id/usb-Generic_STORAGE_DEVICE-0:0 /mnt/usb-Generic_STORAGE_DEVICE-0:0 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
UUID=392A-FE20 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------

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

           GiB - GB File Fragment(s)

  63.082080841 = 67.733868544 boot/grub/grub.cfg 1
  85.268585205 = 91.556446208 boot/vmlinuz 1
 163.823280334 = 175.903907840 boot/vmlinuz-5.15.0-70-generic 1
  85.268585205 = 91.556446208 boot/vmlinuz-5.15.0-71-generic 1
  63.395545959 = 68.070449152 boot/vmlinuz-5.4.0-120-generic 2
 163.823280334 = 175.903907840 boot/vmlinuz.old 1
  63.632297516 = 68.324659200 boot/initrd.img 1
  79.468254089 = 85.328388096 boot/initrd.img-5.15.0-70-generic 2
  63.632297516 = 68.324659200 boot/initrd.img-5.15.0-71-generic 1
  25.355175018 = 27.224911872 boot/initrd.img-5.4.0-120-generic 1
  79.468254089 = 85.328388096 boot/initrd.img.old 2

======================== Unknown MBRs/Boot Sectors/etc: ========================

/dev/sdb1: unknown GPT attributes
8000000000000001

/dev/sdb2: unknown GPT attributes
8000000000000000

/dev/sdb3: unknown GPT attributes
8000000000000000
Unknown BootLoader on sda2

00000000 60 01 00 00 48 c7 43 40 00 00 00 00 48 c7 43 48 |`...H.C@....H.CH|
00000010 00 00 00 00 e8 57 3a f6 ff 48 89 de 48 89 c7 48 |.....W:..H..H..H|
00000020 89 c5 e8 b9 ae ff ff 4c 8d 63 58 48 89 6b 50 4c |.......L.cXH.kPL|
00000030 89 e7 e8 89 49 f6 ff 48 8d 6b 60 48 89 ef e8 7d |....I..H.k`H...}|
00000040 49 f6 ff 48 c7 43 70 00 00 00 00 48 89 df e8 8d |I..H.Cp....H....|
00000050 e3 ff ff 48 8b 5c 24 08 48 8b 6c 24 10 4c 8b 64 |...H.\$.H.l$.L.d|
00000060 24 18 4c 8b 6c 24 20 4c 8b 74 24 28 4c 8b 7c 24 |$.L.l$ L.t$(L.|$|
00000070 30 48 83 c4 38 c3 49 89 c7 48 89 df e8 bf 87 f6 |0H..8.I..H......|
00000080 ff 4c 89 ff e8 57 67 f6 ff 48 8d 7b 70 49 89 c7 |.L...Wg..H.{pI..|
00000090 e8 eb 68 f9 ff 48 89 ef e8 03 83 f6 ff 4c 89 e7 |..h..H.......L..|
000000a0 e8 fb 82 f6 ff 4c 89 ef e8 d3 32 f6 ff 4c 89 f7 |.....L....2..L..|
000000b0 e8 eb 82 f6 ff eb c2 49 89 c7 eb e1 48 89 ef 49 |.......I....H..I|
000000c0 89 c7 e8 89 5c f6 ff eb dc 49 89 c7 eb d7 49 89 |....\....I....I.|
000000d0 c7 0f 1f 80 00 00 00 00 eb d3 66 0f 1f 44 00 00 |..........f..D..|
000000e0 48 89 5c 24 d8 4c 89 6c 24 f0 48 89 fb 4c 89 74 |H.\$.L.l$.H..L.t|
000000f0 24 f8 48 89 6c 24 e0 45 31 f6 4c 89 64 24 e8 48 |$.H.l$.E1.L.d$.H|
00000100 81 ec d8 00 00 00 45 31 ed e8 82 d5 ff ff 48 8b |......E1......H.|
00000110 30 83 78 50 14 ba 3d 00 00 00 b9 25 00 00 00 4c |0.xP..=....%...L|
00000120 8d a4 24 a0 00 00 00 41 b9 4c 00 00 00 48 63 46 |..$....A.L...HcF|
00000130 04 4c 89 e7 0f 44 ca 45 31 c0 48 8d 54 46 08 48 |.L...D.E1.H.TF.H|
00000140 83 c6 08 e8 e8 4f f6 ff 48 8d ac 24 90 00 00 00 |.....O..H..$....|
00000150 4c 89 e6 41 be 01 00 00 00 48 89 ef e8 6f 78 f6 |L..A.....H...ox.|
00000160 ff 48 89 ef 41 bd 01 00 00 00 e8 41 a0 f6 ff 45 |.H..A......A...E|
00000170 31 e4 84 c0 74 10 48 8b 43 50 48 83 b8 18 01 00 |1...t.H.CPH.....|
00000180 00 00 41 0f 94 c4 48 89 ef e8 12 82 f6 ff 48 8b |..A...H.......H.|
00000190 bc 24 a0 00 00 00 e8 d5 60 f6 ff 45 84 e4 75 30 |.$......`..E..u0|
000001a0 48 8b 9c 24 b0 00 00 00 48 8b ac 24 b8 00 00 00 |H..$....H..$....|
000001b0 4c 8b a4 24 c0 00 00 00 4c 8b ac 24 c8 00 00 3b |L..$....L..$...;|
000001c0 1d 1f 83 fe ff ff 02 00 00 00 00 b8 68 74 00 00 |............ht..|
000001d0 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

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

I am sorry, but I have no ides why this does not work as expected.
Maybe it has something to do with EFI/Legacy boot.

Revision history for this message
tadiv (tadiv-comcast) said :
#30

Okay - fixed! The following post will list what I did to make it work.

Revision history for this message
tadiv (tadiv-comcast) said (last edit ):
#31

I tried several options creating several FAT32 partitions for the EFI boot process. I ended up deleting the /dev/sda1 (ext2, primary, original MBR ) partition and recreating it as a FAT32 (for whatever reason it is locked at 243MB - hopefully that is not a problem down the road)... Then I used boot-repair and using the advanced options section, told it to assign the EFI to /dev/sda1.

My final boot info is below. Thank you again Manfred for all your help with this.

-------------------------------------------------------------
boot-repair-4ppa2056 [20230507_1124]

============================= Boot Repair Summary ==============================

Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdc2,
using the following options: sdc1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sdc1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)

User settings: _________________________________________________________________

ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
ls: cannot access '/boot'$'n''/home/': No such file or directory
The settings chosen by the user will reinstall the grub-efi of
sdc2,
using the following options: sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

/boot/efi added in sdc2/fstab
rm /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdb2/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi
rm /mnt/boot-sav/sdc1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdc1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdc1/efi/Boot/bootx64.efi
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
sdc2/boot/efi not empty
Mount sda1 on /boot/efi
ls: cannot access '/boot/efi/efi': No such file or directory
No sdc2/boot/efi/efi/ ubuntu/mint folder

======================== Reinstall the grub-efi of sdc2 ========================

grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.1
modprobe efivars

efibootmgr -v before grub install
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0003,0000,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/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................
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO
Boot0005* ubuntu HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(EFIUbuntugrubx64.efi)

uname -r
5.15.0-71-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
df /dev/sdb2
mv /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi /mnt/boot-sav/sdb2/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
df /dev/sdc1
mv /mnt/boot-sav/sdc1/EFI/Boot/bootx64.efi /mnt/boot-sav/sdc1/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sdc1/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v after grub install
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0003,0000,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/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................
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO
Boot0005* ubuntu HD(1,MBR,0x265e5,0x800,0x79800)/File(EFIubuntushimx64.efi)

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.15.0-71-generic
Found initrd image: /boot/initrd.img-5.15.0-71-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sdb2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...

Unhide GRUB boot menu in sdc2/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sda1/efi/ubuntu/grubx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware 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\grubx64.efi

============================ Boot Info After Repair ============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for /boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------

    config script
    ---------------------------------------------------------------------------
    search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd1,msdos2
    set prefix=($root)'/boot/grub'

    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdd and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for /boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------

    config script
    ---------------------------------------------------------------------------
    search.fs_uuid c9b5fd30-0b30-4667-a766-b14e0091d2d4 root hd1,msdos2
    set prefix=($root)'/boot/grub'

    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system: vfat
    Boot sector type: 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/fbx64.efi /efi/BOOT/mmx64.efi
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:

sda5: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files: /grub/grub.cfg

sda6: __________________________________________________________________________

    File system: vfat
    Boot sector type: FAT32
    Boot sector info: According to the info in the boot sector, sda6 starts
                       at sector 2048. But according to the info from fdisk,
                       sda6 starts at sector 503808. "63" and "2048" are
                       quite common values for the starting sector of a
                       logical partition and they only need to be fixed when
                       you want to boot Windows from a logical partition.
    Operating System:
    Boot files:

sdb1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb2: __________________________________________________________________________

    File system: vfat
    Boot sector type: Windows 8/10/11/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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 10 or 11
    Boot files: /Windows/System32/winload.exe

sdc1: __________________________________________________________________________

    File system: vfat
    Boot sector type: 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/fbx64.efi /efi/BOOT/grubx64.efi
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
                       /efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 22.04.2 LTS
    Boot files: /etc/fstab /etc/default/grub

sdc3: __________________________________________________________________________

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

sdd1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 2000/XP: NTFS
    Boot sector info: The info in the boot sector on the starting sector of
                       the MFT Mirror is wrong. According to the info in the
                       boot sector, sdd1 has 195694847 sectors, but according
                       to the info from fdisk, it has 732565759 sectors.
    Operating System:
    Boot files:

================================ 2 OS detected =================================

OS#1: Ubuntu 22.04.2 LTS on sdc2
OS#2: Windows 10 or 11 on sdb4

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Richland [Radeon HD 8670D] from Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-71-generic root=UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 ro quiet splash
df -Th / : /dev/sdc2 ext4 913G 81G 785G 10% /

===================================== UEFI =====================================

BIOS/UEFI firmware: 0307(4.6) from ASUSTeK COMPUTER INC. (Licensed from AMI)
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0003,0000,0004
Boot0000* Windows Boot Manager HD(2,GPT,d15811cc-44d0-45d1-9c7d-2de889e8e395,0x109000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.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................
Boot0003* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .9. .4.7.1.2.1.1.S.N......AMBOAMNO........o.W.D.C. .W.D.3.0.E.F.R.X.-.6.8.E.U.Z.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.4.C.0.N.6.7.1.3.7.0......AMBOAMNO........o.W.D.C. .W.D.1.0.E.U.R.X.-.6.3.U.Y.4.Y.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.0.J.X.Z.R.C.R.8......AMBO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.S.U.S. . . . . .S.H.-.2.2.4.D.B....................A...........................>..Gd-.;.A..MQ..L.1.S.E.1.8.6.D.E.0.9.9.0.R.1. . . . . . ......AMBO
Boot0005* ubuntu HD(1,MBR,0x265e5,0x800,0x79800)/File(\EFI\ubuntu\shimx64.efi)

f2c9c5c28ef51a83d75db5d108b1a310 sdb2/Boot/bkpbootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/Boot/bootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/Boot/grubx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdb2/ubuntu/grubx64.efi
64349b3622c65f495a99dbf6102496e3 sdb2/ubuntu/shimx64.efi
f2c9c5c28ef51a83d75db5d108b1a310 sdb2/Microsoft/Boot/bootmgfw.efi
46288d3cb6a91cb97d25474930f95dfb sdb2/Microsoft/Boot/bootmgr.efi
64349b3622c65f495a99dbf6102496e3 sdc1/BOOT/bkpbootx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee sdc1/BOOT/fbx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/BOOT/grubx64.efi
a660182adef313615746a665966d2ccc sdc1/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sdc1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sdc1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sdc1/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3 sda6/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee sda6/BOOT/fbx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sda6/BOOT/grubx64.efi
a660182adef313615746a665966d2ccc sda6/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sda6/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sda6/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sda6/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3 sda1/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee sda1/BOOT/fbx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sda1/BOOT/grubx64.efi
a660182adef313615746a665966d2ccc sda1/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sda1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sda1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sda1/ubuntu/shimx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sdc : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdd : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdc2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb4 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios

Partitions info (2/3): _________________________________________________________

sdc2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sdc1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

sdc2 : not--sepboot, with-boot, fstab-has-goodBOOT, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdc
sdd1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
sdb4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda5 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x000265e5
      Boot Start End Sectors Size Id Type
sda1 * 2048 499711 497664 243M ef EFI (FAT-12/16/32)
sda2 501758 1953523711 1953021954 931.3G 5 Extended
sda5 1529856 1953521663 1951991808 930.8G 83 Linux
sda6 503808 1527807 1024000 500M b W95 FAT32
Partition table entries are not in disk order.
Disk sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk identifier: E40E959F-DCA3-48EF-841A-943F995B42B0
        Start End Sectors Size Type
sdb1 2048 1085439 1083392 529M Windows recovery environment
sdb2 1085440 1290239 204800 100M EFI System
sdb3 1290240 1323007 32768 16M Microsoft reserved
sdb4 1323008 2931535871 2930212864 1.4T Microsoft basic data
Disk sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xa686c198
      Boot Start End Sectors Size Id Type
sdc1 * 2048 1026047 1024000 500M ef EFI (FAT-12/16/32)
sdc2 9764864 1953521663 1943756800 926.9G 83 Linux
sdc3 1026048 9764863 8738816 4.2G 82 Linux swap / Solaris
Partition table entries are not in disk order.
Disk sdd: 2.73 TiB, 3000590401536 bytes, 732566016 sectors
Disk identifier: 0x0004ab31
      Boot Start End Sectors Size Id Type
sdd1 256 732566015 732565760 2.7T 7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA HDWD110:;
1:1049kB:256MB:255MB:fat32::boot, esp;
2:257MB:1000GB:1000GB:::;
6:258MB:782MB:524MB:fat32::;
5:783MB:1000GB:999GB:ext4::;
sdb:3001GB:scsi:512:4096:gpt:ATA WDC WD30EFRX-68E:;
1:1049kB:556MB:555MB:ntfs:Basic data partition:hidden, diag;
2:556MB:661MB:105MB:fat32:EFI system partition:boot, esp;
3:661MB:677MB:16.8MB::Microsoft reserved partition:msftres;
4:677MB:1501GB:1500GB:ntfs:Basic data partition:msftdata;
sdc:1000GB:scsi:512:4096:msdos:ATA WDC WD10EURX-63U:;
1:1049kB:525MB:524MB:fat32::boot, esp;
3:525MB:5000MB:4474MB:linux-swap(v1)::;
2:5000MB:1000GB:995GB:ext4::;
sdd:3001GB:scsi:4096:4096:msdos:WD Ext HDD 1021:;
1:1049kB:3001GB:3001GB:ntfs::;

Free space >10MiB: ______________________________________________________________

sdb: 1431414MiB:2861588MiB:1430174MiB

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat E737-869B 000265e5-01
├─sda2 000265e5-02
├─sda5 ext4 cd3730f2-1be3-462a-b1cf-794bcbbea305 000265e5-05
└─sda6 vfat 392A-FE20 000265e5-06
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-f271-49eb-8dd0-90c9c5fe91cf Recovery Basic data partition
├─sdb2 vfat 90F5-BB29 d15811cc-44d0-45d1-9c7d-2de889e8e395 EFI system partition
├─sdb3 15ed441c-5572-4cc7-8063-045f93f4c2a3 Microsoft reserved partition
└─sdb4 ntfs 840003C50003BCE4 25556426-15f5-4ad5-af7b-0a73fc7ecd8b Basic data partition
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-0b30-4667-a766-b14e0091d2d4 a686c198-02
└─sdc3 swap 3a836bda-352b-46d4-aa08-c4392faf0b62 a686c198-03
sdd
└─sdd1 ntfs 06E2C8F9E2C8EE4D Elements
sde

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda5 780.4G 10% /boot
/dev/sda5 780.4G 10% /home
/dev/sda6 490.4M 2% /boot/efi
/dev/sdb1 104.5M 80% /mnt/boot-sav/sdb1
/dev/sdb2 61.1M 36% /mnt/boot-sav/sdb2
/dev/sdb4 582.4G 58% /mnt/boot-sav/sdb4
/dev/sdc1 487.9M 2% /mnt/boot-sav/sdc1
/dev/sdc2 784.9G 9% /
/dev/sdd1 186.3G 75% /media/tadiv/Elements2

Mount options (filtered): ______________________________________________________

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid cd3730f2-1be3-462a-b1cf-794bcbbea305 root hd0,msdos5
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

======================== sda5/grub/grub.cfg (filtered) =========================

Ubuntu c9b5fd30-0b30-4667-a766-b14e0091d2d4
Ubuntu, with Linux 5.15.0-71-generic c9b5fd30-0b30-4667-a766-b14e0091d2d4
Windows Boot Manager (on sdb2) osprober-efi-90F5-BB29
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

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

           GiB - GB File Fragment(s)
            ?? = ?? grub/grub.cfg 1
   9.490264893 = 10.190094336 vmlinuz 2
   9.490264893 = 10.190094336 vmlinuz-5.15.0-71-generic 2
   9.490264893 = 10.190094336 vmlinuz.old 2
  16.401363373 = 17.610829824 initrd.img 7
  16.401363373 = 17.610829824 initrd.img-5.15.0-71-generic 7
  16.401363373 = 17.610829824 initrd.img.old 7

===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid cd3730f2-1be3-462a-b1cf-794bcbbea305 root hd0,msdos5
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

========================== sdc2/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=c9b5fd30-0b30-4667-a766-b14e0091d2d4 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=cd3730f2-1be3-462a-b1cf-794bcbbea305 /home ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-729e-4af5-906e-7fbd5dcdcae4 none swap sw 0 0
/dev/disk/by-id/usb-Generic_STORAGE_DEVICE-0:0 /mnt/usb-Generic_STORAGE_DEVICE-0:0 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
UUID=cd3730f2-1be3-462a-b1cf-794bcbbea305 /boot ext4 defaults 0 2
UUID=E737-869B /boot/efi vfat defaults 0 1

======================= sdc2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

===================== sdc2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Dec 2 08:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 08:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec 2 08:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 08:18 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 08:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Dec 2 08:18 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 08:18 41_custom