Page 1 of 1
Error booting from limine
Posted: Tue Jan 07, 2025 2:59 pm
by libertas
Hi @BarryK,
I'm trying to install EasyOS to a laptop that has Windows 11.
When the computer boots, rEFInd menu has two options to choose from:
- Windows
- Limine
When booting from limine, I'm able to choose the keyboard layout, and to encrypt the partition.
But the copy of the vmlinuz file fails.
The script tries to copy it like so:
Code: Select all
/mnt/nvme0n1p7/EasyOS/Daedalus/wkg_dir/vmlinuz /mnt/nvme0n1p7/EasyOS/daedalus/wkg_dir/releases/easy-6.5.3/vmlinuz
There's a vmlinuz file at /mnt/nvme0n1p7/EasyOS/Daedalus/
but not inside its sub-directory wkg_dir.
Code: Select all
# ls -l /mnt/nvme0n1p7/EasyOS/Daedalus/
total 931840
-rw-r--r-- 1 root root 940011520 Dec 27 16:15 easy.sfs
-rw-r--r-- 1 root root 6575104 Dec 27 16:15 initrd
-rw-r--r-- 1 root root 7603200 Dec 27 16:15 vmlinuz
drwxr-xr-x 9 root root 4096 Jan 6 15:35 wkg_dir
# ls -l /mnt/nvme0n1p7/EasyOS/Daedalus/wkg_dir/
total 20
drwxr-xr-x 6 root root 4096 Jan 7 14:34 containers
drwxr-xr-x 2 root root 4096 Jan 7 14:34 data
drwxrwsr-x 13 root 122 4096 Jan 7 14:34 files
drwxr-xr-x 3 root root 4096 Jan 6 15:35 releases
drwxr-xr-x 5 root root 4096 Jan 7 14:34 sfs
The limine.cfg entry is:
Code: Select all
:EasyOS Daedalus64 (partition nvme0n1p7, path EasyOS/Daedalus)
COMMENT=EasyOS Daedalus bootup
RESOLUTION=800x600
PROTOCOL=linux
KERNEL_CMDLINE=rw wkg_uuid=e5f2c887-ac1d-46b9-aa90-498eec9395ad wkg_dir=EasyOS/Daedalus/wkg_dir/
KERNEL_PATH=guid://aba5be6d-f6ee-48a3-a7a0-2dde3777d418/EasyOS/Daedalus/vmlinuz
MODULE_PATH=guid://aba5be6d-f6ee-48a3-a7a0-2dde3777d418/EasyOS/Daedalus/initrd
So, vmlinuz is said to be under /EasyOS/Daedalus, not inside /EasyOS/Daedalus/wkg_dir.
Is this a bug?
Or do I have some configuration that is wrong?
Re: Error booting from limine
Posted: Tue Jan 07, 2025 5:52 pm
by Caramel
libertas wrote: Tue Jan 07, 2025 2:59 pm
...
When booting from limine, I'm able to choose the keyboard layout, and to encrypt the partition.
But the copy of the vmlinuz file fails.
The script tries to copy it like so:
Code: Select all
/mnt/nvme0n1p7/EasyOS/Daedalus/wkg_dir/vmlinuz /mnt/nvme0n1p7/EasyOS/daedalus/wkg_dir/releases/easy-6.5.3/vmlinuz
There's a vmlinuz file at /mnt/nvme0n1p7/EasyOS/Daedalus/
...
The limine.cfg entry is:
Code: Select all
:EasyOS Daedalus64 (partition nvme0n1p7, path EasyOS/Daedalus)
COMMENT=EasyOS Daedalus bootup
RESOLUTION=800x600
PROTOCOL=linux
KERNEL_CMDLINE=rw wkg_uuid=e5f2c887-ac1d-46b9-aa90-498eec9395ad wkg_dir=EasyOS/Daedalus/wkg_dir/
KERNEL_PATH=guid://aba5be6d-f6ee-48a3-a7a0-2dde3777d418/EasyOS/Daedalus/vmlinuz
MODULE_PATH=guid://aba5be6d-f6ee-48a3-a7a0-2dde3777d418/EasyOS/Daedalus/initrd
So, vmlinuz is said to be under /EasyOS/Daedalus, not inside /EasyOS/Daedalus/wkg_dir.
Is this a bug?
Or do I have some configuration that is wrong?
In limine.cfg, at the very end of the line KERNEL_CMDLINE, the "wkg_dir/" should be deleted.
Re: Error booting from limine
Posted: Wed Jan 08, 2025 6:55 pm
by libertas
Caramel wrote: Tue Jan 07, 2025 5:52 pm
libertas wrote: Tue Jan 07, 2025 2:59 pm
...
When booting from limine, I'm able to choose the keyboard layout, and to encrypt the partition.
But the copy of the vmlinuz file fails.
The script tries to copy it like so:
Code: Select all
/mnt/nvme0n1p7/EasyOS/Daedalus/wkg_dir/vmlinuz /mnt/nvme0n1p7/EasyOS/daedalus/wkg_dir/releases/easy-6.5.3/vmlinuz
There's a vmlinuz file at /mnt/nvme0n1p7/EasyOS/Daedalus/
...
The limine.cfg entry is:
Code: Select all
:EasyOS Daedalus64 (partition nvme0n1p7, path EasyOS/Daedalus)
COMMENT=EasyOS Daedalus bootup
RESOLUTION=800x600
PROTOCOL=linux
KERNEL_CMDLINE=rw wkg_uuid=e5f2c887-ac1d-46b9-aa90-498eec9395ad wkg_dir=EasyOS/Daedalus/wkg_dir/
KERNEL_PATH=guid://aba5be6d-f6ee-48a3-a7a0-2dde3777d418/EasyOS/Daedalus/vmlinuz
MODULE_PATH=guid://aba5be6d-f6ee-48a3-a7a0-2dde3777d418/EasyOS/Daedalus/initrd
So, vmlinuz is said to be under /EasyOS/Daedalus, not inside /EasyOS/Daedalus/wkg_dir.
Is this a bug?
Or do I have some configuration that is wrong?
In limine.cfg, at the very end of the line KERNEL_CMDLINE, the "wkg_dir/" should be deleted.
Hi @Caramel,
Thank you for your suggestion, but didn't work.
There was another problem, because the above mentioned error in the cp command happened again.
This time, EasyOS boot process was trying to copy /mnt/nvme0n1p7/vmlinuz, and this file is under EasyOS/Daedalus/.
I have EasyOS booting fine from a usb stick using a similar setup using the wkg_dir option.
Don't know what is happening.
Can't boot EasyOS from nvme.
Re: Error booting from limine
Posted: Wed Jan 08, 2025 7:23 pm
by Caramel
libertas wrote: Wed Jan 08, 2025 6:55 pm
...
There was anoth
er problem, because the above mentioned error in the cp command happened again.
This time, EasyOS boot process was trying to copy /mnt/nvme0n1p7/vmlinuz, and this file is under EasyOS/Daedalus/.
I have EasyOS booting fine from a usb stick using a similar setup using the wkg_dir option.
Don't know what is happening.
Can't boot EasyOS from nvme.
Maybe I was not clear.
The suggestion is to write
Code: Select all
KERNEL_CMDLINE=rw wkg_uuid=e5f2c887-ac1d-46b9-aa90-498eec9395ad wkg_dir=EasyOS/Daedalus/
in limine.cfg
Re: Error booting from limine
Posted: Thu Jan 09, 2025 12:04 am
by libertas
Caramel wrote: Wed Jan 08, 2025 7:23 pm
libertas wrote: Wed Jan 08, 2025 6:55 pm
The suggestion is to write
Code: Select all
KERNEL_CMDLINE=rw wkg_uuid=e5f2c887-ac1d-46b9-aa90-498eec9395ad wkg_dir=EasyOS/Daedalus/
in limine.cfg
Sorry for the misunderstanding.
That results in a kernel panic.
Line 1363, no CONFIG file found. /mnt/nvme0n1p7/....../initrd/CONFIG
Re: Error booting from limine
Posted: Thu Jan 09, 2025 5:50 am
by Caramel
libertas wrote: Thu Jan 09, 2025 12:04 am
...
That results in a kernel panic.
Line 1363, no CONFIG file found. /mnt/nvme0n1p7/....../initrd/CONFIG
It's strange.
In the line1362 the CONFIG file is created if it didn't already exist.
Line 1362 :
touch /mnt/${WKG_DEV}/${WKG_DIR}sfs/settings/initrd/CONFIG
Is EasyOS installed in a ext4 partition ?
Re: Error booting from limine
Posted: Thu Jan 09, 2025 10:32 am
by libertas
Yes, it is installed on an ext4 partition.
Re: Error booting from limine
Posted: Thu Jan 09, 2025 4:37 pm
by Caramel
It's beyond my knowledge.
One thing to check: start over (or "start again" ?, my English is very bad ) completely to make sure previous mistakes haven't corrupted anything.
And if the error persists, check with the EasyOS on USB if the file /mnt/nvme0n1p7/EasyOS/Daedalus/sfs/settings//initrd/CONFIG exists