2018-05-28

Slitaz -- dualboot (UEFI/BIOS) ISO VS. USB



dualboot (UEFI/BIOS) ISO VS. USB
slitaz-core-5in1.iso 2018-May-24 60.4M
drwxr-xr-x 2 root root 8192 May 26 05:30 syslinux
root@slitaz:~# egrep -A3 'RC4|slitaz|core64' /media/UEFI/boot/syslinux/syslinux.cfg

root@slitaz:~# tree -C -s /media/cdrom
/media/cdrom
├── [       2048]  boot
│   ├── [    3792224]  bzImage
│   ├── [    3704000]  bzImage64
│   ├── [     331126]  ipxe.exe
│   ├── [       2048]  isolinux
│   │   ├── [       2048]  boot.cat
│   │   ├── [      17123]  c32box.c32
│   │   ├── [   62734336]  efi.img
│   │   ├── [        857]  help.en
│   │   ├── [        875]  help.fr
│   │   ├── [       3718]  i18n.cfg
│   │   ├── [      24576]  isolinux.bin
│   │   ├── [       2260]  isolinux.cfg
│   │   ├── [       1446]  kbd
│   │   ├── [        318]  noram.cfg
│   │   ├── [       1000]  opts.en
│   │   ├── [       1118]  opts.fr
│   │   ├── [      23795]  splash.jpg
│   │   └── [      74570]  vesamenu.c32
│   ├── [       3911]  linld.com
│   ├── [      44920]  memtest.exe
│   ├── [         45]  rootfs1.gz
│   ├── [    8802668]  rootfs1.gz64
│   ├── [   15381904]  rootfs2.gz
│   ├── [   10939212]  rootfs3.gz
│   ├── [   11131148]  rootfs4.gz
│   ├── [    8837600]  rootfs5.gz
│   ├── [    3792224]  vmlinuz-3.16.55-slitaz
│   └── [    3704000]  vmlinuz-3.16.55-slitaz64
├── [       2048]  efi
│   └── [       2048]  boot
│       ├── [         45]  rootfs1.gz
│       ├── [    8802668]  rootfs1.gz64
│       ├── [   15381904]  rootfs2.gz
│       ├── [   10939212]  rootfs3.gz
│       ├── [   11131148]  rootfs4.gz
│       ├── [    8837600]  rootfs5.gz
│       ├── [       1392]  startup.nsh
│       ├── [    3704000]  vmlinuz-3.16.55-slitaz64.efi
│       └── [    3792224]  vmlinuz-3.16.55-slitaz.efi
├── [       4922]  index.html
├── [       1818]  md5sum
└── [        811]  README

4 directories, 39 files

----

root@slitaz:~# tree -C -s /media/UEFI
/media/UEFI
├── [       8192]  boot
│   ├── [    3792224]  bzImage
│   ├── [    3704000]  bzImage64
│   ├── [     331126]  ipxe.exe
│   ├── [       3911]  linld.com
│   ├── [      44920]  memtest.exe
│   ├── [         45]  rootfs1.gz
│   ├── [    8802668]  rootfs1.gz64
│   ├── [   15381904]  rootfs2.gz
│   ├── [   10939212]  rootfs3.gz
│   ├── [   11131148]  rootfs4.gz
│   ├── [    8837600]  rootfs5.gz
│   ├── [       8192]  syslinux
│   │   ├── [       2048]  boot.cat
│   │   ├── [      17123]  c32box.c32
│   │   ├── [   62734336]  efi.img
│   │   ├── [        857]  help.en
│   │   ├── [        875]  help.fr
│   │   ├── [       3718]  i18n.cfg
│   │   ├── [       1446]  kbd
│   │   ├── [      38912]  ldlinux.sys
│   │   ├── [        318]  noram.cfg
│   │   ├── [       1000]  opts.en
│   │   ├── [       1118]  opts.fr
│   │   ├── [      23795]  splash.jpg
│   │   ├── [      24576]  syslinux.bin
│   │   ├── [       2260]  syslinux.cfg
│   │   └── [      74570]  vesamenu.c32
│   ├── [    3792224]  vmlinuz-3.16.55-slitaz
│   └── [    3704000]  vmlinuz-3.16.55-slitaz64
├── [       8192]  efi
│   └── [       8192]  boot
│       ├── [         45]  rootfs1.gz
│       ├── [    8802668]  rootfs1.gz64
│       ├── [   15381904]  rootfs2.gz
│       ├── [   10939212]  rootfs3.gz
│       ├── [   11131148]  rootfs4.gz
│       ├── [    8837600]  rootfs5.gz
│       ├── [       1392]  startup.nsh
│       ├── [    3704000]  vmlinuz-3.16.55-slitaz64.efi
│       └── [    3792224]  vmlinuz-3.16.55-slitaz.efi
├── [       4922]  index.html
├── [       1818]  md5sum
└── [        811]  README

4 directories, 40 files
root@slitaz:~# 
 

Slitaz -- core-5in1 BIOS mode


BIOS mode


 




 

 

 

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
BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs5.gz,/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz rw root=/dev/null video=-32 autologin lang=en_US kmap=us tz=America/New_York

tux@slitaz:~$ ls -l /sys/firmware/efi
ls: /sys/firmware/efi: No such file or directory

tux@slitaz:~$ ls -l /media/UEFI/boot/
total 68872
-rwxr-xr-x    1 root     root       3792224 May 21 14:06 bzImage
-rwxr-xr-x    1 root     root       3704000 Mar 15 06:30 bzImage64
-rwxr-xr-x    1 root     root        331126 Feb 26 05:10 ipxe.exe
-rwxr-xr-x    1 root     root          3911 Feb 25 11:15 linld.com
-rwxr-xr-x    1 root     root         44920 Feb 26 05:10 memtest.exe
-rwxr-xr-x    1 root     root            45 May 24 05:37 rootfs1.gz
-rwxr-xr-x    1 root     root       8802668 May 24 05:37 rootfs1.gz64
-rwxr-xr-x    1 root     root      15381904 May 24 05:37 rootfs2.gz
-rwxr-xr-x    1 root     root      10939212 May 24 05:36 rootfs3.gz
-rwxr-xr-x    1 root     root      11131148 May 24 05:36 rootfs4.gz
-rwxr-xr-x    1 root     root       8837600 May 24 05:35 rootfs5.gz
drwxr-xr-x    2 root     root          8192 May 26 05:30 syslinux
-rwxr-xr-x    1 root     root       3792224 May 21 14:06 vmlinuz-3.16.55-slitaz
-rwxr-xr-x    1 root     root       3704000 Mar 15 06:30 vmlinuz-3.16.55-slitaz64

root@slitaz:~# egrep -A3 'RC4|slitaz|core64' /media/UEFI/boot/syslinux/syslinux.cfg
MENU TITLE SliTaz GNU/Linux - 5.0-RC4 20180524
MENU BACKGROUND splash.jpg
MENU WIDTH 78
MENU MARGIN 6
--
LABEL slitaz
 MENU LABEL SliTaz Live
 COM32 c32box.c32
 append ifmem 320M core64 256M core 192M gtkonly 128M justx 48M base noram

label noram
 MENU HIDE
--
LABEL core64
 MENU HIDE
 COM32 c32box.c32
append linux /boot/bzImage initrd=/boot/rootfs5.gz,/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz rw root=/dev/null video=-32 autologin
root@slitaz:~#

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

2018-05-24

Slitaz core-5in1




UUID="2018-05-24-11-37-58-00" LABEL="SliTaz core-5in1" TYPE="iso9660" PTUUID="5b0687f7" PTTYPE="dos"

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

root@slitaz:~# ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 May 24 16:11 config_table
dr-xr-xr-x    2 root     root             0 May 24 16:11 efivars
-r--r--r--    1 root     root          4096 May 24 16:11 fw_vendor
-r--r--r--    1 root     root          4096 May 24 16:11 runtime
drwxr-xr-x    5 root     root             0 May 24 16:11 runtime-map
-r--------    1 root     root          4096 May 24 16:11 systab

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
tmpfs                     1.5G         0      1.5G   0% /dev/shm
tmpfs                     1.5G      4.0K      1.5G   0% /var/lock