How do I install the bootloader Ubunto 22.04
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
![]() |
#1 |
Reading through https:/
Revision history for this message
![]() |
#2 |
The command that you need may be grub-install
Revision history for this message
![]() |
#4 |
running grub-install I get:
Installing for x86-efi platform.
grub-install: error: cannot find EFI directory.
Revision history for this message
![]() |
#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-
Revision history for this message
![]() |
#6 |
I have tried that but get an error - I'm currently trying the steps listed in https:/
Revision history for this message
![]() |
#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
![]() |
#8 |
ubuntu@
boot-info: command not found
ubuntu@
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
![]() |
#9 |
Boot-info-script (the version I was able to download) provided:
=======
=> 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/
sdb3: _______
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: /tmp/BootInfo-
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-
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
Operating System:
Boot files: /boot/grub/grub.cfg
=======
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-
/dev/sda5 cd3730f2-
/dev/sdb1 CAECF468ECF44FE5 ntfs Recovery
/dev/sdb2 90F5-BB29 vfat
/dev/sdb3
/dev/sdb4 840003C50003BCE4 ntfs
/dev/sdc1 392A-FE20 vfat
/dev/sdc2 c9b5fd30-
/dev/sdc3 3a836bda-
/dev/sdd1 2022-08-
=======
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime,
/dev/sdc2 /media/
/dev/sdd1 /cdrom iso9660 (ro,noatime,
=======
-------
#
# 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.
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=
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default=
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_
menuentry_
else
menuentry_
fi
export menuentry_id_option
if [ "${prev_
set 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_
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=
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_
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_
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd2,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
font=
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_
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.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}
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_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
linux /boot/vmlinuz-
initrd /boot/initrd.
}
submenu 'Advanced options for Ubuntu' $menuentry_
menuentry 'Ubuntu, with Linux 5.15.0-70-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-70-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.15.0-70-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-70-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.15.0-69-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-69-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.15.0-69-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-69-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.4.0-120-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.4.0-120-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.4.0-120-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.4.0-120-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_
insmod part_gpt
insmod fat
set root='hd1,gpt2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 90F5-BB29
fi
chainloader /efi/Microsoft/
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
# 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.
### BEGIN /etc/grub.
if [ -f ${config_
source ${config_
elif [ -z "${config_
source $prefix/custom.cfg
fi
### END /etc/grub.
-------
=======
-------
# /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-
# /home was on /dev/sda5 during installation
UUID=cd3730f2-
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-
/dev/disk/
-------
=================== sdc2: Location of files loaded by Grub: =======
GiB - GB File Fragment(s)
=======
-------
set timeout=30
loadfont unicode
set menu_color_
set menu_color_
menuentry "Try or Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/
initrd /casper/initrd
}
menuentry "Ubuntu (safe graphics)" {
set gfxpayload=keep
linux /casper/vmlinuz nomodeset file=/cdrom/
initrd /casper/initrd
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/
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
}
fi
-------
=================== sdd1: Location of files loaded by Grub: =======
GiB - GB File Fragment(s)
=======
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
=======
cat: /tmp/BootInfo-
cat: /tmp/BootInfo-
Revision history for this message
![]() |
#10 |
Okay - so I followed the repair snstructions in this article
https:/
and when I boot the ubuntu drive, I get a grub> prompt...
This is for /dev/sdc ...
Revision history for this message
![]() |
#11 |
AND I now have the official boot-info-script installed thanks to https:/
Revision history for this message
![]() |
#12 |
... run the command
/usr/sbin/
Or, perhaps even more comfortable, don't use boot-info-script, but the info part of boot-repair, see https:/
Revision history for this message
![]() |
#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-
=======
=> 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-
set prefix=
---
=> 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)
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/
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/
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/
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
Operating System:
Boot files: /boot/grub/grub.cfg
=======
OS#1: Ubuntu 22.04.2 LTS on sdc2
OS#2: Windows 10 or 11 on sdb4
=======
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)
=======
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,
Boot0000* Windows Boot Manager HD(2,GPT,
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(
Boot0002* ubuntu HD(2,GPT,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
f2c9c5c28ef51a8
5ddf997e8b025bf
5ddf997e8b025bf
5ddf997e8b025bf
64349b3622c65f4
f2c9c5c28ef51a8
46288d3cb6a91cb
64349b3622c65f4
64349b3622c65f4
a9c517741ac3196
5ddf997e8b025bf
a660182adef3136
5ddf997e8b025bf
a660182adef3136
64349b3622c65f4
=======
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-
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:
1:1049kB:
2:257MB:
5:257MB:
sdb:3001GB:
1:1049kB:
2:556MB:
3:661MB:
4:677MB:
sdc:1000GB:
1:1049kB:
3:525MB:
2:5000MB:
sdd:124GB:
1:4129kB:
Free space >10MiB: _______
sdb: 1431414MiB:
blkid (filtered): _______
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 2dd298dd-
├─sda2 000265e5-02
└─sda5 ext4 cd3730f2-
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-
├─sdb2 vfat 90F5-BB29 d15811cc-
├─sdb3 15ed441c-
└─sdb4 ntfs 840003C50003BCE4 25556426-
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-
└─sdc3 swap 3a836bda-
sdd
└─sdd1 iso9660 2022-08-
Mount points (filtered): _______
/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): _______
=======
search.fs_uuid c9b5fd30-
set prefix=
configfile $prefix/grub.cfg
=======
Ubuntu c9b5fd30-
Ubuntu, with Linux 5.15.0-71-generic c9b5fd30-
Ubuntu, with Linux 5.15.0-70-generic c9b5fd30-
Ubuntu, with Linux 5.15.0-69-generic c9b5fd30-
Ubuntu, with Linux 5.4.0-120-generic c9b5fd30-
Windows Boot Manager (on sdb2) osprober-
### END /etc/grub.
### END /etc/grub.
=======
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=c9b5fd30-
# /home was on /dev/sda5 during installation
UUID=cd3730f2-
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-
/dev/disk/
UUID=392A-FE20 /boot/efi vfat defaults 0 1
=======
GRUB_DEFAULT=0
GRUB_TIMEOUT_
GRUB_TIMEOUT=10
GRUB_DISTRIBUTO
GRUB_CMDLINE_
GRUB_CMDLINE_
GRUB_DISABLE_
=======
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-
163.823280334 = 175.903907840 boot/vmlinuz-
85.268585205 = 91.556446208 boot/vmlinuz-
63.395545959 = 68.070449152 boot/vmlinuz-
163.823280334 = 175.903907840 boot/vmlinuz.old 1
63.632297516 = 68.324659200 boot/initrd.img 1
79.444805145 = 85.303209984 boot/initrd.
79.468254089 = 85.328388096 boot/initrd.
63.632297516 = 68.324659200 boot/initrd.
25.355175018 = 27.224911872 boot/initrd.
79.468254089 = 85.328388096 boot/initrd.img.old 2
=======
-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
=======
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
=======
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-
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/
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\**
Revision history for this message
![]() |
#14 |
The result of boot-repair are below... I'll reboot and let you know if it worked...
boot-repair-
=======
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-
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/
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\**
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-
rm /mnt/boot-
mv /mnt/boot-
rm /mnt/boot-
mv /mnt/boot-
Mount sdc1 on /home/ubuntu/
=======
chroot /home/ubuntu/dest grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.1
modprobe: FATAL: Module efivars not found in directory /lib/modules/
chroot /home/ubuntu/dest modprobe efivars
chroot /home/ubuntu/dest efibootmgr -v before grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,
Boot0000* Windows Boot Manager HD(2,GPT,
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(
Boot0002* ubuntu HD(2,GPT,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
chroot /home/ubuntu/dest uname -r
5.15.0-43-generic
chroot /home/ubuntu/dest grub-install --efi-directory
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-
cp /home/ubuntu/
cp: cannot create regular file '/mnt/boot-
df /dev/sdc1
mv /home/ubuntu/
cp /home/ubuntu/
mkdir: cannot create directory ‘/mnt/boot-
df /dev/sda1
mv winEFI cancelled (sda1 full)
touch /mnt/boot-
touch: cannot touch '/mnt/boot-
Error no /mnt/boot-
df /dev/sdb2
mv /mnt/boot-
cp /home/ubuntu/
chroot /home/ubuntu/dest grub-install --efi-directory
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,
Boot0000* Windows Boot Manager HD(2,GPT,
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(
Boot0002* ubuntu HD(2,GPT,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
Warning: NVram was not modified.
chroot /home/ubuntu/dest update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
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@
Unhide GRUB boot menu in sdc2/boot/
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/
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\
=======
=> 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-
set prefix=
---
=> 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)
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/
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/
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/
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
Operating System:
Boot files: /boot/grub/grub.cfg
=======
OS#1: Ubuntu 22.04.2 LTS on sdc2
OS#2: Windows 10 or 11 on sdb4
=======
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)
=======
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,
Boot0000* Windows Boot Manager HD(2,GPT,
Boot0001* UEFI: PNY USB 3.2.1 FD PciRoot(
Boot0002* ubuntu HD(2,GPT,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
f2c9c5c28ef51a8
5ddf997e8b025bf
5ddf997e8b025bf
5ddf997e8b025bf
64349b3622c65f4
f2c9c5c28ef51a8
46288d3cb6a91cb
64349b3622c65f4
64349b3622c65f4
a9c517741ac3196
5ddf997e8b025bf
a660182adef3136
5ddf997e8b025bf
a660182adef3136
64349b3622c65f4
=======
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-
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:
1:1049kB:
2:257MB:
5:257MB:
sdb:3001GB:
1:1049kB:
2:556MB:
3:661MB:
4:677MB:
sdc:1000GB:
1:1049kB:
3:525MB:
2:5000MB:
sdd:124GB:
1:4129kB:
Free space >10MiB: _______
sdb: 1431414MiB:
blkid (filtered): _______
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 2dd298dd-
├─sda2 000265e5-02
└─sda5 ext4 cd3730f2-
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-
├─sdb2 vfat 90F5-BB29 d15811cc-
├─sdb3 15ed441c-
└─sdb4 ntfs 840003C50003BCE4 25556426-
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-
└─sdc3 swap 3a836bda-
sdd
└─sdd1 iso9660 2022-08-
Mount points (filtered): _______
/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): _______
=======
search.fs_uuid c9b5fd30-
set prefix=
configfile $prefix/grub.cfg
=======
Ubuntu c9b5fd30-
Ubuntu, with Linux 5.15.0-71-generic c9b5fd30-
Ubuntu, with Linux 5.15.0-70-generic c9b5fd30-
Ubuntu, with Linux 5.15.0-69-generic c9b5fd30-
Ubuntu, with Linux 5.4.0-120-generic c9b5fd30-
Windows Boot Manager (on sdb2) osprober-
### END /etc/grub.
### END /etc/grub.
=======
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=c9b5fd30-
# /home was on /dev/sda5 during installation
UUID=cd3730f2-
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-
/dev/disk/
UUID=392A-FE20 /boot/efi vfat defaults 0 1
=======
GRUB_DEFAULT=0
GRUB_TIMEOUT_
GRUB_TIMEOUT=10
GRUB_DISTRIBUTO
GRUB_CMDLINE_
GRUB_CMDLINE_
GRUB_DISABLE_
=======
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-
163.823280334 = 175.903907840 boot/vmlinuz-
85.268585205 = 91.556446208 boot/vmlinuz-
63.395545959 = 68.070449152 boot/vmlinuz-
163.823280334 = 175.903907840 boot/vmlinuz.old 1
63.632297516 = 68.324659200 boot/initrd.img 1
79.444805145 = 85.303209984 boot/initrd.
79.468254089 = 85.328388096 boot/initrd.
63.632297516 = 68.324659200 boot/initrd.
25.355175018 = 27.224911872 boot/initrd.
79.468254089 = 85.328388096 boot/initrd.img.old 2
=======
-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
=======
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
=======
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
Revision history for this message
![]() |
#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
![]() |
#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
![]() |
#18 |
What happens if you select the "ubuntu" or the "Windows" entry or "P1" for booting?
Revision history for this message
![]() |
#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/
Entering rescue mode...
grub rescue>"
Revision history for this message
![]() |
#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
![]() |
#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
![]() |
#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:/
When that correctly starts Ubuntu, then you can reinstall the grub boot loader that it works automatically.
Revision history for this message
![]() |
#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
![]() |
#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-
├─sda2 000265e5-02
└─sda5 ext4 cd3730f2-
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-
├─sdb2 vfat 90F5-BB29 d15811cc-
├─sdb3 15ed441c-
└─sdb4 ntfs 840003C50003BCE4 25556426-
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-
└─sdc3 swap 3a836bda-
sdd
└─sdd1 iso9660 2022-08-
(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
![]() |
#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=
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-
[sudo] password for tadiv:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
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@
Adding boot menu entry for UEFI Firmware Settings ...
done
tadiv@tadiv-
Installing for x86_64-efi platform.
Installation finished. No error reported.
tadiv@tadiv-
I also tried adding an update-grub after the install, but it seems to have made no difference...
Suggestions?
Revision history for this message
![]() |
#27 |
I updated all the packages and am trying the following:
tadiv@tadiv-
[sudo] password for tadiv:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
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@
Adding boot menu entry for UEFI Firmware Settings ...
done
tadiv@tadiv-
Installing for x86_64-efi platform.
Installation finished. No error reported.
tadiv@tadiv-
I'll report back as soon as I reboot...
Revision history for this message
![]() |
#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-
tadiv@tadiv-
Desktop Downloads newhome RESULTS.txt snap xorg.conf.new
tadiv@tadiv-
=======
=> 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-
set prefix=
---
=> 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)
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/
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/
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/
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: 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-
/dev/sda5 cd3730f2-
/dev/sdb1 CAECF468ECF44FE5 ntfs Recovery
/dev/sdb2 90F5-BB29 vfat
/dev/sdb3
/dev/sdb4 840003C50003BCE4 ntfs
/dev/sdc1 392A-FE20 vfat
/dev/sdc2 c9b5fd30-
/dev/sdc3 3a836bda-
=======
total 0
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-ASUS_
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-TOSHIBA_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-TOSHIBA_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-TOSHIBA_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-TOSHIBA_
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 9 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 10 May 3 09:58 ata-WDC_
lrwxrwxrwx 1 root root 9 May 3 09:58 wwn-0x5000039fd
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x5000039fd
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x5000039fd
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x5000039fd
lrwxrwxrwx 1 root root 9 May 3 09:58 wwn-0x50014ee2b
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee2b
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee2b
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee2b
lrwxrwxrwx 1 root root 9 May 3 09:58 wwn-0x50014ee65
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65
lrwxrwxrwx 1 root root 10 May 3 09:58 wwn-0x50014ee65
=======
Device Mount_Point Type Options
/dev/sda5 /home ext4 (rw,relatime)
/dev/sdc1 /boot/efi vfat (rw,relatime,
/dev/sdc2 / ext4 (rw,relatime,
/dev/sdc2 /var/snap/
=======
-------
search.fs_uuid c9b5fd30-
set prefix=
configfile $prefix/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.
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=
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default=
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_
menuentry_
else
menuentry_
fi
export menuentry_id_option
if [ "${prev_
set 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_
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=
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_
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_
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd2,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
font=
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_
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.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}
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_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
linux /boot/vmlinuz-
initrd /boot/initrd.
}
submenu 'Advanced options for Ubuntu' $menuentry_
menuentry 'Ubuntu, with Linux 5.15.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-71-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.15.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-71-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.15.0-70-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-70-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.15.0-70-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.15.0-70-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.4.0-120-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.4.0-120-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 5.4.0-120-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
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_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root c9b5fd30-
fi
echo 'Loading Linux 5.4.0-120-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_
insmod part_gpt
insmod fat
set root='hd1,gpt2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 90F5-BB29
fi
chainloader /efi/Microsoft/
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'UEFI Firmware Settings' $menuentry_
fwsetup
}
### END /etc/grub.
### BEGIN /etc/grub.
# 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.
### BEGIN /etc/grub.
if [ -f ${config_
source ${config_
elif [ -z "${config_
source $prefix/custom.cfg
fi
### END /etc/grub.
-------
=======
-------
# /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-
# /home was on /dev/sda5 during installation
UUID=cd3730f2-
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-
/dev/disk/
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-
85.268585205 = 91.556446208 boot/vmlinuz-
63.395545959 = 68.070449152 boot/vmlinuz-
163.823280334 = 175.903907840 boot/vmlinuz.old 1
63.632297516 = 68.324659200 boot/initrd.img 1
79.468254089 = 85.328388096 boot/initrd.
63.632297516 = 68.324659200 boot/initrd.
25.355175018 = 27.224911872 boot/initrd.
79.468254089 = 85.328388096 boot/initrd.img.old 2
=======
/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
![]() |
#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
![]() |
#30 |
Okay - fixed! The following post will list what I did to make it work.
Revision history for this message
![]() |
#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-
=======
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-
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/
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\**
User settings: _______
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
ls: cannot access '/boot'
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-
/boot/efi added in sdc2/fstab
rm /mnt/boot-
mv /mnt/boot-
rm /mnt/boot-
mv /mnt/boot-
rm /boot/efi/
mv /boot/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
=======
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,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
Boot0005* ubuntu HD(2,GPT,
uname -r
5.15.0-71-generic
grub-install --efi-directory
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/
cp /boot/efi/
df /dev/sdb2
mv /mnt/boot-
cp /boot/efi/
df /dev/sdc1
mv /mnt/boot-
cp /boot/efi/
grub-install --efi-directory
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,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
Boot0005* ubuntu HD(1,MBR,
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
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@
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in sdc2/boot/
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/
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\
=======
=> 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-
set prefix=
---
=> 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-
set prefix=
---
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/
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
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/
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/
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/
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
Operating System:
Boot files:
=======
OS#1: Ubuntu 22.04.2 LTS on sdc2
OS#2: Windows 10 or 11 on sdb4
=======
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-
df -Th / : /dev/sdc2 ext4 913G 81G 785G 10% /
=======
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,
Boot0003* Hard Drive BBS(HD,
Boot0004* CD/DVD Drive BBS(CDROM,
Boot0005* ubuntu HD(1,MBR,
f2c9c5c28ef51a8
5ddf997e8b025bf
5ddf997e8b025bf
5ddf997e8b025bf
64349b3622c65f4
f2c9c5c28ef51a8
46288d3cb6a91cb
64349b3622c65f4
5ddf997e8b025bf
a9c517741ac3196
5ddf997e8b025bf
a660182adef3136
5ddf997e8b025bf
a660182adef3136
64349b3622c65f4
64349b3622c65f4
a9c517741ac3196
5ddf997e8b025bf
a660182adef3136
5ddf997e8b025bf
a660182adef3136
64349b3622c65f4
64349b3622c65f4
a9c517741ac3196
5ddf997e8b025bf
a660182adef3136
5ddf997e8b025bf
a660182adef3136
64349b3622c65f4
=======
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-
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:
1:1049kB:
2:257MB:
6:258MB:
5:783MB:
sdb:3001GB:
1:1049kB:
2:556MB:
3:661MB:
4:677MB:
sdc:1000GB:
1:1049kB:
3:525MB:
2:5000MB:
sdd:3001GB:
1:1049kB:
Free space >10MiB: _______
sdb: 1431414MiB:
blkid (filtered): _______
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat E737-869B 000265e5-01
├─sda2 000265e5-02
├─sda5 ext4 cd3730f2-
└─sda6 vfat 392A-FE20 000265e5-06
sdb
├─sdb1 ntfs CAECF468ECF44FE5 7492dd97-
├─sdb2 vfat 90F5-BB29 d15811cc-
├─sdb3 15ed441c-
└─sdb4 ntfs 840003C50003BCE4 25556426-
sdc
├─sdc1 vfat 392A-FE20 a686c198-01
├─sdc2 ext4 c9b5fd30-
└─sdc3 swap 3a836bda-
sdd
└─sdd1 ntfs 06E2C8F9E2C8EE4D Elements
sde
Mount points (filtered): _______
/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/
Mount options (filtered): _______
=======
search.fs_uuid cd3730f2-
set prefix=
configfile $prefix/grub.cfg
=======
Ubuntu c9b5fd30-
Ubuntu, with Linux 5.15.0-71-generic c9b5fd30-
Windows Boot Manager (on sdb2) osprober-
### END /etc/grub.
UEFI Firmware Settings uefi-firmware
### END /etc/grub.
=======
GiB - GB File Fragment(s)
?? = ?? grub/grub.cfg 1
9.490264893 = 10.190094336 vmlinuz 2
9.490264893 = 10.190094336 vmlinuz-
9.490264893 = 10.190094336 vmlinuz.old 2
16.401363373 = 17.610829824 initrd.img 7
16.401363373 = 17.610829824 initrd.
16.401363373 = 17.610829824 initrd.img.old 7
=======
search.fs_uuid cd3730f2-
set prefix=
configfile $prefix/grub.cfg
=======
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=c9b5fd30-
# /home was on /dev/sda5 during installation
UUID=cd3730f2-
# swap was on /dev/sdb1 during installation
UUID=aa3ad0e8-
/dev/disk/
UUID=cd3730f2-
UUID=E737-869B /boot/efi vfat defaults 0 1
=======
GRUB_DEFAULT=0
GRUB_TIMEOUT_
GRUB_TIMEOUT=10
GRUB_DISTRIBUTO
GRUB_CMDLINE_
GRUB_CMDLINE_
GRUB_DISABLE_
=======
-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