2018-05-25

Slitaz core-5in1-uefi




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

tux@slitaz:~$ uname -a
Linux slitaz 3.16.55-slitaz64 #2 SMP Mon May 21 20:31:03 CEST 2018 x86_64 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
\EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi rw root=0x100 autologin initrd=\EFI\BOOT\rootfs5.gz initrd=\EFI\BOOT\rootfs4.gz initrd=\EFI\BOOT\rootfs3.gz initrd=\EFI\BOOT\rootfs2.gz initrd=\EFI\BOOT\rootfs1.gz64

tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 May 26 01:19 config_table
dr-xr-xr-x    2 root     root             0 May 26 01:19 efivars
-r--r--r--    1 root     root          4096 May 26 01:19 fw_vendor
-r--r--r--    1 root     root          4096 May 26 01:19 runtime
drwxr-xr-x   11 root     root             0 May 26 01:19 runtime-map
-r--------    1 root     root          4096 May 26 01:19 systab

tux@slitaz:~$ ls -l /media/UEFI/efi/boot
total 61160
-rwxr-xr-x    1 root     root            45 May 24 09:37 rootfs1.gz
-rwxr-xr-x    1 root     root       8802668 May 24 09:37 rootfs1.gz64
-rwxr-xr-x    1 root     root      15381904 May 24 09:37 rootfs2.gz
-rwxr-xr-x    1 root     root      10939212 May 24 09:36 rootfs3.gz
-rwxr-xr-x    1 root     root      11131148 May 24 09:36 rootfs4.gz
-rwxr-xr-x    1 root     root       8837600 May 24 09:35 rootfs5.gz
-rwxr-xr-x    1 root     root          1392 May 24 09:37 startup.nsh
-rwxr-xr-x    1 root     root       3792224 May 21 18:06 vmlinuz-3.16.55-slitaz.efi
-rwxr-xr-x    1 root     root       3704000 Mar 15 10:30 vmlinuz-3.16.55-slitaz64.efi

tux@slitaz:~$ head -13 /media/UEFI/efi/boot/startup.nsh 
# start \EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi
for %i run (1 10)
  set -v num %i
  if exist FS%num%:\EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi then
    FS%num%:
    \EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi rw root=0x100 autologin initrd=\EFI\BOOT\rootfs5.gz initrd=\EFI\BOOT\rootfs4.gz initrd=\EFI\BOOT\rootfs3.gz initrd=\EFI\BOOT\rootfs2.gz initrd=\EFI\BOOT\rootfs1.gz64
  endif
endfor
if exist FS0:\EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi then
  FS0:
  \EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi rw root=0x100 autologin initrd=\EFI\BOOT\rootfs5.gz initrd=\EFI\BOOT\rootfs4.gz initrd=\EFI\BOOT\rootfs3.gz initrd=\EFI\BOOT\rootfs2.gz initrd=\EFI\BOOT\rootfs1.gz64
endif
# stop \EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi
tux@slitaz:~$ 

----

text mode : boot from virtualbox UEFI
http://alanyih.blogspot.tw/2018/05/slitaz-core-5in1.html

root@slitaz:~# slitaz

SliTaz GNU/Linux
================================================================================================================================
Release      : 5.0
Architecture : i486
Kernel       : 3.16.55-slitaz64
Machine type : x86_64
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 280 packages
Mirror       : http://mirror1.slitaz.org/packages/cooking/
System date  : Thu May 24 16:11:58 UTC 2018
--------------
Boot options : \EFI\BOOT\vmlinuz-3.16.55-slitaz64.efi rw root=0x100 autologin initrd=\EFI\BOOT\rootfs5.gz initrd=\EFI\BOOT\rootfs4.gz initrd=\EFI\BOOT\rootfs3.gz initrd=\EFI\BOOT\rootfs2.gz initrd=\EFI\BOOT\rootfs1.gz64
================================================================================================================================

root@slitaz:~# blkid /dev/sr0
/dev/sr0: UUID="2018-05-24-11-37-58-00" LABEL="SliTaz core-5in1" TYPE="iso9660" PTUUID="5b0687f7" PTTYPE="dos"

root@slitaz:~# df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                     1.5G    244.0K      1.5G   0% /run
tmpfs                     2.7G    176.7M      2.5G   7% /
devtmpfs                  1.4G         0      1.4G   0% /dev