[syslinux] installing syslinux on a fresh system (SATA)

Ferenc Wagner wferi at niif.hu
Tue Jan 14 02:24:53 PST 2014


Mau Z <zmau1962 at gmail.com> writes:

> I understand you (mostly).
> 0) How do i "install the MBR code as well and to activate your partition."

Find mbr.bin in the mbr directory of your syslinux tarball, then:
# cat mbr.bin >/dev/sda

To activate the partition (mark it bootable for the MBR code):
# fdisk /dev/sda
Print the partition table with the 'p' command.  There should be a
single '*' in the 'Boot' column, in the row of sda1.  Use the 'a'
command to toggle as necessary.

> 1) "mount /dev/sda1 /mnt"  -->> successfully completed.
> 2) "mkdir /mnt/extlinux"  -->> successfully completed.
> 3) "extlinux --install /mnt/extlinux"     -->> does not work.
>     Funny, but it it seems that there is no such thing as extlinux anymore.

The extlinux binary is in the extlinux directory of your syslinux
tarball.  It's one of the various installers, see
http://www.syslinux.org/wiki/index.php/EXTLINUX.

If you don't use a separate boot partition on your disk (to be mounted
under /boot), but use a single (ext2) partition for everything, then
using /mnt/boot/extlinux above would be more natural.  Syslinux does not
care, though.
-- 
Regards,
Feri.


More information about the Syslinux mailing list