help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading multiboot failed


From: Markbiophysicist
Subject: Loading multiboot failed
Date: Thu, 25 Jan 2024 16:57:09 +0100

Hello,

Already from the Kali installer itself I have had problems with dual boot.
The problem is that the other previously installed operating system does
not recognize me. (Windows 10).

I have modified the /etc/default/grub file to enable the following
configuration key:
GRUB_DISABLE_OS_PROBER="false"

I have done some testing by modifying the /etc/grub.d/40-custom file and
adding custom entries and then running 'sudo update-grub' and testing the
results. None have been successful.

The last attempt gave me the following error:
invalid signature

Please, I would appreciate it if you could tell me if there is any way to
solve it or if there is a configuration error.

The output of the bootinfo analysis script is as follows:

                 Boot Info Script 0.78      [09 October 2019]


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

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

    modules

---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk

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

sda1:
__________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:        /efi/Boot/bootx64.efi /efi/kali/grubx64.efi
                       /efi/Microsoft/Boot/bootmgfw.efi
                       /efi/Microsoft/Boot/bootmgr.efi
                       /efi/Microsoft/Boot/memtest.efi

sda2:
__________________________________________________________________________

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

sda3:
__________________________________________________________________________

    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

sda4:
__________________________________________________________________________

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

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:       swap
    Boot sector type:  -
    Boot sector info:

sdb3:
__________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Kali GNU/Linux Rolling
    Boot files:        /boot/grub/grub.cfg /etc/fstab
                       /boot/grub/i386-pc/core.img

sdb4:
__________________________________________________________________________

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

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

Drive: sda
_____________________________________________________________________
Disk /dev/sda: 232,89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: ST3250310AS
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/sda1                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sda1 ends after the last sector of /dev/sda

GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1   +             2,048       206,847       204,800 EFI System
partition
/dev/sda2   +           206,848       239,615        32,768 Microsoft
Reserved Partition (Windows)
/dev/sda3               239,616   487,281,676   487,042,061 Data partition
(Windows/Linux)
/dev/sda4   +  R    487,282,688   488,394,751     1,112,064 Windows
Recovery Environment (Windows)

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

Drive: sdb
_____________________________________________________________________
Disk /dev/sdb: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM008-2UB1
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 3,907,029,167 3,907,029,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048 2,858,450,943 2,858,448,896 Data partition
(Windows/Linux)
/dev/sdb2         2,858,450,944 2,862,356,479     3,905,536 Swap partition
(Linux)
/dev/sdb3         2,862,356,480 3,155,324,927   292,968,448 Data partition
(Linux)
/dev/sdb4         3,155,324,928 3,907,028,991   751,704,064 Data partition
(Windows/Linux)

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

"blkid" output:
________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        C8F8-1997                              vfat
/dev/sda2
/dev/sda3        9CE6FFE4E6FFBD18                       ntfs       WINDOWS
/dev/sda4        6A600AB9600A8BCF                       ntfs
/dev/sdb1        8092A7D592A7CE4A                       ntfs
SEAGATE2TB
/dev/sdb2        10311dcf-7bf5-4ab1-b285-d5d76a6f2880   swap
/dev/sdb3        3cd77291-493b-423b-a8bc-47e9a17645bf   ext4
/dev/sdb4        55F9584123751590                       ntfs

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

total 0
lrwxrwxrwx 1 root root  9 ene 25 16:01 ata-ST2000DM008-2UB102_ZK30JS0P ->
../../sdb
lrwxrwxrwx 1 root root 10 ene 25 16:01
ata-ST2000DM008-2UB102_ZK30JS0P-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 ene 25 16:01
ata-ST2000DM008-2UB102_ZK30JS0P-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 ene 25 16:01
ata-ST2000DM008-2UB102_ZK30JS0P-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 ene 25 16:01
ata-ST2000DM008-2UB102_ZK30JS0P-part4 -> ../../sdb4
lrwxrwxrwx 1 root root  9 ene 25 16:01 ata-ST3250310AS_6RY4WHFP -> ../../sda
lrwxrwxrwx 1 root root 10 ene 25 16:01 ata-ST3250310AS_6RY4WHFP-part1 ->
../../sda1
lrwxrwxrwx 1 root root 10 ene 25 16:01 ata-ST3250310AS_6RY4WHFP-part2 ->
../../sda2
lrwxrwxrwx 1 root root 10 ene 25 16:01 ata-ST3250310AS_6RY4WHFP-part3 ->
../../sda3
lrwxrwxrwx 1 root root 10 ene 25 16:01 ata-ST3250310AS_6RY4WHFP-part4 ->
../../sda4
lrwxrwxrwx 1 root root  9 ene 25 16:01 wwn-0x5000c500e6d94597 -> ../../sdb
lrwxrwxrwx 1 root root 10 ene 25 16:01 wwn-0x5000c500e6d94597-part1 ->
../../sdb1
lrwxrwxrwx 1 root root 10 ene 25 16:01 wwn-0x5000c500e6d94597-part2 ->
../../sdb2
lrwxrwxrwx 1 root root 10 ene 25 16:01 wwn-0x5000c500e6d94597-part3 ->
../../sdb3
lrwxrwxrwx 1 root root 10 ene 25 16:01 wwn-0x5000c500e6d94597-part4 ->
../../sdb4

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

Device           Mount_Point              Type       Options

/dev/sdb1        /media/kraso/SEAGATE2TB  fuseblk
 (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)
/dev/sdb3        /                        ext4
(rw,relatime,errors=remount-ro)


=========================== sdb3/boot/grub/grub.cfg:
===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3
--hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3
 3cd77291-493b-423b-a8bc-47e9a17645bf
else
  search --no-floppy --fs-uuid --set=root
3cd77291-493b-423b-a8bc-47e9a17645bf
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1280x720,1280x800,auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=es_ES
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3
--hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3
 3cd77291-493b-423b-a8bc-47e9a17645bf
else
  search --no-floppy --fs-uuid --set=root
3cd77291-493b-423b-a8bc-47e9a17645bf
fi
insmod gfxmenu
insmod png
set theme=($root)/boot/grub/themes/kali/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3
--hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3
 3cd77291-493b-423b-a8bc-47e9a17645bf
else
  search --no-floppy --fs-uuid --set=root
3cd77291-493b-423b-a8bc-47e9a17645bf
fi
insmod png
if background_image /usr/share/grub/themes/kali/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Kali GNU/Linux' --class kali --class gnu-linux --class gnu
--class os $menuentry_id_option
'gnulinux-simple-3cd77291-493b-423b-a8bc-47e9a17645bf' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
 search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3
--hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3
 3cd77291-493b-423b-a8bc-47e9a17645bf
else
 search --no-floppy --fs-uuid --set=root
3cd77291-493b-423b-a8bc-47e9a17645bf
fi
echo 'Loading Linux 6.5.0-kali3-amd64 ...'
linux /boot/vmlinuz-6.5.0-kali3-amd64
root=UUID=3cd77291-493b-423b-a8bc-47e9a17645bf ro  quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-kali3-amd64
}
submenu 'Advanced options for Kali GNU/Linux' $menuentry_id_option
'gnulinux-advanced-3cd77291-493b-423b-a8bc-47e9a17645bf' {
menuentry 'Kali GNU/Linux, with Linux 6.5.0-kali3-amd64' --class kali
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-6.5.0-kali3-amd64-advanced-3cd77291-493b-423b-a8bc-47e9a17645bf' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
 search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3
--hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3
 3cd77291-493b-423b-a8bc-47e9a17645bf
else
 search --no-floppy --fs-uuid --set=root
3cd77291-493b-423b-a8bc-47e9a17645bf
fi
echo 'Loading Linux 6.5.0-kali3-amd64 ...'
linux /boot/vmlinuz-6.5.0-kali3-amd64
root=UUID=3cd77291-493b-423b-a8bc-47e9a17645bf ro  quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-kali3-amd64
}
menuentry 'Kali GNU/Linux, with Linux 6.5.0-kali3-amd64 (recovery mode)'
--class kali --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-6.5.0-kali3-amd64-recovery-3cd77291-493b-423b-a8bc-47e9a17645bf' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
 search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3
--hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3
 3cd77291-493b-423b-a8bc-47e9a17645bf
else
 search --no-floppy --fs-uuid --set=root
3cd77291-493b-423b-a8bc-47e9a17645bf
fi
echo 'Loading Linux 6.5.0-kali3-amd64 ...'
linux /boot/vmlinuz-6.5.0-kali3-amd64
root=UUID=3cd77291-493b-423b-a8bc-47e9a17645bf ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-kali3-amd64
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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/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.

# menuentry "Windows 11" --class windows --class os {
# search --fs-uuid --no-floppy --set=root 9CE6FFE4E6FFBD18
# chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
# }

menuentry "Windows 10" {
set root='(hd1,1)'
insmod part_gpt
insmod fat
insmod chain
chainloader /EFI/Microsoft/Boot/bootmgr.efi
}

### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb3/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).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=3cd77291-493b-423b-a8bc-47e9a17645bf /               ext4
 errors=remount-ro 0       1
# swap was on /dev/sdb2 during installation
UUID=10311dcf-7bf5-4ab1-b285-d5d76a6f2880 none            swap    sw
       0       0

UUID=8092A7D592A7CE4A /media/kraso/SEAGATE2TB ntfs
user,auto,errors=remount-ro,exec,rw 0 0
--------------------------------------------------------------------------------

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

           GiB - GB             File
Fragment(s)

1366.599941254 = 1467.375513600 boot/grub/grub.cfg
    1
1455.174846649 = 1562.482094080 boot/grub/i386-pc/core.img
    1
1365.214580536 = 1465.887993856 boot/vmlinuz-6.5.0-kali3-amd64
    1
1365.214580536 = 1465.887993856 vmlinuz
   1
1365.214580536 = 1465.887993856 vmlinuz.old
   1
1388.278167725 = 1490.652332032 boot/initrd.img-6.5.0-kali3-amd64
   1
1388.278167725 = 1490.652332032 initrd.img
    1
1388.278167725 = 1490.652332032 initrd.img.old
    1

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


/dev/sda1: unknown GPT attributes
8000000000000000

/dev/sda2: unknown GPT attributes
8000000000000000

/dev/sda4: unknown GPT attributes
8000000000000001
Unknown BootLoader on sdb4

00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS
 .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 70 12 bc
 |........?....p..|
00000020  00 00 00 00 80 00 80 00  ff 17 ce 2c 00 00 00 00
 |...........,....|
00000030  04 00 00 00 00 00 00 00  7f e1 cc 02 00 00 00 00
 |................|
00000040  f6 00 00 00 01 00 00 00  90 15 75 23 41 58 f9 55
 |..........u#AX.U|
00000050  00 00 00 00 0e 1f be 71  7c ac 22 c0 74 0b 56 b4
 |.......q|.".t.V.|
00000060  0e bb 07 00 cd 10 5e eb  f0 32 e4 cd 16 cd 19 eb
 |......^..2......|
00000070  fe 54 68 69 73 20 69 73  20 6e 6f 74 20 61 20 62  |.This is not a
b|
00000080  6f 6f 74 61 62 6c 65 20  64 69 73 6b 2e 20 50 6c  |ootable disk.
Pl|
00000090  65 61 73 65 20 69 6e 73  65 72 74 20 61 20 62 6f  |ease insert a
bo|
000000a0  6f 74 61 62 6c 65 20 66  6c 6f 70 70 79 20 61 6e  |otable floppy
an|
000000b0  64 0d 0a 70 72 65 73 73  20 61 6e 79 20 6b 65 79  |d..press any
key|
000000c0  20 74 6f 20 74 72 79 20  61 67 61 69 6e 20 2e 2e  | to try again
..|
000000d0  2e 20 0d 0a 00 00 00 00  00 00 00 00 00 00 00 00  |.
..............|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa
 |..............U.|
00000200


reply via email to

[Prev in Thread] Current Thread [Next in Thread]