2018-06-08

Slitaz -- VirtualBox EFI Shell


VirtualBox EFI Shell
slitaz-core-5in1.iso 2018-May-24 60.4M

1. Enable EFI




2. EFI boot menu
Start VM and PRESS F12 to bring up the EFI boot menu


Continue
Select Language
Boot Manager
[..]





3. Boot Manager
EFI DVD/CDROM
EFI Internal Shell



4. EFI Internal Shell
UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (EDK II, 0x00010000)
Mapping table
[..]
Press ESC in 4 seconds to skip startup.nsh or any key to continue.
Shell>

map displays a list of device mappings i.e. the names of available file systems (fs0) and storage devices (blk0).



5. startup.nsh
To dump a list of current boot entries:
bcfg boot dump -v

Shell>startup.nsh



6. slitaz-core-5in1

 

2018-06-02

Slitaz -- hardlink-efi.img


hardlink - efi.img
slitaz-core-5in1.iso 2018-May-24 60.4M

62734336 May 24 09:37 efi.img

/media/cdrom/efi/boot:
total 61125
-rw-r--r--    2 root     root            45 May 24 09:37 rootfs1.gz
-rw-r--r--    2 root     root       8802668 May 24 09:37 rootfs1.gz64
-rw-r--r--    2 root     root      15381904 May 24 09:37 rootfs2.gz
-rw-r--r--    2 root     root      10939212 May 24 09:36 rootfs3.gz
-rw-r--r--    2 root     root      11131148 May 24 09:36 rootfs4.gz
-rw-r--r--    2 root     root       8837600 May 24 09:35 rootfs5.gz
-rw-r--r--    1 root     root          1392 May 24 09:37 startup.nsh
-rw-r--r--    3 root     root       3704000 Mar 15 10:30 vmlinuz-3.16.55-slitaz64.efi
-rw-r--r--    3 root     root       3792224 May 21 18:06 vmlinuz-3.16.55-slitaz.efi

tux@slitaz:~$ file /media/cdrom/boot/isolinux/efi.img
/media/cdrom/boot/isolinux/efi.img: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "SliTaz", sectors/cluster 4, reserved sectors 4, root entries 64, Media descriptor 0xf8, sectors/FAT 120, sectors/track 32, heads 64, hidden sectors 172, sectors 122528 (volumes > 32 MB), serial number 0x0, label: "SYSTEM ", FAT (16 bit)

tux@slitaz:~$ 7z l /media/cdrom/boot/isolinux/efi.img
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Pentium(R) CPU G3258 @ 3.20GHz (306C3),ASM)
Scanning the drive for archives:
1 file, 62734336 bytes (60 MiB)
Listing archive: /media/cdrom/boot/isolinux/efi.img
--
Path = /media/cdrom/boot/isolinux/efi.img
Type = FAT
Physical Size = 62734336
File System = FAT16
Cluster Size = 2048
Free Space = 0
Headers Size = 131072
Label = SYSTEM
Sector Size = 512
ID = 0
Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2018-05-24 09:37:54 D....                            efi
2018-05-25 03:02:26 ....A         1540         2048  NvVars
2018-05-24 09:37:56 D....                            efi/boot
2018-05-24 09:37:52 ....A         1392         2048  efi/boot/startup.nsh
2018-05-21 18:06:48 ....A      3792224      3792896  efi/boot/vmlinuz-3.16.55-slitaz.efi
2018-03-15 10:30:18 ....A      3704000      3704832  efi/boot/vmlinuz-3.16.55-slitaz64.efi
2018-05-24 09:35:46 ....A      8837600      8839168  efi/boot/rootfs5.gz
2018-05-24 09:37:52 ....A           45         2048  efi/boot/rootfs1.gz
2018-05-24 09:36:20 ....A     11131148     11132928  efi/boot/rootfs4.gz
2018-05-24 09:37:46 ....A     15381904     15382528  efi/boot/rootfs2.gz
2018-05-24 09:37:52 ....A      8802668      8804352  efi/boot/rootfs1.gz64
2018-05-24 09:36:46 ....A     10939212     10940416  efi/boot/rootfs3.gz
------------------- ----- ------------ ------------  ------------------------
2018-05-25 03:02:26           62591733     62603264  10 files, 2 folders
tux@slitaz:~$
 
 

Slitaz-core-5in1-hardlink


hardlink

slitaz-core-5in1.iso 2018-May-24 60.4M

e.g.
-rw-r--r--    3 root     root       3704000 Mar 15 06:30 bzImage64
-rw-r--r--    3 root     root       3704000 Mar 15 06:30 vmlinuz-3.16.55-slitaz64
-rw-r--r--    3 root     root       3704000 Mar 15 06:30 vmlinuz-3.16.55-slitaz64.efi 

tux@slitaz:~$ ls -lR /media/cdrom
/media/cdrom:
total 12
drwxr-xr-x    3 root     root          2048 May 24 09:37 boot
drwxr-xr-x    3 root     root          2048 May 24 09:37 efi
-rw-r--r--    1 root     root          4922 Jan 24 23:09 index.html
-rw-r--r--    1 root     root          1818 May 24 09:37 md5sum
-rw-r--r--    1 root     root           811 Jan 24 23:09 README

/media/cdrom/boot:
total 68818
-rw-r--r--    3 root     root       3792224 May 21 18:06 bzImage
-rw-r--r--    3 root     root       3704000 Mar 15 10:30 bzImage64
-rw-r--r--    1 root     root        331126 Feb 26 10:10 ipxe.exe
drwxr-xr-x    2 root     root          2048 May 24 09:37 isolinux
-rw-r--r--    1 root     root          3911 Feb 25 16:15 linld.com
-rw-r--r--    1 root     root         44920 Feb 26 10:10 memtest.exe
-rw-r--r--    2 root     root            45 May 24 09:37 rootfs1.gz
-rw-r--r--    2 root     root       8802668 May 24 09:37 rootfs1.gz64
-rw-r--r--    2 root     root      15381904 May 24 09:37 rootfs2.gz
-rw-r--r--    2 root     root      10939212 May 24 09:36 rootfs3.gz
-rw-r--r--    2 root     root      11131148 May 24 09:36 rootfs4.gz
-rw-r--r--    2 root     root       8837600 May 24 09:35 rootfs5.gz
-rw-r--r--    3 root     root       3792224 May 21 18:06 vmlinuz-3.16.55-slitaz
-rw-r--r--    3 root     root       3704000 Mar 15 10:30 vmlinuz-3.16.55-slitaz64

/media/cdrom/boot/isolinux:
total 61417
-r--r--r--    1 root     root          2048 May 24 09:37 boot.cat
-rw-r--r--    1 root     root         17123 Feb 25 16:15 c32box.c32
-rw-r--r--    1 root     root      62734336 May 24 09:37 efi.img
-rw-r--r--    1 root     root           857 Feb 25 16:15 help.en
-rw-r--r--    1 root     root           875 Feb 25 16:15 help.fr
-rw-r--r--    1 root     root          3718 Feb 25 16:15 i18n.cfg
-rw-r--r--    1 root     root         24576 Feb 25 16:15 isolinux.bin
-rw-r--r--    1 root     root          2260 May 24 09:37 isolinux.cfg
-rw-r--r--    1 root     root          1446 Feb 25 16:15 kbd
-rw-r--r--    1 root     root           318 May 24 09:37 noram.cfg
-rw-r--r--    1 root     root          1000 Feb 25 16:15 opts.en
-rw-r--r--    1 root     root          1118 Feb 25 16:15 opts.fr
-rw-r--r--    1 root     root         23795 Mar  4 16:48 splash.jpg
-rw-r--r--    1 root     root         74570 Feb 25 16:15 vesamenu.c32

/media/cdrom/efi:
total 2
drwxr-xr-x    2 root     root          2048 May 24 09:37 boot

/media/cdrom/efi/boot:
total 61125
-rw-r--r--    2 root     root            45 May 24 09:37 rootfs1.gz
-rw-r--r--    2 root     root       8802668 May 24 09:37 rootfs1.gz64
-rw-r--r--    2 root     root      15381904 May 24 09:37 rootfs2.gz
-rw-r--r--    2 root     root      10939212 May 24 09:36 rootfs3.gz
-rw-r--r--    2 root     root      11131148 May 24 09:36 rootfs4.gz
-rw-r--r--    2 root     root       8837600 May 24 09:35 rootfs5.gz
-rw-r--r--    1 root     root          1392 May 24 09:37 startup.nsh
-rw-r--r--    3 root     root       3704000 Mar 15 10:30 vmlinuz-3.16.55-slitaz64.efi
-rw-r--r--    3 root     root       3792224 May 21 18:06 vmlinuz-3.16.55-slitaz.efi
tux@slitaz:~$