2024-04-06

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