SliTaz SliTaz Forum

You are not logged in.

#26 2024-03-09 20:49:05

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: UEFI only Laptop - Trouble booting

Unfortunately, I don't have any other suggestions on this

the tests I did on this tablet, and the bios does not support legacy mode; only efi/uefi.

https://www.manualeduso.it/miia/mwt-743g/manuale

Offline

#27 2024-03-09 22:05:11

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

OK I had this kind of working.

I was able to build a EFI GRUB partition with menu entries.

What I couldn't do was get the GRUB Menu entry to launch the OS.

So what I think I need to do is create 2 partitions.

1. an EFI boot partition with GRUB on it for EFI 64 bit

2. A Linux ext4 partition with the OS on it.

Somehow I need to get the boot to launch the OS.

My menu entries must be wrong so far.

I will post back with my progress.

Offline

#28 2024-03-09 23:21:12

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

It looks like to me the .zip files have all the files in them but the .iso files don't.

Can anyone confirm this for me?

Offline

#29 2024-03-10 03:51:52

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

After messing around a little more I got these messages.

Booting a command list

error: unknown filesystem.

error: you need to load the kernel first.

Offline

#30 2024-03-10 12:09:34

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: UEFI only Laptop - Trouble booting

@maybl8

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

#

Offline

#31 2024-03-10 12:32:02

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: UEFI only Laptop - Trouble booting

@maybl8

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

Offline

#32 2024-03-10 13:53:49

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: UEFI only Laptop - Trouble booting

@maybl8.

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

....

Offline

#33 2024-03-11 13:57:41

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Here is a menuentry from one of the OS's I have on the laptop.

Could something here give you an idea of what I need to change.

menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-91f4ccdf-2376-48ab-a390-91ea0bc4b02a' {

    savedefault

    load_video

    set gfxpayload=keep

    insmod gzio

    insmod part_gpt

    insmod ext2

    search --no-floppy --fs-uuid --set=root 91f4ccdf-2376-48ab-a390-91ea0bc4b02a

    echo    'Loading Linux linux ...'

    linux    /boot/vmlinuz-linux root=UUID=91f4ccdf-2376-48ab-a390-91ea0bc4b02a rw  loglevel=3 nvidia_drm.modeset=1 fbcon=font:TER16x32 vt.color=0x17

    echo    'Loading initial ramdisk ...'

    initrd    /boot/intel-ucode.img /boot/initramfs-linux.img

}

Offline

#34 2024-03-14 07:09:14

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: UEFI only Laptop - Trouble booting

@HGT,

@maybl8,

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

Offline

#35 2024-03-15 08:30:59

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: UEFI only Laptop - Trouble booting

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

Offline

#36 2024-03-15 15:25:33

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: UEFI only Laptop - Trouble booting

@alanyih

I just copied the ISO image from

http://mirror1.slitaz.org/iso/current/slitaz-current-core64.iso

with [c]dd[/c] to an USB flash drive and booted from that on an UEFI system.

The result was a kernel panic after:

[c]Cannot open root device "(null)" or unknown-block(0,0): error -6[/c]

[c]Please append a correct "root=" boot option[/c]

That file is from 2024-03-15, not 2024-03-14

Offline

#37 2024-03-15 17:36:40

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi HGT,

Infact on qemu i see issue, let's me check sad

For 2024-03-15, yes i rebuild iso for include tazpkg with new feature.

Offline

#38 2024-03-25 12:22:12

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Just tried the latest current-core64 on my uefi only laptop.

Still doesn't boot to it.

Maybe I don't understand your iso's.

There is no GRUB on here or system files. Looks just like efi files.

Am i missing something?

[demo@Manjaro Downloads]$ 7z l slitaz-current-core64\ \(1\).iso

7-Zip [64] 17.05 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28

p7zip Version 17.05 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:

1 file, 93149184 bytes (89 MiB)

Listing archive: slitaz-current-core64 (1).iso

--

Path = slitaz-current-core64 (1).iso

Type = Iso

Physical Size = 93149184

Comment =

System: LINUX

Volume: SliTaz core64

VolumeSet: SliTaz cooking

Publisher: www.slitaz.org

Preparer: root

Application: tazlito 537/genisoimage 1.1.11 (Linux)

Copyright: README

Created = 2024-03-24 13:08:31

Modified = 2024-03-24 13:08:31

   Date      Time    Attr         Size   Compressed  Name

------------------- ----- ------------ ------------  ------------------------

2024-03-24 13:08:29 D....                            boot

2024-03-07 10:38:43 .....      5271744      5271744  boot/bzImage64

2024-03-24 13:04:59 D....                            boot/grub

2021-10-23 06:33:57 .....        24842        24842  boot/grub/splash.xpm.gz

2024-01-15 12:12:05 .....       354512       354512  boot/ipxe.exe

2024-03-24 13:08:30 D....                            boot/isolinux

2024-03-24 13:08:31 .....         2048         2048  boot/isolinux/boot.cat

2024-01-15 08:25:26 .....        17607        17607  boot/isolinux/c32box.c32

2024-01-15 08:25:26 .....          857          857  boot/isolinux/help.en

2024-01-15 08:25:26 .....          875          875  boot/isolinux/help.fr

2024-01-15 08:25:26 .....         3718         3718  boot/isolinux/i18n.cfg

2024-01-15 08:25:20 .....        26624        26624  boot/isolinux/isolinux.bin

2024-03-24 13:05:15 .....         1499         1499  boot/isolinux/isolinux.cfg

2024-01-15 08:25:26 .....         1446         1446  boot/isolinux/kbd

2024-01-15 08:25:26 .....         1000         1000  boot/isolinux/opts.en

2024-01-15 08:25:26 .....         1118         1118  boot/isolinux/opts.fr

2021-10-23 06:33:57 .....        23795        23795  boot/isolinux/splash.jpg

2024-01-15 08:25:26 .....        75442        75442  boot/isolinux/vesamenu.c32

2024-01-15 08:25:26 .....         4042         4042  boot/linld.com

2024-01-15 12:12:51 .....        55532        55532  boot/memtest.exe

2024-01-15 12:13:00 .....        57865        57865  boot/memtest64.exe

2024-01-15 12:13:22 .....        23717        23717  boot/plop.exe

2024-03-24 13:08:28 .....     86883352     86883352  boot/rootfs.gz

2024-03-07 10:38:43 .....      5271744      5271744  boot/vmlinuz-5.10.210-slitaz64

2024-03-24 13:08:29 D....                            EFI

2024-03-24 13:08:29 D....                            EFI/boot

2024-03-07 10:38:43 .....      5271744      5271744  EFI/boot/bootx64.efi

2024-03-24 13:08:29 .....           61           61  EFI/boot/linux.cmdline

2024-03-24 13:08:28 .....     86883352     86883352  EFI/boot/rootfs.gz

2024-03-24 13:08:30 .....     92350464     92350464  EFI/esp.img

2024-03-24 13:08:29 .....         4922         4922  index.html

2024-03-24 13:08:31 .....         1393         1393  md5sum

2024-03-24 13:08:29 .....          811          811  README

                    .....         2048         2048  [BOOT]/1-Boot-NoEmul.img

                    .....     23087616     23087616  [BOOT]/2-Boot-NoEmul.img

------------------- ----- ------------ ------------  ------------------------

2024-03-24 13:08:31          305705790    305705790  30 files, 5 folders

Offline

#39 2024-03-25 19:19:47

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

ISO use isolinux for bios and EFI in case of EFI only.

/boot/grub/splash.xpm.gz is used when grub4dos-linux is installed

Need more investigate to found why we have [c]Cannot open root device "(null)" or unknown-block(0,0): error -6[/c]

I check if we could use grub2 for EFI boot on livecd/liveusb.

Offline

#40 2024-03-26 16:59:08

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

After search think found why issue happen.

Infact for rolling we have linux-efi.u that patch efi-stub to use linux.cmdline when boot on uefi.

But this patch not work for linux 4.x / 5.x, i need to rewrite it.

Another solution is to have grub2 has loader on livecd/liveusb, can be implied increase iso size.

Offline

#41 2024-03-29 06:54:17

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

Continue to search best way for boot in UEFI.

I check for patch kernel and also to use grub2-efi as bootloader.

Below test with grub2-efi bootx64.efi, i have grub prompt [try to load /efi/grub/grub.cfg], need check to add grub.cfg for directly load kernel/initrd

for [c]rw root=0x100 video=-32 autologin initrd=\EFI\BOOT\rootfs.gz[/c] i try to use cmdline inside kernel (no success)

In case i use this and load sucessfully.

set root=(hd0,msdos1)

linux /EFI/BOOT/vmlinuz root=/dev/null

initrd /EFI/BOOT/rootfs.gz

boot

[attachment=52203,3513]

Offline

#42 2024-03-29 12:09:13

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

After adjust grub2-efi-x64 grub.cfg config, seem good, need test and adjust tazlito to use grub2-efi.

Below wip stuff.

[attachment=52204,3514]

Offline

#43 2024-03-29 12:23:15

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

This looks great.

Can I get an .iso to test on my sytem?

Offline

#44 2024-03-29 22:00:06

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

Fight and deal with tazlito to found best way for add grub loader.

Seem find now, i gen base64, test it. let's me build core64 and test if ok with qemu efi also before push them on my space for you can test.

Offline

#45 2024-03-29 22:18:37

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

I put isos to my space.

https://people.slitaz.org/~shann/slitaz-current-stuff/efitest/

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

Hope will be ok with our hardware smile

Offline

#46 2024-03-30 13:07:52

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: UEFI only Laptop - Trouble booting

@ shann,

What about using rEFInd instead of Grub2?

I did it in the past for Next64; here is the console ISO.

Offline

#47 2024-03-31 00:14:19

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

I was able to boot with the current-core64.iso

I got grub screen and it booted into slitaz.

I burned it to a flash drive and it worked.

My laptop is a hi res screen so font was very small.

I changed it to 1920x1080 so I could read it.

I had to do this all with keyboard because I had no touchpad.

Do you include touchpad drivers?

Also when I changed the resolution and saved it, it didn't save it.

When I rebooted I didn't have 1920x1080. It was 3840x2160.

But this is progress.

I am guessing file system installed is read only.

Offline

#48 2024-04-01 13:23:14

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

I can't see how to edit my post here so here is some more questions.

It appears as if slitaz runs in memory. That would be why it didn't save any changes to my flash drive. Is there a way to save the changes?

Also I am in USA. My keyboard for US isn't quite correct.

Example the letter 'a' comes out as 'q'.

Thanks

Dan

Offline

#49 2024-04-01 13:37:27

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi Dan,

Yes, filesystem is read-only, it's same as cdrom, and load as ram.

I test on my pro laptop that only uefi (HP G7 Elitebook)

Infact touchpad not work sad.

We have already xorg-xf86-input-synaptics on core64, i check with Ubuntu 20.04 LTS running.

I see with xinput synaptics Touchpad, but driver used seem hid-multitouch, don't present in kernel config (not set), check to add this and test.

Concerning keyboard, that strange normally it's work.

Offline

#50 2024-04-01 13:46:10

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

My system is HP Spectre x360 Convertible 15

Maybe I selected the wrong keyboard on startup.

I just used the defaults.

I will be happy to test anything if you want me to.

My timezone is America/New_York

One more thing How do I get wifi to work?

Complete Computer Specs:

[c][demo@Manjaro ~]$ inxi -Faaz
System:
  Kernel: 6.8.2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.8-x86_64
    root=UUID=45ca132d-4a37-4dc3-afa0-be2e80d6a4a2 rw quiet
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.3 tk: Qt v: N/A info: frameworks v: 6.0.0
    wm: kwin_x11 tools: xscreensaver,xscreensaver-systemd vt: 2 dm: SDDM
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Convertible System: HP product: HP Spectre x360 Convertible 15-df1xxx
    v: N/A serial: <superuser required> Chassis: type: 31
    serial: <superuser required>
  Mobo: HP model: 863F v: 54.24 serial: <superuser required>
    part-nu: 7UT64UA#ABA uuid: <superuser required> UEFI: AMI v: F.29
    date: 11/02/2022
Battery:
  ID-1: BAT0 charge: 59.3 Wh (100.0%) condition: 59.3/59.3 Wh (100.0%)
    volts: 12.9 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: full cycles: 242
  Device-1: hid-0018:04F3:2992.0001-battery model: ELAN2514:00 04F3:2992
    serial: N/A charge: N/A status: N/A
CPU:
  Info: model: Intel Core i7-10510U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xFA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 400/4900 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 36812
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB:
    conditional, RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:9b41
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard
    driver: nvidia v: 550.67 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-02; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 3 speed: 8 GT/s bus-ID: 3b:00.0 chip-ID: 10de:1d13
    class-ID: 0302
  Device-3: Chicony HP Wide Vision FHD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 04f2:b67b
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 220 s-size: 443x249mm (17.44x9.80")
    s-diag: 508mm (20.01")
  Monitor-1: eDP-1 model: AU Optronics 0x30eb built: 2017 res: 3840x2160
    hz: 60 dpi: 284 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 3840x2160
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast surfaceless:
    drv: nvidia x11: drv: iris inactive: gbm,wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa
    v: 24.0.4-manjaro1.1.1 glx-v: 1.4 direct-render: yes renderer: Mesa Intel
    UHD Graphics (CML GT2) device-ID: 8086:9b41 memory: 14.9 GiB unified: yes
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: discrete-gpu
    name: NVIDIA GeForce MX250 driver: nvidia v: 550.67 device-ID: 10de:1d13
    surfaces: xcb,xlib device: 1 type: integrated-gpu name: Intel UHD
    Graphics (CML GT2) driver: mesa intel v: 24.0.4-manjaro1.1.1
    device-ID: 8086:9b41 surfaces: xcb,xlib
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-cnl alternate: snd_hda_intel, snd_soc_skl,
    snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:02c8 class-ID: 0401
  API: ALSA v: k6.8.2-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-networkd, systemd-timesyncd,
    wpa_supplicant
Drives:
  Local Storage: total: 960.42 GiB used: 251.75 GiB (26.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 2B2QEXM7 temp: 40.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 model: USB DISK 3.0 size: 28.91 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s
    lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter> fw-rev: PMAP
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 163 GiB size: 160.13 GiB (98.24%) used: 57.48 GiB (35.9%)
    fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8
  ID-2: /boot/efi raw-size: 499 MiB size: 498 MiB (99.80%)
    used: 32.9 MiB (6.6%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-3: /home raw-size: 388.57 GiB size: 381.41 GiB (98.16%)
    used: 194.24 GiB (50.9%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 53.0 C pch: 51.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.26 GiB used: 5.37 GiB (35.2%)
  Processes: 308 Power: uptime: 22h 20m states: freeze,mem,disk
    suspend: s2idle wakeups: 2 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.08 GiB services: org_kde_powerdevil,upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1893 libs: 478 tools: pacaur,pamac,pikaur,yay
    Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: alacritty inxi: 3.3.33[/c]
Thanks

Dan

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.66 MiB (Peak: 1.78 MiB) ]