Syslinux Bootloader

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Syslinux Bootloader

Post#1 by raja » 04 Oct 2020, 09:16

Since Blaze has said that you have updated bootloader in 5.0rc2 release, I formatted an USB disk that was in use in a 32 bit Laptop for booting,and installed with the current Syslinux (5.0rc2 release)

New USB drive failed to boot 32 bit 2007 laptop. But, boots 64 systems okay.

I found out that you have mixed Syslinus 4.xx in MBR with files from Syslinux 6.xx in Syslinux folder.

I get vesamenu.c32 is not a com.32R image error. Syslinux image in MBR is 4.xx

Request Developers to compile Current Syslinux 6.4 for all boot requirements 32,64,pxe,EFI32/64 and include as boot files in next issue.

I may overcome this issue by replacing all files in syslinux folder with ones in an old ISO.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Syslinux Bootloader

Post#2 by raja » 02 Dec 2020, 17:00

I downloaded Syslinux-6.04 package from Arch site...

https://www.archlinux.org/packages/core ... /syslinux/

Made a Porteus module for 5.0rc2. and rebooted.

Inserted a fat32 formatted usb disk and created folders /boot/syslinux.

Code: Select all

syslinux -a -d /boot/syslinux --install /mnt/sdxx


Boot loader 6.04 was installed and it moved ldlinux.c32 and ldlinux.sys to the syslinux folder. Copied syslinux.cfg and porteus.cfg PNG file and
libcom32.c32, libutil.c32, vesamenu.c32 ( from /usr/lib64/syslinux/bios) to the syslinux folder in the usb disk.

Now the disk boots from both 32/64 bit machines.

For those who need EFI boot, pxe etc, files for both architecture available in /usr/lib54/syslinux.

We will not face problems as version is same for all files.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

Post Reply