Showing posts with label uefi. Show all posts
Showing posts with label uefi. Show all posts

2024-04-06

current - UEFI only Laptop - Trouble booting -6

 

UEFI only Laptop - Trouble booting -6 

 

 

Test for core64 on qemu, i don't have xorg launch due of unknown video device.

# qemu-system-x86_64 --help | grep -A1 vga
vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none]
select video card type

----

root@mx1:~# cat /etc/mx-version
MX-23.1_ahs_x64 Libretto October 15, 2023

root@mx1:~# ps m | grep qemu
24279 pts/1 - 1:07 qemu-system-x86_64 -m 2G -enable-kvm -bios OVMF.fd -vga vmware -cdrom slitaz-current-core64.iso
24631 pts/2 - 0:00 grep qemu

root@mx1:~# exit
logout
tux@slitaz:~$ uname -a
Linux slitaz 5.10.210-slitaz64 #2 SMP Mon Mar 18 12:38:59 Europe 2024 x86_64 GNU/Linux

tux@slitaz:~$ blkid
/dev/sr0: BLOCK_SIZE="2048" UUID="2024-03-29-22-05-19-00" LABEL="SliTaz core64" TYPE="iso9660" PTTYPE="PMBR"
/dev/zram0: UUID="fee28e8a-0a5b-4894-9e59-3230b0609c9b" TYPE="swap"

 

 

current - UEFI only Laptop - Trouble booting -5

 

UEFI only Laptop - Trouble booting -5 

Fixed ISO

slitaz-current-core64.iso 2024-Mar-14 21:44:10 88.8M
http://mirror1.slitaz.org/iso/current/slitaz-current-core64.iso

Fix issue efi for tazlito on current
https://hg.slitaz.org/wok-current/rev/a8b1ac48fc8d

 

https://forum.slitaz.org/topic/uefi-only-laptop-trouble-booting/page/3#post-52168

current - UEFI only Laptop - Trouble booting -4

 

UEFI only Laptop - Trouble booting -4

 

When slitaz-rolling-core64.iso is copied to a USB flash drive via:
# dd if=slitaz-rolling-core64.iso of=/dev/sdb bs=1M
where /dev/sdb is the flash drive,
SliTaz can be booted in UEFI mode from that device.

With slitaz-current-core64.iso this does not work!
EFI/esp.img in that ISO is much smaller than that in rolling.

> Try slitaz-current-core64.iso with dd.

My bad !

Please try again:
slitaz-current.iso with dd.

slitaz-current.iso https://tinyurl.com/yt8shtty
slitaz-current.md5 https://tinyurl.com/yzj2n4tn

----

slitaz-current-core64.iso

$ 7z l slitaz-current-core64.iso

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 92872704 bytes (89 MiB)

Listing archive: slitaz-current-core64.iso

--
Path = slitaz-current-core64.iso
Type = Iso
Physical Size = 92872704
Comment =
System: LINUX
Volume: SliTaz core64
VolumeSet: SliTaz cooking
Publisher: http://www.slitaz.org
Preparer: root
Application: tazlito 537/genisoimage 1.1.11 (Linux)
Copyright: README
Created = 2024-03-07 17:30:28
Modified = 2024-03-07 17:30:28

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-03-07 17:30:25 D....                            boot
2024-03-07 14:38:43 .....      5271744      5271744  boot/bzImage64
2024-03-07 17:26:57 D....                            boot/grub
2021-10-23 10:33:57 .....        24842        24842  boot/grub/splash.xpm.gz
2024-01-15 16:12:05 .....       354512       354512  boot/ipxe.exe
2024-03-07 17:30:27 D....                            boot/isolinux
2024-03-07 17:30:28 .....         2048         2048  boot/isolinux/boot.cat
2024-01-15 12:25:26 .....        17607        17607  boot/isolinux/c32box.c32
2024-01-15 12:25:26 .....          857          857  boot/isolinux/help.en
2024-01-15 12:25:26 .....          875          875  boot/isolinux/help.fr
2024-01-15 12:25:26 .....         3718         3718  boot/isolinux/i18n.cfg
2024-01-15 12:25:20 .....        26624        26624  boot/isolinux/isolinux.bin
2024-03-07 17:27:12 .....         1499         1499  boot/isolinux/isolinux.cfg
2024-01-15 12:25:26 .....         1446         1446  boot/isolinux/kbd
2024-01-15 12:25:26 .....         1000         1000  boot/isolinux/opts.en
2024-01-15 12:25:26 .....         1118         1118  boot/isolinux/opts.fr
2021-10-23 10:33:57 .....        23795        23795  boot/isolinux/splash.jpg
2024-01-15 12:25:26 .....        75442        75442  boot/isolinux/vesamenu.c32
2024-01-15 12:25:26 .....         4042         4042  boot/linld.com
2024-01-15 16:12:51 .....        55532        55532  boot/memtest.exe
2024-01-15 16:13:00 .....        57865        57865  boot/memtest64.exe
2024-01-15 16:13:22 .....        23717        23717  boot/plop.exe
2024-03-07 17:30:24 .....     86607792     86607792  boot/rootfs.gz
2024-03-07 14:38:43 .....      5271744      5271744  boot/vmlinuz-5.10.210-slitaz64
2024-03-07 17:30:25 D....                            EFI
2024-03-07 17:30:25 D....                            EFI/boot
2024-03-07 14:38:43 .....      5271744      5271744  EFI/boot/bootx64.efi
2024-03-07 17:30:25 .....           61           61  EFI/boot/linux.cmdline
2024-03-07 17:30:24 .....     86607792     86607792  EFI/boot/rootfs.gz
2024-03-07 17:30:27 .....       190464       190464  EFI/esp.img
2024-03-07 17:30:25 .....         4922         4922  index.html
2024-03-07 17:30:28 .....         1393         1393  md5sum
2024-03-07 17:30:25 .....          811          811  README
                    .....         2048         2048  [BOOT]/1-Boot-NoEmul.img
                    .....       190464       190464  [BOOT]/2-Boot-NoEmul.img
------------------- ----- ------------ ------------  ------------------------
2024-03-07 17:30:28          190097518    190097518  30 files, 5 folders

$ 7z e slitaz-current-core64.iso EFI/esp.img

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 92872704 bytes (89 MiB)

Extracting archive: slitaz-current-core64.iso
--
Path = slitaz-current-core64.iso
Type = Iso
Physical Size = 92872704
Comment =
System: LINUX
Volume: SliTaz core64
VolumeSet: SliTaz cooking
Publisher: http://www.slitaz.org
Preparer: root
Application: tazlito 537/genisoimage 1.1.11 (Linux)
Copyright: README
Created = 2024-03-07 17:30:28
Modified = 2024-03-07 17:30:28

Everything is Ok

Size: 190464
Compressed: 92872704

$ 7z t esp.img

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 190464 bytes (186 KiB)

Testing archive: esp.img

ERRORS:
Unexpected end of archive

--
Path = esp.img
Type = FAT
ERRORS:
Unexpected end of archive
Physical Size = 92073984
File System = FAT16
Cluster Size = 2048
Free Space = 91885568
Headers Size = 188416
Label = SLITAZ BOOT
Sector Size = 512
ID = 0

ERROR: Data Error : EFI/boot/linux.cmdline
ERROR: Data Error : EFI/boot/bootx64.efi
ERROR: Data Error : EFI/boot/rootfs.gz

Sub items Errors: 3

Archives with Errors: 1

Open Errors: 1

Sub items Errors: 3

$ 7z l esp.img

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 190464 bytes (186 KiB)

Listing archive: esp.img

--
Path = esp.img
Type = FAT
ERRORS:
Unexpected end of archive
Physical Size = 92073984
File System = FAT16
Cluster Size = 2048
Free Space = 91885568
Headers Size = 188416
Label = SLITAZ BOOT
Sector Size = 512
ID = 0

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-03-07 17:30:26 D....                            EFI
2024-03-07 17:30:26 D....                            EFI/boot
2024-03-07 17:30:24 ....A           61         2048  EFI/boot/linux.cmdline
2024-03-07 14:38:42 ....A      5271744      5273600  EFI/boot/bootx64.efi
2024-03-07 17:30:24 ....A     86607792     86607872  EFI/boot/rootfs.gz
------------------- ----- ------------ ------------  ------------------------
2024-03-07 17:30:26           91879597     91883520  3 files, 2 folders

Errors: 1

$

VS.

$ 7z l slitaz-current.iso

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 92872704 bytes (89 MiB)

Listing archive: slitaz-current.iso

--
Path = slitaz-current.iso
Type = Iso
Physical Size = 92872704
Comment =
System: LINUX
Volume: SliTaz LiveCD
VolumeSet: SliTaz current
Publisher: http://www.slitaz.org
Preparer: root
Application: tazlito 537/genisoimage 1.1.11 (Linux)
Copyright: README
Created = 2024-03-13 12:07:13
Modified = 2024-03-13 12:07:13

 Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-03-13 12:07:12 D....                            boot
2024-03-13 12:06:41 .....      5271744      5271744  boot/bzImage64
2024-03-07 17:26:57 D....                            boot/grub
2021-10-23 10:33:57 .....        24842        24842  boot/grub/splash.xpm.gz
2024-03-13 12:06:41 .....       354512       354512  boot/ipxe.exe
2024-03-07 17:30:27 D....                            boot/isolinux
2024-03-13 12:07:13 .....         2048         2048  boot/isolinux/boot.cat
2024-01-15 12:25:26 .....        17607        17607  boot/isolinux/c32box.c32
2024-01-15 12:25:26 .....          857          857  boot/isolinux/help.en
2024-01-15 12:25:26 .....          875          875  boot/isolinux/help.fr
2024-01-15 12:25:26 .....         3718         3718  boot/isolinux/i18n.cfg
2024-01-15 12:25:20 .....        26624        26624  boot/isolinux/isolinux.bin
2024-03-07 17:27:12 .....         1499         1499  boot/isolinux/isolinux.cfg
2024-01-15 12:25:26 .....         1446         1446  boot/isolinux/kbd
2024-01-15 12:25:26 .....         1000         1000  boot/isolinux/opts.en
2024-01-15 12:25:26 .....         1118         1118  boot/isolinux/opts.fr
2021-10-23 10:33:57 .....        23795        23795  boot/isolinux/splash.jpg
2024-01-15 12:25:26 .....        75442        75442  boot/isolinux/vesamenu.c32
2024-03-13 12:06:41 .....         4042         4042  boot/linld.com
2024-03-13 12:06:41 .....        55532        55532  boot/memtest.exe
2024-03-13 12:06:41 .....        57865        57865  boot/memtest64.exe
2024-03-13 12:06:41 .....        23717        23717  boot/plop.exe
2024-03-13 12:06:41 .....     86607792     86607792  boot/rootfs.gz
2024-03-13 12:06:41 .....      5271744      5271744  boot/vmlinuz-5.10.210-slitaz64
2024-03-13 12:07:12 D....                            EFI
2024-03-13 12:07:12 D....                            EFI/boot
2024-03-13 12:06:41 .....      5271744      5271744  EFI/boot/bootx64.efi
2024-03-13 12:07:12 .....           61           61  EFI/boot/linux.cmdline
2024-03-13 12:06:41 .....     86607792     86607792  EFI/boot/rootfs.gz
2024-03-13 12:07:13 .....     92073984     92073984  EFI/esp.img
2024-03-13 12:07:12 .....         4922         4922  index.html
2024-03-13 12:07:13 .....         1393         1393  md5sum
2024-03-13 12:07:12 .....          811          811  README
                    .....         2048         2048  [BOOT]/1-Boot-NoEmul.img
                    .....     23018496     23018496  [BOOT]/2-Boot-NoEmul.img
------------------- ----- ------------ ------------  ------------------------
2024-03-13 12:07:13          304809070    304809070  30 files, 5 folders

$


https://forum.slitaz.org/topic/uefi-only-laptop-trouble-booting/page/3#post-52161

current - UEFI only Laptop - Trouble booting -3

 

UEFI only Laptop - Trouble booting-3

HP Spectre x360 Convertible 15-df1xxx
Intel CometLake-U GT2 [UHD Graphics]
Intel Comet Lake PCH-LP CNVi WiFi

the machine doesn't boot to grub anymore and just locks up with a blank screen.

sda 8:0 1 3.8G 0 disk
└─sda1 8:1 1 52.7M 0 part

slitaz-rolling-core64: kernel-3.16.55 xorg-server-1.12.4
slitaz-current-core64: kernel-5.10.210 xorg-server-1.20.14

Try slitaz-current-core64.iso with dd.

if have showed boot process with a blank screen.

press CTRL + ALT + F2 switch to VT2

login: root
password: root

# slitaz
# tazpkg
# tazpkg recharge
# X -version
....

 
 

https://forum.slitaz.org/topic/uefi-only-laptop-trouble-booting/page/3#post-52148

current - UEFI only Laptop - Trouble booting -2

UEFI only Laptop - Trouble booting -2

https://doc.slitaz.org/en:guides:uefi-live

Where it says
wget http://cook.slitaz.org/next64/grub2/browse/taz/grub2-efi-2.02/fs/boot/efi/boot/bootx64.efi

I changed 2.02 to 2.04

Contents of package “grub2-efi-2.04” (1M):
permissions·lnk·user ·group · size·date & time ·name

drwxr-xr-x 3 root root 4096 Jul 9 2020 /
drwxr-xr-x 3 root root 4096 Jul 9 2020 /boot/
drwxr-xr-x 3 root root 4096 Jul 9 2020 /boot/efi/
drwxr-xr-x 2 root root 4096 Jul 9 2020 /boot/efi/boot/
-rw-r--r-- 1 root root 1064960 Jul 9 2020 /boot/efi/boot/bootx64.efi

https://cook.slitaz.org/next64/grub2/browse/taz/grub2-efi-2.04/fs/boot/efi/boot/bootx64.efi

# file bootx64.efi
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows

VS.

# file /media/cdrom/EFI/boot/bootx64.efi
/media/cdrom/EFI/boot/bootx64.efi: Linux kernel x86 boot executable bzImage, version 5.10.210-slitaz64 (root@tank) #2 SMP Thu Mar 7 14:38:29 Europe 2024, RO-rootFS, swap_dev 0X5, Normal VGA

 

 

current - UEFI only Laptop - Trouble booting

 



UEFI only Laptop - Trouble booting

    Looking at what it installed closer all that is on the flash drive is an EFI folder.
    I think I mentioned that in a previous post.

    Here is my boot partition.
    demo@Manjaro mnt]$ tree
    .

    ├── boot
    │   ├── bzImage
    │   ├── grub
    │   │   ├── grub.cfg
    │   │   └── splash.xpm.gz
    │   ├── ipxe
    │   ├── isolinux
    │   │   ├── boot.cat
    │   │   ├── c32box.c32
    │   │   ├── help.en
    │   │   ├── help.fr
    │   │   ├── i18n.cfg
    │   │   ├── isolinux.bin
    │   │   ├── isolinux.cfg
    │   │   ├── kbd
    │   │   ├── opts.en
    │   │   ├── opts.fr
    │   │   ├── splash.png
    │   │   ├── ter-v16v.psf
    │   │   └── vesamenu.c32
    │   ├── linld.com
    │   ├── memtest
    │   ├── rootfs.gz
    │   ├── slitaz-rolling-core64.iso
    │   └── vmlinuz-4.9.30-slitaz
    └── efi
         └── boot
            └── bootx64.efi

    6 directories, 23 files


slitaz-rolling-core64.iso

# mount -o loop slitaz-rolling-core64.iso /media/cdrom
mount: /media/cdrom0: WARNING: source write-protected, mounted read-only.

# tree /media/cdrom
/media/cdrom
├── EFI
│ ├── boot
│ │ ├── bootx64.efi
│ │ ├── linux.cmdline
│ │ └── rootfs.gz
│ └── esp.img
├── README
├── boot
│ ├── bzImage64
│ ├── grub
│ │ └── splash.xpm.gz
│ ├── ipxe.exe
│ ├── isolinux
│ │ ├── boot.cat
│ │ ├── c32box.c32
│ │ ├── help.en
│ │ ├── help.fr
│ │ ├── i18n.cfg
│ │ ├── isolinux.bin
│ │ ├── isolinux.cfg
│ │ ├── kbd
│ │ ├── opts.en
│ │ ├── opts.fr
│ │ ├── splash.jpg
│ │ └── vesamenu.c32
│ ├── linld.com
│ ├── memtest.exe
│ ├── memtest64.exe
│ ├── plop.exe
│ ├── rootfs.gz
│ └── vmlinuz-3.16.55-slitaz64
├── index.html
└── md5sum

6 directories, 28 files

# file /media/cdrom/EFI/boot/bootx64.efi
/media/cdrom/EFI/boot/bootx64.efi: Linux kernel x86 boot executable bzImage, version 3.16.55-slitaz64 (root@tank) #2 SMP Thu Jul 14 18:20:24 UTC 2022, RO-rootFS, swap_dev 0X3, Normal VGA

# cat /media/cdrom/EFI/boot/linux.cmdline
rw root=0x100 video=-32 autologin initrd=\EFI\boot\rootfs.gz
#

slitaz-current-core64.iso

# mount -o loop slitaz-current-core64.iso /media/cdrom
mount: /media/cdrom0: WARNING: source write-protected, mounted read-only.

# tree /media/cdrom
/media/cdrom
├── EFI
│ ├── boot
│ │ ├── bootx64.efi
│ │ ├── linux.cmdline
│ │ └── rootfs.gz
│ └── esp.img
├── README
├── boot
│ ├── bzImage64
│ ├── grub
│ │ └── splash.xpm.gz
│ ├── ipxe.exe
│ ├── isolinux
│ │ ├── boot.cat
│ │ ├── c32box.c32
│ │ ├── help.en
│ │ ├── help.fr
│ │ ├── i18n.cfg
│ │ ├── isolinux.bin
│ │ ├── isolinux.cfg
│ │ ├── kbd
│ │ ├── opts.en
│ │ ├── opts.fr
│ │ ├── splash.jpg
│ │ └── vesamenu.c32
│ ├── linld.com
│ ├── memtest.exe
│ ├── memtest64.exe
│ ├── plop.exe
│ ├── rootfs.gz
│ └── vmlinuz-5.10.210-slitaz64
├── index.html
└── md5sum

6 directories, 28 files

# file /media/cdrom/EFI/boot/bootx64.efi
/media/cdrom/EFI/boot/bootx64.efi: Linux kernel x86 boot executable bzImage, version 5.10.210-slitaz64 (root@tank) #2 SMP Thu Mar 7 14:38:29 Europe 2024, RO-rootFS, swap_dev 0X5, Normal VGA

# cat /media/cdrom/EFI/boot/linux.cmdline
rw root=0x100 video=-32 autologin initrd=\EFI\boot\rootfs.gz
#



https://forum.slitaz.org/topic/uefi-only-laptop-trouble-booting/page/2#post-52146

 

2021-11-28

m3400 - MX-21_ahs - X.Org 1.20.13 / Mesa 21.2.5

 

MX-21_ahs - X.Org 1.20.13 / Mesa 21.2.5

 

Graphics:
Device-1: AMD Cezanne driver: amdgpu v: kernel
Device-2: IMC Networks type: USB driver: uvcvideo
Display: server: X.Org 1.19.3 driver: loaded: amdgpu
unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz
OpenGL: renderer: llvmpipe (LLVM 5.0 128 bits) v: 3.3 Mesa 17.2.4

Quick System Info


System:    Host: <filter> Kernel: 5.14.0-4mx-amd64 x86_64 bits: 64 compiler: N/A
           parameters: BOOT_IMAGE=/antiX/vmlinuz bdev=nvme0n1p7 bdir=antiX from=hd
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
           Distro: MX-21_ahs_x64 Wildflower November 22  2021
           base: Debian GNU/Linux 11 (bullseye)
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop M3400QA_M3400QA v: 1.0
           serial: <filter>
           Mobo: ASUSTeK model: M3400QA v: 1.0 serial: <filter> UEFI: American Megatrends LLC.
           v: M3400QA.301 date: 04/06/2021
Battery:   ID-1: BAT0 charge: 15.5 Wh condition: 44.4/50.0 Wh (89%) volts: 11.9/11.9
           model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> status: Discharging
           cycles: 102
CPU:       Topology: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
           arch: N/A family: 19 (25) model-id: 50 (80) stepping: N/A microcode: A50000C
           L1 cache: 512 KiB L2 cache: 4096 KiB L3 cache: 15.6 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
           bogomips: 102210
           Speed: 1135 MHz min/max: 1200/3200 MHz boost: enabled Core speeds (MHz): 1: 1852
           2: 1443 3: 1197 4: 1197 5: 1197 6: 1197 7: 1871 8: 1385 9: 1296 10: 1297 11: 1297
           12: 1297 13: 1297 14: 1297 15: 1135 16: 1134
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass
           mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP:
           always-on, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 03:00.0
           chip ID: 1002:1638
           Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati
           unloaded: fbdev,modesetting,vesa resolution: 1920x1200~90Hz
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.0-4mx-amd64 LLVM 12.0.1)
           v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:     Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel
           bus ID: 03:00.1 chip ID: 1002:1637
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK
           driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2
           Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus ID: 03:00.6 chip ID: 1022:15e3
           Sound Server: ALSA v: k5.14.0-4mx-amd64
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0
           chip ID: 8086:2723
           IF: wlan0 state: up mac: <filter>
Drives:    Local Storage: total: 505.83 GiB used: 31.06 GiB (6.1%)
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N size: 476.94 GiB
           block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
           rev: 41000C20 scheme: GPT
           ID-2: /dev/sda type: USB vendor: Transcend model: TS-RDF5 SD Transcend
           size: 28.89 GiB block size: physical: 512 B logical: 512 B serial: <filter> rev: TS33
           scheme: GPT
Partition: ID-1: / raw size: N/A size: 11.95 GiB used: 495.2 MiB (4.0%) fs: overlay
           source: ERR-102
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A gpu: amdgpu temp: 42 C
           Fan Speeds (RPM): cpu: 0
Repos:     No active apt repos in: /etc/apt/sources.list
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/repo/ bullseye ahs
Info:      Processes: 338 Uptime: 29m Memory: 15.05 GiB used: 1.79 GiB (11.9%) Init: SysVinit
           v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Shell: quick-system-in
           running in: quick-system-in inxi: 3.0.36

Report copied to system clipboard
Report is already formatted for forum.
Paste directly into forum post. 
 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50363 

2021-09-13

m3400 - slitaz-x86_64-UEFI


slitaz-x86_64-UEFI

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0        VivoBook_ASUSLaptop M3400QA_M3400QA
BIOS           = M3400QA.301
Release        = "SliTaz GNU/Linux"
Kernel         = 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
/proc/cmdline  = BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Init system    = sysvinit
Boot mode      = UEFI
Kernel command line: BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin

tux@slitaz:~$ ls /sys/firmware/efi
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab

tux@slitaz:~$ cat /sys/firmware/efi/fw_vendor
0xcd13cf18


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50275


 

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:~$ 
 

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

2018-04-30

Slitaz -- bootx64.efi / grub-mkimage



bootx64.efi
grub-mkimage
Make a bootable image of GRUB.


 


root@slitaz:~# uname -a
Linux slitaz 4.16.0-slitaz #2 SMP Thu Apr 5 11:07:34 UTC 2018 x86_64 GNU/Linux
 
root@slitaz:~# grub-mkimage --help | egrep 'Make|DIR|output|FORMAT|x86_64'
Make a bootable image of GRUB.
  -d, --directory=DIR        use images and modules under DIR
  -o, --output=FILE          output a generated image to FILE [default=stdout]
  -O, --format=FORMAT        generate an image in FORMAT
                             i386-ieee1275, i386-qemu, x86_64-efi, i386-xen,
                             x86_64-xen, mipsel-yeeloong-flash,
  -p, --prefix=DIR           set prefix directory

root@slitaz:~# grub-mkimage -d /usr/lib/grub/x86_64-efi -o bootx64.efi -O x86_64-efi -p /boot/grub \
> ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \
> iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \
> xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \
> loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \
> scsi loopback normal configfile gzio all_video efi_gop efi_uga \
> gfxterm gettext echo

root@slitaz:~# ls -l bootx64.efi
-rw-r--r-- 1 root root 905728 Apr 30 02:33 bootx64.efi

root@slitaz:~# file bootx64.efi
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
root@slitaz:~#

----

grub2 - receipt

http://cook.slitaz.org/next64/grub2/receipt
    efi)
        export EFI_ARCH=i386
        ./configure \
            --with-platform=efi \
            --target=$EFI_ARCH \
            --program-prefix="" \
            $CONFIGURE_ARGS &&
        make clean &&
        make $MAKEFLAGS || return 1

        cd grub-core
        ../grub-mkimage \
            -d . \
            -o ../bootia32.efi \
            -O i386-efi \
            -p /boot/grub \
            ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \
            iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \
            xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \
            loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \
            scsi loopback normal configfile gzio all_video efi_gop efi_uga \
            gfxterm gettext echo boot chain || return 1

            install -Dm644 $src/bootia32.efi $install/boot/efi/boot/bootia32.efi

Slitaz -- slitaz-next64-efi


slitaz-next64
Linux slitaz 4.16.0-slitaz







tux@slitaz:~$ uname -a
Linux slitaz 4.16.0-slitaz #2 SMP Thu Apr 5 11:07:34 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage-4.16 root=/dev/null autologin

tux@slitaz:~$ check-uefi.sh
UEFI
 
tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 10:38 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 10:38 efivars
drwxr-xr-x    3 root     root             0 Apr 26 10:38 esrt
-r--r--r--    1 root     root          4096 Apr 26 10:38 fw_platform_size
-r--r--r--    1 root     root          4096 Apr 26 10:38 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 10:38 runtime
-r--------    1 root     root          4096 Apr 26 10:38 systab
drwxr-xr-x   93 root     root             0 Apr 26 10:38 vars

tux@slitaz:~$ grep -i efi /var/log/dmesg.log
[ 0.000000] efi: EFI v2.31 by American Megatrends
[ 0.000000] efi: ESRT=0xd9f7d998 ACPI 2.0=0xd97c1000 ACPI=0xd97c1000 SMBIOS=0xf05b0 MPS=0xfd690
[ 0.000000] ACPI: UEFI 0x00000000D97DB868 000042 (v01 ALASKA A M I 01072009 00000000)
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.039528] pci 0000:00:02.0: BAR 2: assigned to efifb
[ 0.050160] Registered efivars operations
[ 14.877870] efifb: probing for efifb
[ 14.877885] efifb: framebuffer at 0xe0000000, using 3072k, total 3072k
[ 14.877888] efifb: mode is 1024x768x32, linelength=4096, pages=1
[ 14.877890] efifb: scrolling: redraw
[ 14.877892] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 14.884753] fb0: EFI VGA frame buffer device
[ 15.904041] tsc: Refined TSC clocksource calibration: 3200.000 MHz
[ 16.535160] EFI Variables Facility v0.08 2004-May-17
[ 16.547340] pstore: Registered efi as persistent store backend
tux@slitaz:~$

----

slitaz-x86_64
slitaz-docker

Linux slitaz 3.16.36-slitaz64

tux@slitaz:~$ uname -a
Linux slitaz 3.16.36-slitaz64 #1 SMP Fri Oct 7 13:26:22 UTC 2016 x86_64 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=(loop)/boot/bzImage64 iso_filename=/boot/slitaz-docker.iso root=/dev/null rw autologin noeject

tux@slitaz:~$ check-uefi.sh
UEFI
 
tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 13:05 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 13:05 efivars
-r--r--r--    1 root     root          4096 Apr 26 13:05 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 13:05 runtime
drwxr-xr-x   11 root     root             0 Apr 26 13:05 runtime-map
-r--------    1 root     root          4096 Apr 26 13:05 systab
drwxr-xr-x   93 root     root             0 Apr 26 13:05 vars
tux@slitaz:~$
 

2018-04-29

Slitaz -- slitaz-next-efi


slitaz-next
slitaz-next-lxqt


Linux slitaz 4.9.30-slitaz

tux@slitaz:~$ uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage-4.9.30 rw root=/dev/null video=-32 autologin

tux@slitaz:~$ check-uefi.sh
UEFI

tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 14:08 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 14:08 efivars
drwxr-xr-x    3 root     root             0 Apr 26 14:08 esrt
-r--r--r--    1 root     root          4096 Apr 26 14:08 fw_platform_size
-r--r--r--    1 root     root          4096 Apr 26 14:08 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 14:08 runtime
-r--------    1 root     root          4096 Apr 26 14:08 systab

tux@slitaz:~$ grep -i efi /var/log/dmesg.log
[ 0.000000] efi: EFI v2.31 by American Megatrends
[ 0.000000] efi: ESRT=0xd9f7d998 ACPI 2.0=0xd97c1000 ACPI=0xd97c1000 SMBIOS=0xf05b0 MPS=0xfd690
[ 0.000000] efi: No EFI runtime due to 32/64-bit mismatch with kernel
[ 0.000000] ACPI: UEFI 0x00000000D97DB868 000042 (v01 ALASKA A M I 01072009 00000000)
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.000000] efi: Setup done, disabling due to 32/64-bit mismatch
[ 0.121609] Registered efivars operations
[ 0.123041] clocksource: Switched to clocksource refined-jiffies
[ 7.622075] efifb: probing for efifb
[ 7.622084] efifb: framebuffer at 0xe0000000, using 3072k, total 3072k
[ 7.622087] efifb: mode is 1024x768x32, linelength=4096, pages=1
[ 7.622089] efifb: scrolling: redraw
[ 7.622091] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 7.626392] fb0: EFI VGA frame buffer device
[ 8.671452] tsc: Refined TSC clocksource calibration: 3199.998 MHz
tux@slitaz:~$

Slitaz -- rolling-core-efi



slitaz-rolling-core
slitaz-rolling

Linux slitaz 3.16.55-slitaz

tux@slitaz:~$ uname -a
Linux slitaz 3.16.55-slitaz #4 SMP Tue Mar 27 13:38:39 CEST 2018 i686 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage rw root=/dev/null video=-32 autologin

tux@slitaz:~$ check-uefi.sh
UEFI
 
tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 08:22 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 08:22 efivars
-r--r--r--    1 root     root          4096 Apr 26 08:22 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 08:22 runtime
-r--------    1 root     root          4096 Apr 26 08:22 systab

tux@slitaz:~$ zcat /proc/config.gz | grep EFI
CONFIG_EFI_PARTITION=y
CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_FB_EFI=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# EFI (Extensible Firmware Interface) Support
CONFIG_EFI_VARS=m
CONFIG_EFI_RUNTIME_MAP=y
# CONFIG_CACHEFILES is not set
CONFIG_EFIVAR_FS=m
CONFIG_EARLY_PRINTK_EFI=y
tux@slitaz:~$

----

slitaz-rolling-core
Linux slitaz 3.2.98-slitaz


tux@slitaz:~$ uname -a
Linux slitaz 3.2.98-slitaz #4 SMP Tue Jan 16 15:44:20 CET 2018 i686 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=(loop)/boot/bzImage isoloop=/boot/slitaz-rolling-core.iso root=/dev/null rw autologin noeject

tux@slitaz:~$ check-uefi.sh
BIOS

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

tux@slitaz:~$ zcat /proc/config.gz | grep EFI
CONFIG_EFI=y
# CONFIG_FB_EFI is not set
CONFIG_EFI_VARS=m
CONFIG_EFI_PARTITION=y

tux@slitaz:~$ lsmod | grep efi
tux@slitaz:~$