[Bug 194642] [maintainer-update] [patch] sysutils/syslinux: update to version 6.03

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 8 09:42:52 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194642

--- Comment #6 from Uffe Jakobsen <uffe at uffe.org> ---

I've noted some reluctance on touching ports that contains the name linux :-)

Despite the name of this port (syslinux) - no linux knowledge or anything
similar is actually required for any parts of this port.

How to test this port:

Background:
Syslinux is a boot menu (manager) ala grub - just without the ugly syntax.
Syslinux needs a DOS partition - it will install a stage0 boot loader into the
PBR (partition boot record).
A stage1 boot loader file "ldlinux.sys" is installed into the filesystem root -
the file location is hooked into the PBR (partition boot record).
A stage2 (com32) boot loader called "ldlinux.c32" is also installed into the
filesystem root.

Requisites:
NOTE: linux emulation is *NOT* a requirement for this port
Make sure that you have the mtools (emulators/mtools) package installed.
All you need is a FreeBSD root access, an USB-stick or similar media that can
be manipulated for test purposes.
In other words no valuable data should be on that (USB) media.

The rest of this text assumes that device /dev/da0 and partition (slice)
/dev/da0s1 identifies the USB device that testing is to be carried out on.

1) Create a MBR-style partition table on the USB-stick (da0) - use your
favourite partitioning tool - fdisk, gpart etc
2) Create a MSDOS partition (slice) on the USB-stick (da0) - use your favourite
partitioning tool - fdisk, gpart etc
3) Create a MSDOS filesystem on the newly created partition (da0s1) - command:
newfs_msdos /dev/da0s1
4) Display newly created (empty) MSDOS filesystem - run: # mdir -a -i
/dev/da0s1

5) running the following command:

# syslinux -i -f /dev/da0s1

Should complete without error

6) run command:

# mdir -a -i /dev/da0s1

Output should show that now both "ldlinux.sys" and "ldlinux.c32" is found in
the root of the listed MSDOS filesystem.

7) Done - you'venow tested the primary syslinux "install" functionality

/Uffe :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list