Web lists-archives.com

Re: BIOS Can Not Find Disk




On 12/04/17 17:34, David Christensen wrote:
That's why I plan to try again with the simplest automagic partitioning and see what happens.

I wiped the SSD, ran d-i, and chose "Partitioning method" -> "Guided - use entire disk and set up encrypted LVM", which produced:

    	LVM VG debian-vg, LV home - 3.5 GB Linux device-mapper (linear)
	     #1      3.5 GB     f  ext4          /home
    	LVM VG debian-vg, LV root - 2.0 GB Linux device-mapper (linear)
	     #1      2.0 GB     f  ext4          /
    	LVM VG debian-vg, LV swap_1 - 8.5 GB Linux device-mapper (linear)
	     #1      8.5 GB     f  swap          swap
    	LVM VG debian-vg, LV tmp - 255.9 MB Linux device-mapper (linear)
	     #1    255.9 MB     f  ext4          /tmp
    	LVM VG debian-vg, LV tmp - 998.2 MB Linux device-mapper (linear)
	     #1    998.2 MB     f  ext4          /var
	Encrypted volume (sda3_crypt) - 15.2 GB Linux device-mapper (crypt)
	     #1     15.2 GB     K  lvm
	SCSI3 (0,0,0) (sda) - 16.0 GB ATA SAMSUNG SSD UM41
	             1.0 MB        FREE SPACE
	     #1    536.9 MB  B  F  ESP
	     #2    255.9 MB     F  ext2          /boot
	     #3     15.2 GB     K  crypto        (sda3_crypt)
	            73.2 kB        FREE SPACE

I tried changing swap size, but that led to prompts for actions that might break things. So, I just accepted the above and moved on.


d-i completed without errors.  :-)


The disk boots to the GRUB menu. Letting that time out, LUKS passphrase prompt is displayed. Entering the passphrase, the login prompt is displayed. :-)


An SSH session follows.


As for "how does it boot with UEFI, GPT, and GRUB?", my vague guess is:

1. There is no 16-bit 8086 first stage boot loader code in sector 0 of the SSD -- see 'gpart -d -vvv /dev/sda' output, below. The motherboard firmware doesn't use this in UEFI mode.

2. There is a "protective MBR" in sector 0 of the SSD -- see 'fdisk -t mbr -l /dev/sda' output, below. I don't know if UEFI firmware looks at this.

3.  The firmware finds and reads the GPT partition table on the SSD.

4. The firmware finds the first GPT partition and file system, which look "right" for EFI boot images.

5. The firmware reads this file system and finds only one file, which it loads and runs (starting GRUB):

        /EFI/debian/grubx64.efi

(If there were more than one choice, my guess is that I'd have to pre-select one in the CMOS setup, or perhaps have to select one from a menu at the end of POST?)

6. GRUB finds the second GPT partition and file system, which looks "right" for GRUB, reads the file system, locates the appropriate files (notably /boot/grub/grub.cfg), and boots the system.


Again -- are there any other commands I should run that readers might find interesting?


David

--

root@debian:~# cat /etc/debian_version
9.2


root@debian:~# uname -a
Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux


root@debian:~# lsblk
NAME                    MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sda                       8:0    0 14.9G  0 disk
|-sda1                    8:1    0  512M  0 part  /boot/efi
|-sda2                    8:2    0  244M  0 part  /boot
`-sda3                    8:3    0 14.2G  0 part
  `-sda3_crypt          254:0    0 14.2G  0 crypt
    |-debian--vg-root   254:1    0  1.9G  0 lvm   /
    |-debian--vg-var    254:2    0  952M  0 lvm   /var
    |-debian--vg-swap_1 254:3    0  7.9G  0 lvm   [SWAP]
    |-debian--vg-tmp    254:4    0  244M  0 lvm   /tmp
    `-debian--vg-home   254:5    0  3.2G  0 lvm   /home
sr0                      11:0    1 1024M  0 rom


root@debian:~# parted /dev/sda u s p free
Model: ATA SAMSUNG SSD UM41 (scsi)
Disk /dev/sda: 31277232s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start      End        Size       File system  Name  Flags
        34s        2047s      2014s      Free Space
 1      2048s      1050623s   1048576s   fat32              boot, esp
 2      1050624s   1550335s   499712s    ext2
 3      1550336s   31277055s  29726720s
        31277056s  31277198s  143s       Free Space


root@debian:~# gpart -d -vvv /dev/sda

dev(/dev/sda) mss(512) chs(1946/255/63)(LBA) #s(31277232) size(15272mb)
Primary partition(1)
   type: 238(0xEE)(UNKNOWN)
   size: 15272mb #s(31277231) s(1-31277231)
   chs:  (0/0/1)-(1023/254/63)d (0/0/2)-(1946/233/63)r
   hex:  00 00 01 00 EE FE FF FF 01 00 00 00 AF 40 DD 01

Primary partition(2)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
   hex:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Primary partition(3)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
   hex:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Primary partition(4)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
   hex:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


dev(/dev/sda) master boot record (w/o partition table):
   0000:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0010:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0020:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0030:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0040:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0050:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0060:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0070:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0080:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0090:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   00A0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   00B0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   00C0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   00D0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   00E0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   00F0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0100:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0110:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0120:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0130:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0140:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0150:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0160:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0170:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0180:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   0190:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   01A0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .


root@debian:~# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 31277232 sectors, 14.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1423ACF9-1BA2-404D-A4FC-52576318EFCF
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 31277198
Partitions will be aligned on 2048-sector boundaries
Total free space is 2157 sectors (1.1 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1050623   512.0 MiB   EF00
   2         1050624         1550335   244.0 MiB   8300
   3         1550336        31277055   14.2 GiB    8300



root@debian:~# fdisk -t mbr -l /dev/sda
Disk /dev/sda: 14.9 GiB, 16013942784 bytes, 31277232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1           1 31277231 31277231 14.9G ee GPT


root@debian:~# fdisk -l /dev/sda
Disk /dev/sda: 14.9 GiB, 16013942784 bytes, 31277232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1423ACF9-1BA2-404D-A4FC-52576318EFCF

Device       Start      End  Sectors  Size Type
/dev/sda1     2048  1050623  1048576  512M EFI System
/dev/sda2  1050624  1550335   499712  244M Linux filesystem
/dev/sda3  1550336 31277055 29726720 14.2G Linux filesystem


root@debian:~# lvm lvdisplay
  --- Logical volume ---
  LV Path                /dev/debian-vg/root
  LV Name                root
  VG Name                debian-vg
  LV UUID                iU6J9C-MCbP-RXkU-7gpt-zzu3-3nW2-8ht7OB
  LV Write Access        read/write
  LV Creation host, time debian, 2017-12-04 20:05:01 -0800
  LV Status              available
  # open                 1
  LV Size                1.86 GiB
  Current LE             476
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1

  --- Logical volume ---
  LV Path                /dev/debian-vg/var
  LV Name                var
  VG Name                debian-vg
  LV UUID                GlrAnx-fl2t-MwfR-gCe1-oNFK-75A5-XxF9Ew
  LV Write Access        read/write
  LV Creation host, time debian, 2017-12-04 20:05:01 -0800
  LV Status              available
  # open                 1
  LV Size                952.00 MiB
  Current LE             238
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2

  --- Logical volume ---
  LV Path                /dev/debian-vg/swap_1
  LV Name                swap_1
  VG Name                debian-vg
  LV UUID                fsSVAk-qJxx-r5oO-nAzf-V7tD-P68K-j3PSg0
  LV Write Access        read/write
  LV Creation host, time debian, 2017-12-04 20:05:01 -0800
  LV Status              available
  # open                 2
  LV Size                7.91 GiB
  Current LE             2026
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3

  --- Logical volume ---
  LV Path                /dev/debian-vg/tmp
  LV Name                tmp
  VG Name                debian-vg
  LV UUID                NX7oty-RbhV-LKLQ-mpUh-jZSy-Beo8-N0UKfJ
  LV Write Access        read/write
  LV Creation host, time debian, 2017-12-04 20:05:01 -0800
  LV Status              available
  # open                 1
  LV Size                244.00 MiB
  Current LE             61
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4

  --- Logical volume ---
  LV Path                /dev/debian-vg/home
  LV Name                home
  VG Name                debian-vg
  LV UUID                Q13SCi-BKfV-LF04-0UPz-0lxg-Wb8X-i0LvB5
  LV Write Access        read/write
  LV Creation host, time debian, 2017-12-04 20:05:01 -0800
  LV Status              available
  # open                 1
  LV Size                3.23 GiB
  Current LE             827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:5


root@debian:~# df
Filesystem                  1K-blocks   Used Available Use% Mounted on
udev                          4033908      0   4033908   0% /dev
tmpfs                          809232   8928    800304   2% /run
/dev/mapper/debian--vg-root   1886280 688284   1084128  39% /
tmpfs                         4046156      0   4046156   0% /dev/shm
tmpfs                            5120      0      5120   0% /run/lock
tmpfs                         4046156      0   4046156   0% /sys/fs/cgroup
/dev/mapper/debian--vg-home   3268656  11604   3071300   1% /home
/dev/mapper/debian--vg-tmp     237861   2057    219216   1% /tmp
/dev/mapper/debian--vg-var     943128 194612    683392  23% /var
/dev/sda2                      241965  38997    190476  17% /boot
/dev/sda1                      523248    132    523116   1% /boot/efi
tmpfs                          809228      0    809228   0% /run/user/1000


root@debian:~# mount | grep sda1
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)


root@debian:~# tree /boot
/boot
|-- System.map-4.9.0-4-amd64
|-- config-4.9.0-4-amd64
|-- efi
|   `-- EFI
|       `-- debian
|           `-- grubx64.efi
|-- grub
|   |-- fonts
|   |   `-- unicode.pf2
|   |-- grub.cfg
|   |-- grubenv
|   |-- locale
|   |   |-- ast.mo
|   |   |-- ca.mo
|   |   |-- da.mo
|   |   |-- de.mo
|   |   |-- de@xxxxxxxxx
|   |   |-- de_CH.mo
|   |   |-- en@xxxxxxxxx
|   |   |-- en@xxxxxxxxxxx
|   |   |-- en@xxxxxxxx
|   |   |-- en@xxxxxxxxx
|   |   |-- en@xxxxxxxxxxx
|   |   |-- en@xxxxxxx
|   |   |-- eo.mo
|   |   |-- es.mo
|   |   |-- fi.mo
|   |   |-- fr.mo
|   |   |-- gl.mo
|   |   |-- hu.mo
|   |   |-- id.mo
|   |   |-- it.mo
|   |   |-- ja.mo
|   |   |-- lt.mo
|   |   |-- nb.mo
|   |   |-- nl.mo
|   |   |-- pa.mo
|   |   |-- pl.mo
|   |   |-- pt_BR.mo
|   |   |-- ru.mo
|   |   |-- sl.mo
|   |   |-- sr.mo
|   |   |-- sv.mo
|   |   |-- tr.mo
|   |   |-- uk.mo
|   |   |-- vi.mo
|   |   |-- zh_CN.mo
|   |   `-- zh_TW.mo
|   |-- unicode.pf2
|   `-- x86_64-efi
|       |-- acpi.mod
|       |-- adler32.mod
|       |-- affs.mod
|       |-- afs.mod
|       |-- ahci.mod
|       |-- all_video.mod
|       |-- aout.mod
|       |-- appleldr.mod
|       |-- archelp.mod
|       |-- at_keyboard.mod
|       |-- ata.mod
|       |-- backtrace.mod
|       |-- bfs.mod
|       |-- bitmap.mod
|       |-- bitmap_scale.mod
|       |-- blocklist.mod
|       |-- boot.mod
|       |-- bsd.mod
|       |-- bswap_test.mod
|       |-- btrfs.mod
|       |-- bufio.mod
|       |-- cat.mod
|       |-- cbfs.mod
|       |-- cbls.mod
|       |-- cbmemc.mod
|       |-- cbtable.mod
|       |-- cbtime.mod
|       |-- chain.mod
|       |-- cmdline_cat_test.mod
|       |-- cmp.mod
|       |-- cmp_test.mod
|       |-- command.lst
|       |-- configfile.mod
|       |-- core.efi
|       |-- cpio.mod
|       |-- cpio_be.mod
|       |-- cpuid.mod
|       |-- crc64.mod
|       |-- crypto.lst
|       |-- crypto.mod
|       |-- cryptodisk.mod
|       |-- cs5536.mod
|       |-- ctz_test.mod
|       |-- date.mod
|       |-- datehook.mod
|       |-- datetime.mod
|       |-- disk.mod
|       |-- diskfilter.mod
|       |-- div.mod
|       |-- div_test.mod
|       |-- dm_nv.mod
|       |-- echo.mod
|       |-- efi_gop.mod
|       |-- efi_uga.mod
|       |-- efifwsetup.mod
|       |-- efinet.mod
|       |-- ehci.mod
|       |-- elf.mod
|       |-- eval.mod
|       |-- exfat.mod
|       |-- exfctest.mod
|       |-- ext2.mod
|       |-- extcmd.mod
|       |-- fat.mod
|       |-- file.mod
|       |-- fixvideo.mod
|       |-- font.mod
|       |-- fs.lst
|       |-- fshelp.mod
|       |-- functional_test.mod
|       |-- gcry_arcfour.mod
|       |-- gcry_blowfish.mod
|       |-- gcry_camellia.mod
|       |-- gcry_cast5.mod
|       |-- gcry_crc.mod
|       |-- gcry_des.mod
|       |-- gcry_dsa.mod
|       |-- gcry_idea.mod
|       |-- gcry_md4.mod
|       |-- gcry_md5.mod
|       |-- gcry_rfc2268.mod
|       |-- gcry_rijndael.mod
|       |-- gcry_rmd160.mod
|       |-- gcry_rsa.mod
|       |-- gcry_seed.mod
|       |-- gcry_serpent.mod
|       |-- gcry_sha1.mod
|       |-- gcry_sha256.mod
|       |-- gcry_sha512.mod
|       |-- gcry_tiger.mod
|       |-- gcry_twofish.mod
|       |-- gcry_whirlpool.mod
|       |-- geli.mod
|       |-- gettext.mod
|       |-- gfxmenu.mod
|       |-- gfxterm.mod
|       |-- gfxterm_background.mod
|       |-- gfxterm_menu.mod
|       |-- gptsync.mod
|       |-- grub.efi
|       |-- gzio.mod
|       |-- halt.mod
|       |-- hashsum.mod
|       |-- hdparm.mod
|       |-- hello.mod
|       |-- help.mod
|       |-- hexdump.mod
|       |-- hfs.mod
|       |-- hfsplus.mod
|       |-- hfspluscomp.mod
|       |-- http.mod
|       |-- iorw.mod
|       |-- iso9660.mod
|       |-- jfs.mod
|       |-- jpeg.mod
|       |-- keylayouts.mod
|       |-- keystatus.mod
|       |-- ldm.mod
|       |-- legacy_password_test.mod
|       |-- legacycfg.mod
|       |-- linux.mod
|       |-- linux16.mod
|       |-- linuxefi.mod
|       |-- loadbios.mod
|       |-- loadenv.mod
|       |-- loopback.mod
|       |-- ls.mod
|       |-- lsacpi.mod
|       |-- lsefi.mod
|       |-- lsefimmap.mod
|       |-- lsefisystab.mod
|       |-- lsmmap.mod
|       |-- lspci.mod
|       |-- lssal.mod
|       |-- luks.mod
|       |-- lvm.mod
|       |-- lzopio.mod
|       |-- macbless.mod
|       |-- macho.mod
|       |-- mdraid09.mod
|       |-- mdraid09_be.mod
|       |-- mdraid1x.mod
|       |-- memdisk.mod
|       |-- memrw.mod
|       |-- minicmd.mod
|       |-- minix.mod
|       |-- minix2.mod
|       |-- minix2_be.mod
|       |-- minix3.mod
|       |-- minix3_be.mod
|       |-- minix_be.mod
|       |-- mmap.mod
|       |-- moddep.lst
|       |-- modinfo.sh
|       |-- morse.mod
|       |-- mpi.mod
|       |-- msdospart.mod
|       |-- mul_test.mod
|       |-- multiboot.mod
|       |-- multiboot2.mod
|       |-- nativedisk.mod
|       |-- net.mod
|       |-- newc.mod
|       |-- nilfs2.mod
|       |-- normal.mod
|       |-- ntfs.mod
|       |-- ntfscomp.mod
|       |-- odc.mod
|       |-- offsetio.mod
|       |-- ohci.mod
|       |-- part_acorn.mod
|       |-- part_amiga.mod
|       |-- part_apple.mod
|       |-- part_bsd.mod
|       |-- part_dfly.mod
|       |-- part_dvh.mod
|       |-- part_gpt.mod
|       |-- part_msdos.mod
|       |-- part_plan.mod
|       |-- part_sun.mod
|       |-- part_sunpc.mod
|       |-- partmap.lst
|       |-- parttool.lst
|       |-- parttool.mod
|       |-- password.mod
|       |-- password_pbkdf2.mod
|       |-- pata.mod
|       |-- pbkdf2.mod
|       |-- pbkdf2_test.mod
|       |-- pcidump.mod
|       |-- play.mod
|       |-- png.mod
|       |-- priority_queue.mod
|       |-- probe.mod
|       |-- procfs.mod
|       |-- progress.mod
|       |-- raid5rec.mod
|       |-- raid6rec.mod
|       |-- random.mod
|       |-- read.mod
|       |-- reboot.mod
|       |-- regexp.mod
|       |-- reiserfs.mod
|       |-- relocator.mod
|       |-- romfs.mod
|       |-- scsi.mod
|       |-- search.mod
|       |-- search_fs_file.mod
|       |-- search_fs_uuid.mod
|       |-- search_label.mod
|       |-- serial.mod
|       |-- setjmp.mod
|       |-- setjmp_test.mod
|       |-- setpci.mod
|       |-- sfs.mod
|       |-- shift_test.mod
|       |-- signature_test.mod
|       |-- sleep.mod
|       |-- sleep_test.mod
|       |-- spkmodem.mod
|       |-- squash4.mod
|       |-- syslinuxcfg.mod
|       |-- tar.mod
|       |-- terminal.lst
|       |-- terminal.mod
|       |-- terminfo.mod
|       |-- test.mod
|       |-- test_blockarg.mod
|       |-- testload.mod
|       |-- testspeed.mod
|       |-- tftp.mod
|       |-- tga.mod
|       |-- time.mod
|       |-- tr.mod
|       |-- trig.mod
|       |-- true.mod
|       |-- udf.mod
|       |-- ufs1.mod
|       |-- ufs1_be.mod
|       |-- ufs2.mod
|       |-- uhci.mod
|       |-- usb.mod
|       |-- usb_keyboard.mod
|       |-- usbms.mod
|       |-- usbserial_common.mod
|       |-- usbserial_ftdi.mod
|       |-- usbserial_pl2303.mod
|       |-- usbserial_usbdebug.mod
|       |-- usbtest.mod
|       |-- verify.mod
|       |-- video.lst
|       |-- video.mod
|       |-- video_bochs.mod
|       |-- video_cirrus.mod
|       |-- video_colors.mod
|       |-- video_fb.mod
|       |-- videoinfo.mod
|       |-- videotest.mod
|       |-- videotest_checksum.mod
|       |-- xfs.mod
|       |-- xnu.mod
|       |-- xnu_uuid.mod
|       |-- xnu_uuid_test.mod
|       |-- xzio.mod
|       |-- zfs.mod
|       |-- zfscrypt.mod
|       `-- zfsinfo.mod
|-- initrd.img-4.9.0-4-amd64
|-- lost+found
`-- vmlinuz-4.9.0-4-amd64

8 directories, 312 files


root@debian:~# ls -l /boot/efi/EFI/debian/grubx64.efi
-rwx------ 1 root root 121856 Dec  4 20:23 /boot/efi/EFI/debian/grubx64.efi


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