no 5.5 boot with syslinux 5.01

Please post any bugs you have found
Message
Author
User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#41 Post by Karl Godt »

Iguleder wrote:Make sure you have ldlinux.c32 on the partition - this file is required by 5.01, but not by 4.06.
sh-3.00# ldd /mnt/sda7/SYSLINUX/syslinux-5.01/com32/elflink/ldlinux/ldlinux.c32
statically linked

So it needs to be copied onto the partition or if subfolder in ie /boot ?

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#42 Post by Iguleder »

In the partition root. Also, make sure you use the right MBR (mbr.bin) and have syslinux.cfg.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#43 Post by Karl Godt »

extlinux.txt wrote:EXTLINUX is a new Syslinux derivative, which boots from a Linux
ext2/ext3 filesystem.
It works the same way as SYSLINUX (see doc/syslinux.txt), with a few
slight modifications.

1. The installer is run on a *mounted* filesystem. Run the extlinux
installer on the directory in which you want extlinux installed:

extlinux --install /boot

Specify --install (-i) to install for the first time, or
--update (-U) to upgrade a previous installation.
NOTE: this doesn't have to be the root directory of a filesystem.
If /boot is a filesystem, you can do:

mkdir -p /boot/extlinux
extlinux --install /boot/extlinux

... to create a subdirectory and install extlinux in it.
/boot/extlinux is the recommended location for extlinux.
The Puppy installer installs it onto the rootfs of the partition ie
mkdir /boot /mnt/data
mount /dev/sdb1 /mnt/data || mount /dev/sdb1 /boot
puppyinstaller wrote:if [ ! "`echo "$DESTPART" | grep '[0-9]$'`" = "" ];then
extlinux -i /mnt/data #i think only use -z for superfloppy.
else
extlinux -i -z /mnt/data
fi
extlinux.txt wrote: 2. The configuration file is called "extlinux.conf", and is expected
to be found in the same directory as extlinux is installed in.
Since 4.00 "syslinux.cfg" is also tried if "extlinux.conf" is not
found.



3. Pathnames can be absolute or relative; if absolute (with a leading
slash), they are relative to the root of the filesystem on which
extlinux is installed (/boot in the example above), if relative,
they are relative to the extlinux directory.

extlinux supports subdirectories, but the total path length is
limited to 511 characters
.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#44 Post by Karl Godt »

First adventures with extlinux :

1) version 5.01 make; make clean; make; make install
* Extended partition on SDCARD sd*5 formatted with xfs
* mount /dev/sd*5 /mnt/sd*5
* mkdir -p /mnt/sd*5/boot/extlinux
* extlinux --install /mnt/sd*5/boot/extlinux
-> files created in /mnt/sd*5/boot/extlinux : ldlinux.sys AND ldlinux.c32 [ no extlinux.sys ]
* by default make install installs to /usr/share NOT to /usr/lib [ NO MCONFIG file ]
-> cp /usr/share/syslinux/mbr.bin /mnt/sd*5/boot/extlinux/
* cat /mnt/sd*5/boot/extlinux/mbr.bin >/dev/sd* [ * mostly c -> /dev/sdc in my case ]
* installed precise-5.5 into /mnt/sd*5/LINUXes/precise-5.5 frugal
* fetched the syslinux.cfg out of the precise-5.5.iso and copied to /mnt/sd*5/boot/extlinux
* renamed /mnt/sd*5/boot/extlinux/syslinux.cfg to extlinux.conf
* umount /dev/sd*5
* ran fdisk /dev/sd*5 to flag partition bootable
* ran fdisk -l /dev/sd*5 to check if it is now marked active
* rebooted
-> Missing Operating System ..

2) version 3.86 make; make clean; make; make install
* did all that above for a USB first partition ext3 formatted which had grub4dos on it
-> Problems with the PATH to boot.msg , help.msg , logo16
* typed at the prompt : /vmlinuz
-> booted a full installation on second internal hard drive .
* fixed the PATHs in these files
* rebooted
* booted correctly .

3) fixed everything for 1) : Still missing operating system .

OVERALL : 5.0X seems very unstable for now .

For the record : Puppy 4.3 has already extlinux v3.73 and since the files for the syslinux in woof2 are empty placeholders it seems that all main distros also still use v3.73 .

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#45 Post by Karl Godt »

Finally : Cannot confirm this BUG .
Posting from precise-5.5 on sdc2 ext2 formatted SDCard partition . Found the files ! Nothing unusual to report .

WHAT I can confirm is : xfs support is broken .

The partition was formerly formatted jfs .

Formatted to xfs : Missing operating system .

Formatted ext2 : Everything went smooth . Posting from it now .

Will have to check the PATH to logo.16 cos it did not show up,
but the four lines of boot.msg .

And while copying I did not correct the pdev1 variable in extlinux.conf and the /init was able to find it though :

Code: Select all

# cat /proc/cmdline
video=640x480 /LINUXes/precise-5.5/vmlinuz /LINUXes/precise-5.5/vmlinuz initrd=/LINUXes/precise-5.5/initrd.gz psubdir=LINUXes/precise-5.5 pdev1=sdc5

Post Reply