SliTaz SliTaz Forum

You are not logged in.

#101 2024-04-24 11:00:25

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

Re: UEFI only Laptop - Trouble booting

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

#102 2024-04-27 12:17:40

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

Re: UEFI only Laptop - Trouble booting

I haven't had time to try this again. When I do I will post back the results

Offline

#103 2024-04-29 13:39:32

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

Re: UEFI only Laptop - Trouble booting

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

#104 2024-04-29 15:58:48

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

Re: UEFI only Laptop - Trouble booting

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 smile

[attachment=52317,3532]

Offline

#105 2024-04-30 23:11:31

TazRock
Member
Registered: 2024-04-30
Posts: 2

Re: UEFI only Laptop - Trouble booting

Were you able to solve this? Can you share the solution if you have?

Offline

#106 2024-05-08 22:58:34

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

Re: UEFI only Laptop - Trouble booting

Still having errors

[attachment=52324,3534]

Offline

#107 2024-05-10 06:36:55

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

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

sad to read this hmm

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

#108 2024-05-10 14:05:37

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

Re: UEFI only Laptop - Trouble booting

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

#109 2024-05-11 22:34:13

TazRock
Member
Registered: 2024-04-30
Posts: 2

Re: UEFI only Laptop - Trouble booting

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

#110 2024-05-13 19:45:53

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

Re: UEFI only Laptop - Trouble booting

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

#111 2024-05-16 20:39:57

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

Re: UEFI only Laptop - Trouble booting

@ 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

#112 2024-05-17 17:09:22

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

Re: UEFI only Laptop - Trouble booting

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

#113 2024-05-17 17:20:14

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

Re: UEFI only Laptop - Trouble booting

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

#114 2024-05-21 11:29:11

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

Re: UEFI only Laptop - Trouble booting

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

#115 2024-05-21 15:53:22

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

Re: UEFI only Laptop - Trouble booting

I made some progress but I think the install script needs changed.

see attachment my bzimage is bzimage64

[attachment=52337,3538]

Offline

#116 2024-05-21 16:28:34

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

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

infact hmm, i quick fix file.

line 588

[c]cp $SOURCE_ROOT/boot/bzImage $TARGET_ROOT/boot/$KERNEL[/c]

to

[c]cp $SOURCE_ROOT/boot/bzImage* $TARGET_ROOT/boot/$KERNEL[/c]

Offline

#117 2024-05-21 17:14:15

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

Re: UEFI only Laptop - Trouble booting

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

#118 2024-05-23 11:30:58

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

Re: UEFI only Laptop - Trouble booting

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

#119 2024-05-23 13:41:45

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

Re: UEFI only Laptop - Trouble booting

I'll try the ucode but here is the dmesg output:

Offline

#120 2024-05-23 14:25:51

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

Re: UEFI only Laptop - Trouble booting

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

#121 2024-05-23 18:07:58

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

Re: UEFI only Laptop - Trouble booting

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

#122 2024-05-24 13:13:00

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

Re: UEFI only Laptop - Trouble booting

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

#123 2024-05-26 13:08:02

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

Re: UEFI only Laptop - Trouble booting

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

#124 2024-05-27 05:54:16

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

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

Concerning install of SliTaz with uefi from scratch need to check for grub2 steps and /boot/efi partition.

for upgrade bad sad.

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

#125 2024-05-27 13:36:08

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

Re: UEFI only Laptop - Trouble booting

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

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

Board footer

Powered by FluxBB
Modified by Visman

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