Page 2 of 2

Re: Test an official limine version in Bios mode

Posted: Fri Jan 24, 2025 9:55 pm
by szept
Caramel wrote: Fri Jan 24, 2025 3:19 pm
Caramel wrote: Thu Jan 23, 2025 8:38 pm

Download the entire binary release (via the Code button and then Download Zip). In the extracted directory, execute make.

Code: Select all

cd /files/downloads/limine-7.12.0-binary
make

The program limine is quickly created

Ok, so I didn't expect I fail right in the beginning...

bash: make: command not found

So do I have to install make in the first place?

Image


Re: Test an official limine version in Bios mode

Posted: Sat Jan 25, 2025 5:10 am
by Caramel
szept wrote: Fri Jan 24, 2025 9:55 pm

...

Ok, so I didn't expect I fail right in the beginning...

bash: make: command not found

So do I have to install make in the first place?

make is in the devx sfs.

You can install devx with SFSget. (Install it as a layer in the main system not in a container)

or

use

limine.tar
(90 KiB) Downloaded 8 times

(file to uncompress and locate the uncompressed file in the limine-7.12.0-binary)

This file is for the version 7.12.0 of limine, It was compiled in Easy 6.5.4.2 (same file when compiled in Easy 6.5.6)


Re: Test an official limine version in Bios mode

Posted: Sat Jan 25, 2025 10:47 am
by szept
Caramel wrote: Sat Jan 25, 2025 5:10 am

make is in the devx sfs.

You can install devx with SFSget. (Install it as a layer in the main system not in a container)

I did install SFSget as a layer in MAIN and I get same error :(
I'll reboot just to make sure it's not the lack of reboot...

Caramel wrote: Sat Jan 25, 2025 5:10 am

or use
limine.tar
(file to uncompress and locate the uncompressed file in the limine-7.12.0-binary)

This file is for the version 7.12.0 of limine, It was compiled in Easy 6.5.4.2 (same file when compiled in Easy 6.5.6)

Ok, so I uncompressed this limine file into the uncompressed limine-7.12.0-binary folder - what's next?


Re: Test an official limine version in Bios mode

Posted: Sat Jan 25, 2025 1:05 pm
by Caramel
szept wrote: Sat Jan 25, 2025 10:47 am

...

Ok, so I uncompressed this limine file into the uncompressed limine-7.12.0-binary folder - what's next?

Go In the limine-7.12.0-binary folder and use this exeecutable to install the code on the MBR of the pendrive.

If the folder is in /files/downloads:

Code: Select all

cd /files/downloads/limine-7.12.0-binary

If the pendrive is /dev/sdc for example :

Code: Select all

./limine bios-install /dev/sdc

Pay close attention to the letter that characterizes the pendrive

Then copy the limine-bios.sys of the folder to the first partition of the pendrive (Mount the partition if it is not already mounted)

Code: Select all

cp limine-bios.sys /mnt/sdc1

(The pendrive is /dev/sdc in the example)


Re: Test an official limine version in Bios mode

Posted: Sat Jan 25, 2025 8:43 pm
by szept
Caramel wrote: Sat Jan 25, 2025 1:05 pm

Go In the limine-7.12.0-binary folder and use this exeecutable to install the code on the MBR of the pendrive.

If the folder is in /files/downloads:

Code: Select all

cd /files/downloads/limine-7.12.0-binary

If the pendrive is /dev/sdc for example :

Code: Select all

./limine bios-install /dev/sdc

Pay close attention to the letter that characterizes the pendrive

Then copy the limine-bios.sys of the folder to the first partition of the pendrive (Mount the partition if it is not already mounted)

Code: Select all

cp limine-bios.sys /mnt/sdc1

(The pendrive is /dev/sdc in the example)

Code: Select all

# cd /files/portable/limine-7.12.0-binary/
# ls
BOOTAA64.EFI     install-sh          limine-bios-hdd.h    limine.exe
BOOTIA32.EFI     LICENSE             limine-bios-pxe.bin  limine.h
BOOTRISCV64.EFI  limine              limine-bios.sys      limine-uefi-cd.bin
BOOTX64.EFI      limine-bios-cd.bin  limine.c             Makefile
# ./limine bios-install /dev/sdd
Physical block size of 512 bytes.
Installing to MBR.
Stage 2 to be located at 0x200 and 0x2c00.
Reminder: Remember to copy the limine-bios.sys file in either
          the root, /boot, /limine, or /boot/limine directories of
          one of the partitions on the device, or boot will fail!
Limine BIOS stages installed successfully!
# cp limine-bios.sys /mnt/sdd1

Ok, so now it's not working on my 2009-PC, working on Lenovo laptop and I've also tried to on my old Dell laptop which showed me this:
Image

P.S.
@Caramel, I think "make" is finally working! :D

Code: Select all

# cd /files/downloads/limine-7.12.0-binary/
# make
cc -g -O2 -pipe -Wall -Wextra    -std=c99 limine.c  -o limine

Re: Freshly installed Easy not starting from live-usb

Posted: Sun Jan 26, 2025 8:15 am
by Caramel

It seems that the problem comes from limine not from EasyOS. (EasyOS only intervenes in the compilation of the executable that installs the bootloader. And it is unlikely that can be the source of the problem)

You could test with the version 7.13.3 (the last in series 7) but given the changelog, there is no reason to hope for an improvement.

You could test with the version 8.7.0, as you have already done, but this time installing the code in MBR with the limine executable.

Note each version needs its own limine excutable. Do not use the executable limine from version 7.12.0 for other version

Remark: This is probably all a waste of time. The version in Easy 4.5.5 ( v3.20221014.1) works.
Limine is only a bootloader. If a version works, a newer version doesn't change anything in the execution of EasyOS


Re: Freshly installed Easy not starting from live-usb

Posted: Sun Jan 26, 2025 9:55 am
by BarryK

Regarding that "Warning: filesystem has encryption feature on"

I compile Limine in OpenEmbedded with a patch that suppresses that warning:

https://github.com/bkauler/oe-qky-scart ... ning.patch


Re: Freshly installed Easy not starting from live-usb

Posted: Sun Jan 26, 2025 10:43 am
by szept

Ok, so shall I test anything? If yes, please tell me what to do: what Easy version, what Limine and how to put in onto Easy (if it's different than the "make" method described by @Caramel). I can test on all 3 computers: 2009-PC, old-Dell, and newer-Lenovo laptops :)