Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

"Internal hard disk drive not found" issue

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#21 Post by p.H »

syntone wrote: 2021-12-07 14:16 I hit BOOTX64.EFI > prompt "Input Boot Option Name:" > hit >
------------------------------------------------------
--WARNING:--
Please set Boot Option Name and File Path
Did you type a name for the boot option when prompted ?

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#22 Post by syntone »

where to type it? its just dos prompt [enter], arrow keys, ESC

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#23 Post by p.H »

I don't know, I do not see the screen. "Input Boot Option Name:" suggests that you are prompted to type something.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#24 Post by syntone »

yes, tried to add shimx64 (extension .efi not allowed), option appears in boot option, but this not help. So I should to convert EFI partition to legacy BIOS partition somehow.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#25 Post by p.H »

Enable legacy boot in the BIOS.
Boot the Debian installer in rescue mode.
Make sure network is available.
Select /dev/sda3.
Launch a shell in the installed system.
Run

Code: Select all

apt-get install grub-pc-bin
grub-install --target=i386-pc --force /dev/sda
sfdisk -Y dos -A /dev/sda 2
If you use a live system, you're on your own, I am not going to detail how to chroot.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#26 Post by syntone »

OK, I just successfully updated BIOS to the latest version. I want roll back to EFI firmware and reinstall grub-efi, to see if this can solve the issue.

Code: Select all

user@debian:~$ sudo mount /dev/sda3 /mnt
user@debian:~$ sudo mount mount -t proc none /mnt/proc 
mount: bad usage
Try 'mount --help' for more information.
user@debian:~$ sudo mount -t proc none /mnt/proc
user@debian:~$ sudo mount -t sysfs none /mnt/sys
user@debian:~$ sudo mount -o rbind,rw /dev /mnt/dev
user@debian:~$ chroot /mnt /bin/bash
bash: chroot: command not found
user@debian:~$ sudo chroot /mnt /bin/bash
root@debian:/# mount -a
root@debian:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [43.7 kB]
Get:5 http://security.debian.org/debian-security bullseye-security/main Sources [69.7 kB]
Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [99.5 kB]
Get:7 http://deb.debian.org/debian bullseye-backports/main Sources.diff/Index [63.3 kB]
Get:8 http://deb.debian.org/debian bullseye-backports/main amd64 Packages.diff/Index [63.3 kB]
Get:9 http://deb.debian.org/debian bullseye-backports/main Translation-en.diff/Index [33.0 kB]
Get:10 http://deb.debian.org/debian bullseye-backports/main Sources T-2021-12-15-2007.08-F-2021-12-14-2003.06.pdiff [9,406 B]
Get:11 http://deb.debian.org/debian bullseye-backports/main amd64 Packages T-2021-12-15-2007.08-F-2021-12-15-0203.45.pdiff [5,478 B]
Get:10 http://deb.debian.org/debian bullseye-backports/main Sources T-2021-12-15-2007.08-F-2021-12-14-2003.06.pdiff [9,406 B]
Get:11 http://deb.debian.org/debian bullseye-backports/main amd64 Packages T-2021-12-15-2007.08-F-2021-12-15-0203.45.pdiff [5,478 B]
Get:12 http://deb.debian.org/debian bullseye-backports/main Translation-en T-2021-12-15-2007.08-F-2021-12-15-2007.08.pdiff [7,068 B]
Get:12 http://deb.debian.org/debian bullseye-backports/main Translation-en T-2021-12-15-2007.08-F-2021-12-15-2007.08.pdiff [7,068 B]
Fetched 478 kB in 2s (290 kB/s)                                                
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
223 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@debian:/# apt install grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  efibootmgr mokutil shim-helpers-amd64-signed shim-signed shim-signed-common
  shim-unsigned
Recommended packages:
  secureboot-db
The following packages will be REMOVED:
  grub-pc
The following NEW packages will be installed:
  efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed mokutil
  shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned
0 upgraded, 9 newly installed, 1 to remove and 223 not upgraded.
Need to get 2,325 kB of archives.
After this operation, 18.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main amd64 efibootmgr amd64 17-1 [31.2 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 grub-efi-amd64-bin amd64 2.04-20 [699 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 grub-efi-amd64 amd64 2.04-20 [39.8 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 grub-efi-amd64-signed amd64 1+2.04+20 [469 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 mokutil amd64 0.3.0+1538710437.fb6250f-1+b1 [22.9 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 shim-unsigned amd64 15.4-7 [431 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 shim-helpers-amd64-signed amd64 1+15.4+7 [298 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 shim-signed-common all 1.38+15.4-7 [13.6 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 shim-signed amd64 1.38+15.4-7 [320 kB]
Fetched 2,325 kB in 1s (3,325 kB/s)  
Preconfiguring packages ...
(Reading database ... 221646 files and directories currently installed.)
Removing grub-pc (2.04-20) ...
Selecting previously unselected package efibootmgr.
(Reading database ... 221635 files and directories currently installed.)
Preparing to unpack .../0-efibootmgr_17-1_amd64.deb ...
Unpacking efibootmgr (17-1) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../1-grub-efi-amd64-bin_2.04-20_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-20) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../2-grub-efi-amd64_2.04-20_amd64.deb ...
Unpacking grub-efi-amd64 (2.04-20) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../3-grub-efi-amd64-signed_1+2.04+20_amd64.deb ...
Unpacking grub-efi-amd64-signed (1+2.04+20) ...
Selecting previously unselected package mokutil.
Preparing to unpack .../4-mokutil_0.3.0+1538710437.fb6250f-1+b1_amd64.deb ...
Unpacking mokutil (0.3.0+1538710437.fb6250f-1+b1) ...
Selecting previously unselected package shim-unsigned.
Preparing to unpack .../5-shim-unsigned_15.4-7_amd64.deb ...
Unpacking shim-unsigned (15.4-7) ...
Selecting previously unselected package shim-helpers-amd64-signed.
Preparing to unpack .../6-shim-helpers-amd64-signed_1+15.4+7_amd64.deb ...
Unpacking shim-helpers-amd64-signed (1+15.4+7) ...
Selecting previously unselected package shim-signed-common.
Preparing to unpack .../7-shim-signed-common_1.38+15.4-7_all.deb ...
Unpacking shim-signed-common (1.38+15.4-7) ...
Selecting previously unselected package shim-signed:amd64.
Preparing to unpack .../8-shim-signed_1.38+15.4-7_amd64.deb ...
Unpacking shim-signed:amd64 (1.38+15.4-7) ...
Setting up efibootmgr (17-1) ...
Setting up mokutil (0.3.0+1538710437.fb6250f-1+b1) ...
Setting up grub-efi-amd64-signed (1+2.04+20) ...
Setting up shim-signed-common (1.38+15.4-7) ...
No DKMS packages installed: not changing Secure Boot validation state.
Setting up grub-efi-amd64-bin (2.04-20) ...
Setting up shim-unsigned (15.4-7) ...
Setting up grub-efi-amd64 (2.04-20) ...
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.ma
p.
done
Setting up shim-helpers-amd64-signed (1+15.4+7) ...
Setting up shim-signed:amd64 (1.38+15.4-7) ...
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for man-db (2.9.4-2) ...
root@debian:/# nano /etc/fstab
root@debian:/# efibootmgr -v
EFI variables are not supported on this system.
root@debian:/# mount /dev/sda1
root@debian:/# efibootmgr
EFI variables are not supported on this system.
root@debian:/# cd /sys/firmware/efi/efivars
root@debian:/sys/firmware/efi/efivars# cd /
root@debian:/# mount -t efivarfs none /sys/firmware/efi/efivars
root@debian:/# mount /dev/sda1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
root@debian:/# grub-install /dev/sda
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@debian:/# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
root@debian:/# efibootmgr -v
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0000,0003,0004,0008,0009,000A
Boot0000* debian	HD(1,GPT,c906677e-c2c2-42b5-b818-f0b19c046e95,0x800,0xfa000)/File(\EFI\debian\shimx64.efi)
Boot0003* UEFI OS	HD(2,MBR,0xfcba9dae,0x14000,0x1388000)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0004* UEFI OS	HD(2,MBR,0xb45e11b8,0xaf800,0x600000)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0008* UEFI:  USB DISK 2.0 PMAP	PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0xcd9a6b9,0x5d4,0x146a)..BO
Boot0009* Onboard NIC(IPV4)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(20474749bc75,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot000A* Onboard NIC(IPV6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(20474749bc75,0)/IPv6([::]:<->[::]:,0,0)..BO
root@debian:/# umount /home
root@debian:/# exit
exit
user@debian:~$ sudo umount /mnt/dev
umount: /mnt/dev: target is busy.
user@debian:~$ sudo umount /mnt/sys
umount: /mnt/sys: target is busy.
user@debian:~$ sudo umount /mnt/proc
user@debian:~$ sudo umount /mnt
umount: /mnt: target is busy.
user@debian:~$ 

Code: Select all

                 Boot Info Script 0.78      [09 October 2019]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => No known boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/boot/bootx64.efi /efi/boot/grubx64.efi 
                       /efi/Debian/fbx64.efi /efi/Debian/grubx64.efi 
                       /efi/Debian/mmx64.efi /efi/Debian/shimx64.efi 
                       /efi/Debian/grub.cfg

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Debian GNU/Linux 11 (bullseye)
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdb2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb2 starts at sector 1492. According to the info in 
                       the boot sector, sdb2 has 0 sectors.
    Operating System:  
    Boot files:        /efi/boot/bootx64.efi /efi/boot/grubx64.efi 
                       /efi/debian/grub.cfg

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: TOSHIBA HDWK105 
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                   1   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048     1,026,047     1,024,000 EFI System partition
/dev/sda2             1,026,048     9,414,655     8,388,608 Swap partition (Linux)
/dev/sda3             9,414,656    61,843,455    52,428,800 Data partition (Linux)
/dev/sda4            61,843,456   976,773,119   914,929,664 Data partition (Linux)

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

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.22 GiB, 7747928064 bytes, 15132672 sectors
Disk model: USB DISK 2.0    
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/sdb1    *              0     6,240,351     6,240,352   0 Empty
/dev/sdb2               1,492         6,717         5,226  ef EFI (FAT-12/16/32)

/dev/sdb1 overlaps with /dev/sdb2

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

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1   +  R              0     6,240,287     6,240,288 Data partition (Windows/Linux)
/dev/sdb2   +  R          1,492         6,715         5,224 Data partition (Windows/Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        2F1D-01E6                              vfat       BOOT
/dev/sda2        1274a782-676a-41b0-8509-92f73bd675c3   swap       swap
/dev/sda3        13503165-9c5f-498d-ab5f-0c13f11cbaa6   ext4       root
/dev/sda4        93c98828-5fb8-4c0e-b6bf-de8d13a9d22e   ext4       home
/dev/sdb1        2021-10-09-12-36-57-00                 iso9660    d-live nf 11.1.0 xf amd64
/dev/sdb2        DEB0-0001                              vfat       

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

total 0
lrwxrwxrwx 1 root root  9 Dec 17 15:36 ata-TOSHIBA_HDWK105_X07PT7I7T -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 17 15:36 ata-TOSHIBA_HDWK105_X07PT7I7T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 17 15:36 ata-TOSHIBA_HDWK105_X07PT7I7T-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 17 15:36 ata-TOSHIBA_HDWK105_X07PT7I7T-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 17 15:36 ata-TOSHIBA_HDWK105_X07PT7I7T-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Dec 17 15:36 ata-TSSTcorp_DVD+_-RW_SU-208GB_S16A6YEGB01AS8 -> ../../sr0
lrwxrwxrwx 1 root root  9 Dec 17 15:36 usb-_USB_DISK_2.0_07190B2E313DA622-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 17 15:36 usb-_USB_DISK_2.0_07190B2E313DA622-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 17 15:36 usb-_USB_DISK_2.0_07190B2E313DA622-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Dec 17 15:36 wwn-0x5000039a51c019f4 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 17 15:36 wwn-0x5000039a51c019f4-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 17 15:36 wwn-0x5000039a51c019f4-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 17 15:36 wwn-0x5000039a51c019f4-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 17 15:36 wwn-0x5000039a51c019f4-part4 -> ../../sda4

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

Device           Mount_Point              Type       Options

/dev/loop0       /run/live/rootfs/filesystem.squashfs squashfs   (ro,noatime)
/dev/loop0       /usr/lib/live/mount/rootfs/filesystem.squashfs squashfs   (ro,noatime)
/dev/sdb1        /run/live/medium         iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
/dev/sdb1        /usr/lib/live/mount/medium iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)


========================== sda1/efi/Debian/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 13503165-9c5f-498d-ab5f-0c13f11cbaa6 root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sda3/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  13503165-9c5f-498d-ab5f-0c13f11cbaa6
else
  search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=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='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  13503165-9c5f-498d-ab5f-0c13f11cbaa6
else
  search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
fi
insmod png
if background_image /usr/share/desktop-base/homeworld-theme/grub/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 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  13503165-9c5f-498d-ab5f-0c13f11cbaa6
	else
	  search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
	fi
	echo	'Loading Linux 5.10.0-9-amd64 ...'
	linux	/boot/vmlinuz-5.10.0-9-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-5.10.0-9-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-advanced-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  13503165-9c5f-498d-ab5f-0c13f11cbaa6
		else
		  search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
		fi
		echo	'Loading Linux 5.10.0-9-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-9-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-9-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-recovery-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  13503165-9c5f-498d-ab5f-0c13f11cbaa6
		else
		  search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
		fi
		echo	'Loading Linux 5.10.0-9-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-9-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-9-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 ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

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

=============================== sda3/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=2F1D-01E6                            /boot/efi      vfat    defaults,noatime 0 2
UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 /              ext4    defaults,noatime 0 1
UUID=93c98828-5fb8-4c0e-b6bf-de8d13a9d22e /home          ext4    defaults,noatime 0 2
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  19.490253448 = 20.927500288   boot/grub/grub.cfg                             2
  10.624755859 = 11.408244736   boot/vmlinuz-5.10.0-9-amd64                    1
  10.624755859 = 11.408244736   vmlinuz                                        1
  10.624755859 = 11.408244736   vmlinuz.old                                    1
  26.109462738 = 28.034822144   boot/initrd.img-5.10.0-9-amd64                 1
  26.109462738 = 28.034822144   initrd.img                                     1
  26.109462738 = 28.034822144   initrd.img.old                                 1

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
if loadfont $prefix/font.pf2 ; then
  set gfxmode=800x600
  set gfxpayload=keep
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
  insmod gfxterm
  insmod png
  terminal_output gfxterm
fi

if background_image /isolinux/splash.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
elif background_image /splash.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi

insmod play
play 960 440 1 0 4 440 1
if [ ${iso_path} ] ; then
set loopback="findiso=${iso_path}"
export loopback
fi

menuentry "Debian GNU/Linux Live (kernel 5.10.0-9-amd64)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components splash quiet "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
submenu "Debian Live with Localisation Support" {
menuentry "Albanian (sq)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=sq_AL.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Amharic (am)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=am_ET quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Arabic (ar)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ar_EG.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Asturian (ast)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ast_ES.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Basque (eu)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=eu_ES.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Belarusian (be)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=be_BY.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Bangla (bn)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=bn_BD quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Bosnian (bs)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=bs_BA.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Bulgarian (bg)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=bg_BG.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Tibetan (bo)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=bo_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "C (C)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=C quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Catalan (ca)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ca_ES.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Chinese (Simplified) (zh_CN)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=zh_CN.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Chinese (Traditional) (zh_TW)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=zh_TW.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Croatian (hr)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=hr_HR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Czech (cs)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=cs_CZ.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Danish (da)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=da_DK.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Dutch (nl)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=nl_NL.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Dzongkha (dz)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=dz_BT quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "English (en)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=en_US.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Esperanto (eo)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=eo.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Estonian (et)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=et_EE.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Finnish (fi)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=fi_FI.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "French (fr)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=fr_FR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Galician (gl)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=gl_ES.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Georgian (ka)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ka_GE.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "German (de)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=de_DE.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Greek (el)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=el_GR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Gujarati (gu)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=gu_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Hebrew (he)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=he_IL.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Hindi (hi)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=hi_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Hungarian (hu)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=hu_HU.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Icelandic (is)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=is_IS.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Indonesian (id)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=id_ID.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Irish (ga)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ga_IE.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Italian (it)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=it_IT.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Japanese (ja)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ja_JP.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Kazakh (kk)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=kk_KZ.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Khmer (km)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=km_KH quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Kannada (kn)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=kn_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Korean (ko)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ko_KR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Kurdish (ku)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ku_TR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Lao (lo)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=lo_LA quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Latvian (lv)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=lv_LV.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Lithuanian (lt)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=lt_LT.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Malayalam (ml)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ml_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Marathi (mr)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=mr_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Macedonian (mk)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=mk_MK.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Burmese (my)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=my_MM quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Nepali (ne)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ne_NP quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Northern Sami (se_NO)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=se_NO quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Norwegian Bokmaal (nb_NO)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=nb_NO.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Norwegian Nynorsk (nn_NO)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=nn_NO.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Persian (fa)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=fa_IR quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Polish (pl)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=pl_PL.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Portuguese (pt)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=pt_PT.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Portuguese (Brazil) (pt_BR)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=pt_BR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Punjabi (Gurmukhi) (pa)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=pa_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Romanian (ro)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ro_RO.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Russian (ru)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ru_RU.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Sinhala (si)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=si_LK quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Serbian (Cyrillic) (sr)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=sr_RS quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Slovak (sk)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=sk_SK.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Slovenian (sl)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=sl_SI.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Spanish (es)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=es_ES.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Swedish (sv)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=sv_SE.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Tagalog (tl)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=tl_PH.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Tamil (ta)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ta_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Telugu (te)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=te_IN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Tajik (tg)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=tg_TJ.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Thai (th)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=th_TH.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Turkish (tr)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=tr_TR.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Uyghur (ug)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=ug_CN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Ukrainian (uk)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=uk_UA.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Vietnamese (vi)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=vi_VN quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Welsh (cy)" {
  linux  /live/vmlinuz-5.10.0-9-amd64 boot=live components locales=cy_GB.UTF-8 quiet splash "${loopback}"
  initrd /live/initrd.img-5.10.0-9-amd64
}
}
menuentry "Graphical Debian Installer" {
  linux  /d-i/gtk/vmlinuz append video=vesa:ywrap,mtrr vga=788 "${loopback}"
  initrd /d-i/gtk/initrd.gz
}
menuentry "Debian Installer" {
  linux  /d-i/vmlinuz  "${loopback}"
  initrd /d-i/initrd.gz
}
menuentry "Debian Installer with Speech Synthesis" {
  linux  /d-i/gtk/vmlinuz speakup.synth=soft "${loopback}"
  initrd /d-i/gtk/initrd.gz
}
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

========================== sdb2/efi/debian/grub.cfg: ===========================

--------------------------------------------------------------------------------
search --file --set=root /.disk/info
set prefix=($root)/boot/grub
source $prefix/x86_64-efi/grub.cfg
--------------------------------------------------------------------------------

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

Unknown MBR on /dev/sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  40 1a 00 00 00 00 00 00  b9 a6 d9 0c 00 00 80 00  |@...............|
000001c0  01 00 00 be e0 fc 00 00  00 00 60 38 5f 00 00 fe  |..........`8_...|
000001d0  ff ff ef fe ff ff d4 05  00 00 6a 14 00 00 00 00  |..........j.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


/dev/sdb1: unknown GPT attributes
1000000000000001

/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdb1

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  40 1a 00 00 00 00 00 00  b9 a6 d9 0c 00 00 80 00  |@...............|
000001c0  01 00 00 be e0 fc 00 00  00 00 60 38 5f 00 00 fe  |..........`8_...|
000001d0  ff ff ef fe ff ff d4 05  00 00 6a 14 00 00 00 00  |..........j.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


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

mdadm: No arrays found in config file or automatically
Still have same issue, Debian boots from LiveUsb.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#27 Post by p.H »

What if you remove the live USB ?
Did you try legacy boot ? Apparently not, bootinfoscript did not find a GRUB boot image in the MBR of /dev/sda.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#28 Post by syntone »

without LiveUsb stick not boots:
«Internal hard disk drive not found. to resolve the issue, try to reseat the drive.
No bootable devics --strike F1 to retry boot, F2 enter Setup Menu, F5 enter PSA.»

Not boots also in Legacy mode:

Intel UNDI PXE-2.1 (build 083)
... ...
PXE-M0F: Exiting PXE ROM

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#29 Post by p.H »

Of course it does not boot in legacy mode. According to the report you posted, there is no boot loader in the MBR.
Did you at least try to set it up ?

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#30 Post by syntone »

no, how to set up it properly?
You mean the firmware bug/issue when some BIOSes and EFIs require that at least one hard disk have at least one MBR partition that's marked as bootable/active to boot in BIOS mode?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#31 Post by p.H »

No, I mean you must at least set the computer to boot in legacy mode and install GRUB in the MBR of the drive (see above). Then maybe you also need to set the boot flag in the MBR, maybe not.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#32 Post by syntone »

I installed grub. But boot process very slow - 52sec before logon prompt appears.

Code: Select all

root@debian:/# grub-install --target=i386-pc --force /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
root@debian:/# sfdisk -Y dos -A /dev/sda 2
The bootable flag on partition 2 is enabled now.

The partition table has been altered.
Syncing disks.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#33 Post by p.H »

syntone wrote: 2021-12-18 00:00 But boot process very slow - 52sec before logon prompt appears.
But it boots at least ?
You can try to see what is taking time with

Code: Select all

systemd-analyze time
systemd-analyze critical-chain
systemd-analyze blame

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#34 Post by syntone »

Code: Select all

$ systemd-analyze time
Startup finished in 8.037s (kernel) + 20.403s (userspace) = 28.441s 
graphical.target reached after 20.370s in userspace


$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @20.370s
└─multi-user.target @20.369s
  └─exim4.service @18.866s +1.502s
    └─network-online.target @18.864s
      └─NetworkManager-wait-online.service @11.534s +7.329s
        └─NetworkManager.service @8.273s +3.256s
          └─dbus.service @8.269s
            └─basic.target @8.253s
              └─sockets.target @8.253s
                └─uuidd.socket @8.253s
                  └─sysinit.target @8.227s
                    └─apparmor.service @7.537s +688ms
                      └─local-fs.target @7.535s
                        └─home.mount @7.433s +102ms
                          └─systemd-fsck@dev-disk-by\x2duuid-93c98828\x2d5fb8\x>
                            └─dev-disk-by\x2duuid-93c98828\x2d5fb8\x2d4c0e\x2db>
lines 1-19/19 (END)

$ systemd-analyze blame
7.329s NetworkManager-wait-online.service
5.126s ifupdown-pre.service
3.917s dev-sda3.device
3.256s NetworkManager.service
2.821s udisks2.service
2.772s networking.service
2.053s ModemManager.service
1.893s polkit.service
1.647s systemd-journal-flush.service
1.595s wpa_supplicant.service
1.502s exim4.service
1.236s rsyslog.service
1.064s avahi-daemon.service
1.038s systemd-logind.service
 764ms lightdm.service
 759ms plymouth-quit-wait.service
 688ms apparmor.service
 544ms upower.service
 495ms keyboard-setup.service
 476ms systemd-fsck@dev-disk-by\x2duuid-2F1D\x2d01E6.service
 467ms plymouth-start.service
 422ms bluetooth.service
 403ms systemd-sysusers.service
lines 1-23...skipping...
7.329s NetworkManager-wait-online.service
5.126s ifupdown-pre.service
3.917s dev-sda3.device
3.256s NetworkManager.service
2.821s udisks2.service
2.772s networking.service
2.053s ModemManager.service
1.893s polkit.service
1.647s systemd-journal-flush.service
1.595s wpa_supplicant.service
1.502s exim4.service
1.236s rsyslog.service
1.064s avahi-daemon.service
1.038s systemd-logind.service
 764ms lightdm.service
 759ms plymouth-quit-wait.service
 688ms apparmor.service
 544ms upower.service
 495ms keyboard-setup.service
 476ms systemd-fsck@dev-disk-by\x2duuid-2F1D\x2d01E6.service
 467ms plymouth-start.service
 422ms bluetooth.service
 403ms systemd-sysusers.service
 402ms e2scrub_reap.service
 400ms boot-efi.mount
 397ms systemd-random-seed.service
 392ms colord.service
 376ms dev-hugepages.mount
 375ms dev-mqueue.mount
 374ms sys-kernel-debug.mount
 373ms sys-kernel-tracing.mount
 355ms systemd-tmpfiles-clean.service
 322ms systemd-udev-trigger.service
 308ms systemd-fsck@dev-disk-by\x2duuid-93c98828\x2d5fb8\x2d4c0e\x2db6bf\x2dde8d13a9d22e.service
 296ms systemd-remount-fs.service
lines 1-35
p.s. $ systemd-analyze critical-chain: omitted few repeated blocks after 1st block.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#35 Post by p.H »

52s ? systemd measures only 28s. When is the extra delay ?

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#36 Post by syntone »

52sec from power-on till login prompt. At 28sec it still showing spinning debian logo, so far from the login prompt .

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "Internal hard disk drive not found" issue

#37 Post by p.H »

Delay from power-on till GRUB menu ?
Select advanced options > recovery mode.
Delay from recovery mode selection to start of kernel messages ?
Delay from start of kernel messages till emergency prompt for root password or ctrl+d ?
Press ctrl+d.
Delay from ctrl+d at the emergency prompt till login prompt ?

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#38 Post by syntone »

Despite I set boot mode in boot menu to "UEFI ", Fast Boot: "Enabled", Load Legacy Option Rom: "Enabled", system booted to Legacy BIOS mode/via firmware's MBR mode.

I tried efibootmgr -v, and got:

Code: Select all

$ efibootmgr -v 
EFI variables are not supported on this system. 
I noted also, that efi folder is missing in 'sys/firmware' directory.

Code: Select all

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465,8G  0 disk 
├─sda1   8:1    0   500M  0 part /boot/efi
├─sda2   8:2    0     4G  0 part [SWAP]
├─sda3   8:3    0    25G  0 part /
└─sda4   8:4    0 436,3G  0 part /home
sr0     11:0    1  1024M  0 rom 

Code: Select all

sudo blkid
/dev/sda1: LABEL_FATBOOT="BOOT" LABEL="BOOT" UUID="2F1D-01E6" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="c906677e-c2c2-42b5-b818-f0b19c046e95"
/dev/sda2: LABEL="swap" UUID="1274a782-676a-41b0-8509-92f73bd675c3" TYPE="swap" PARTUUID="4a555697-e713-400d-ae9e-613d028c7893"
/dev/sda3: LABEL="root" UUID="13503165-9c5f-498d-ab5f-0c13f11cbaa6" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5484dedd-6adf-45af-b7b0-ba105d14528b"
/dev/sda4: LABEL="home" UUID="93c98828-5fb8-4c0e-b6bf-de8d13a9d22e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ae15bbdb-4e29-4dfa-aa99-b39e5377a098"
Last edited by syntone on 2021-12-26 03:31, edited 1 time in total.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: "Internal hard disk drive not found" issue

#39 Post by syntone »

I tried reinstall grub-efi booting from LiveUSB, use chroot, the process finished without errors. Rebooted, but no changes, system boots into Legacy Bios mode. Strange, efibootmgr was not present in the UEFI system on LiveUSB. I had to install it first.

log file:

Code: Select all

user@debian:~$ sudo modprobe efivarfs
user@debian:~$ sudo mount /dev/sda3 /mnt
user@debian:~$ sudo mount /dev/sda1 /mnt/boot/efi
user@debian:~$ for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
user@debian:~$ sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
user@debian:~$ sudo chroot /mnt
root@debian:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Fetched 83.5 kB in 1s (86.3 kB/s)                                     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
74 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@debian:/# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
mount: /sys/firmware/efi/efivars: efivarfs already mounted on /sys/firmware/efi/efivars.
root@debian:/# apt install --reinstall grub-efi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  sbsigntool
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 74 not upgraded.
Need to get 2,536 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 grub-efi amd64 2.04-20 [2,536 B]
Fetched 2,536 B in 0s (24.9 kB/s)
(Reading database ... 227056 files and directories currently installed.)
Preparing to unpack .../grub-efi_2.04-20_amd64.deb ...
Unpacking grub-efi (2.04-20) over (2.04-20) ...
Setting up grub-efi (2.04-20) ...
root@debian:/# grub-install /dev/sda
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@debian:/# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-10-amd64
Found initrd image: /boot/initrd.img-5.10.0-10-amd64
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
root@debian:/# file /boot/efi/EFI/debian/grubx64.efi
/boot/efi/EFI/debian/grubx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
root@debian:/# efibootmgr -v | grep debian
Boot0000* debian	HD(1,GPT,c906677e-c2c2-42b5-b818-f0b19c046e95,0x800,0xfa000)/File(\EFI\debian\shimx64.efi)
root@debian:/# exit
exit
user@debian:~$ sudo chroot /mnt
root@debian:/# efibootmgr
BootCurrent: 000A
Timeout: 1 seconds
BootOrder: 0000,0003,0004,0008,0009,000A
Boot0000* debian
Boot0003* UEFI OS
Boot0004* UEFI OS
Boot0008* Onboard NIC(IPV4)
Boot0009* Onboard NIC(IPV6)
Boot000A* UEFI:  USB DISK 2.0 PMAP
root@debian:/# exit
exit
user@debian:~$ sudo umount /mnt/proc
user@debian:~$ sudo umount /mnt/boot/efi
user@debian:~$ sudo umount /mnt/dev/pts
user@debian:~$ sudo umount /mnt/sys/firmware/efi/efivars
user@debian:~$ sudo umount /mnt/run
user@debian:~$ sudo umount /mnt/dev
user@debian:~$ sudo umount /mnt/sys
user@debian:~$ sudo umount /mnt
user@debian:~$ 

Post Reply