You are not logged in.
Hi maybl8,
You need to get "tazinst-stable-msrv.txt" in my post, not include in iso.
https://forum.slitaz.org/topic/uefi-only-laptop-trouble-booting/page/7?bb_attachments=52297&bbat=3528
And don't forget to put in /usr/sbin/tazinst-stable and set executable with [c]chmod +x /usr/sbin/tazinst-stable[/c]
Offline
I haven't had time to try this again. When I do I will post back the results
Offline
Got back to this.
mounted the nvme0n1p10 as /
ran the script and see the screen capture for the error messages I got.
I think there are some missing packages on the usb I have.
[attachment=52316,3530]
I'm thinking that the problem is when I mounted nvme0n1p10 as /
It can't find the commands because when I went to shutdown it couldn't find any commands
When I unmounted / it found the shutdown command.
I mounted nvme0n1p10 as / because when I ran the install command before I mounted it , it said it couldn't find nvme0n1p10 /
I hope this makes sense.
Offline
Hi maybl8,
hmm you shouldn't try to mount your partition on /, with this you replace root with nothing, that why system stuck (no shutdown command or others).
Not sure what happen but i do test on qemu with disk simulate at nvme.
Install work without issue.
Step i do :
- Put tazinst-stable script to /usr/sbin/tazinst-stable (and ensure it's executable).
- Create installer file with [c]tazinst-stable new installer[/c]
- Adjust it with :
INST_TYPE="usb"
SRC_FILE="/dev/sdd1"
TGT_PARTITION="/dev/nvme0n1p1" < in my case only one partition
TGT_FS="ext4"
keep others default value (hostname, user, root pwd), set user password and ensure that TGT_GRUB is set "no"
Create /home/boot folder and get file (in my case from cdrom).
mkdir /home/boot
mount /dev/cdrom /mnt
cp /mnt/boot/bzImage64 /home/boot/bzImage
cp /mnt/boot/rootfs.gz /home/boot/rootfs.gz
umount /mnt
Run installer
[c]tazinst-stable install installer[/c]
[attachment=52317,3531]
To be sure on install-nvme file, you define TGT_PARTITION="/dev/nvme0n1p10" not TGT_PARTITION="nvme0n1p10" ?
Boot with grub2 
[attachment=52317,3532]
Offline
Were you able to solve this? Can you share the solution if you have?
Offline
Still having errors
[attachment=52324,3534]
Offline
Hi maybl8,
sad to read this 
I don't see correctly error message.
At begin error "Partition for / not found" it's /dev/nvme0n1p10 ?
For check partition it's
# Check Target Partition
found=no
LIST_PARTITION=$(fdisk -l | awk '/^\/dev/{printf "%s ",$1}')
for partition in $LIST_PARTITION; do
[ "$partition" == "$TGT_PARTITION" ] && found="yes"
done
if [ "$found" != "yes" ]; then
msg "$TGT_PARTITION: $(gettext "Partition for / not found")"; error=yes
fi
In case, if [c]fdisk -l[/c], list correctly partition on nvme0n1, normally check should match "partition" = "TGT_PARTITION" :
[c]"/dev/nvme0n1p10" == "/dev/nmve0n1p10"[/c]
Offline
I’m not getting something here. All of that checks out.
I even tried to change the target to a different drive.
I just keep getting the message
1. /dev/nvme0n1p10: Partition for / not found
Offline
Hi maybl8. Ive been catching on the thread. Not sure if I missed it or not but just would like to ask, have you disabled "secure boot"? Ive read it somewhere SliTaz will not boot on pc with this enabled.
Offline
Hi maybl8,
very strange, because disk allow only 4 primary partitions i retest on qemu nvme emulate disk and try to recreate same scheme you have.
disk have 10Go, twelve part with last has extended, no problem to install on /dev/nvme0n1p10.
[attachment=52330,3535] [attachment=52330,3536]
Offline
@ shann,
very strange, because disk allow only 4 primary partitions
[...]
disk have 10Go, twelve part with last has extended
Could the problem coming from that you test with a DOS partition system but maybl8 uses GPT?
Offline
Hi Ceel, maybl8,
Infact i retest with GPT partition, issue come here.
Older tazinst-stable i used not have function to deal with gpt scheme.
Let's me check how i can adjust it.
with [c]blkid -o export | grep DEVNAME[/c] in both case i have partitions list.
Offline
In attachment script adjusted.
Diff line 294
[c]LIST_PARTITION=$(fdisk -l | awk '/^\/dev/{printf "%s ",$1}')[/c]
become
[c]LIST_PARTITION=$(blkid -o export | grep DEVNAME | sed 's/DEVNAME=//g')[/c]
Don't forget to move them as /usr/sbin/tazinst-stable and use [c]chmod +x /usr/sbin/tazinst-stable[/c]
Offline
Sorry guys I have been tied up with some other projects and a sick cat.
I will try to get some time on this today to test.
Offline
I made some progress but I think the install script needs changed.
see attachment my bzimage is bzimage64
[attachment=52337,3538]
Offline
We have success.
I am installed to the hard drive.
Need some help in configuring wireless on this system.
ip a does not show a wireless interface.
I used wlan0 in the config file but not sure if that is correct.
I think I listed the specs on this system in a previous post.
Let me known what you might need for it or what commands I should try to run.
Once I have wireless connected I can test things like updates and installing packages.
Also I will want to try to install on a flash drive.
Thanks for all of this help. I hope it also helps you with your project.
Dan
Offline
Hi maybl8,
hmm
if remember we have this information
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
In case use iwlwifi, normally already available (my work laptop has also wireless intel).
Maybe miss firmware ?
for AX601 if it's your card you need iwlwifi-QuZ-a0-hr-b0-59.ucode
You could get it on :
https://people.slitaz.org/~shann/slitaz-current-stuff/firmware-iwlwifi/iwlwifi-QuZ-a0-hr-b0-59.ucode
And put it to your root partition on usb stick in '/lib/firmware' folder
Can you please check it with this command [c]dmesg | grep firmw[/c]
Offline
I'll try the ucode but here is the dmesg output:
Offline
The ucode file worked . I am now on slitaz on my hard drive install the nvme0n1p10 partition.
Is there anything you would like me to test . Updates etc.
Thanks
My next task is to get this installed on a USB flash drive and make it persistent or just install it.
I made one attempt and I failed.
I'll try again and see what errors I got.
Thanks this has been a fun journey and I hope I have helped you guys.
Offline
Should I use this post to ask questions like:
How do I adjust screen brightness. My keyboard keys for it don't do anything.
Offline
So I now can install to my hard drive and add the wireless ucode and get wireless.
My laptop already had GRUB on it so when I installed to a partition on the drive all I had to do is update GRUB and Slitaz was there.
Now I want to install to a usb drive that has nothing on it.
Did we cover how to get grub installed along with Slitaz for EFI?
Also could you put the wireless ucode I need in the iso?
Thanks
Dan
Offline
New issue
After updating and rebooting I have lost wireless. It shows my settings but don't connect.
Also my Screen Resolution is stuck at 1024x768 and I have no other choices.
Not sure how to fix this unless I reinstall and don't upgrade packages.
Offline
Hi maybl8,
Concerning install of SliTaz with uefi from scratch need to check for grub2 steps and /boot/efi partition.
for upgrade bad
.
Hope no due of changes i do, upgrade to 5.10.217 and put pinctrl_intel* to modules.
Can you confirm with iso you have, 5.10.215 with pinctrl_intel* built-in and firmware no issue to connect ?
Offline
Can you confirm with iso you have, 5.10.215 with pinctrl_intel* built-in and firmware no issue to connect ?
I used the iso that you put in the efitest folder.
It is .215 . I don't know about pinctrl. I know I was able to get wireless after I loaded the ucode you had me download and put in the firmware folder and changed the wireless settings for my wifi.
Offline
[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.78 MiB) ]