[syslinux] Creating a bootable partition on a USB disk with syslinux

Luciano Rocha strange at nsk.no-ip.org
Tue Sep 11 02:22:47 PDT 2007


On Tue, Sep 11, 2007 at 11:45:54AM +0300, Ian Brown wrote:
> Hello,
> Thanks!
> So the answer given by Ali is not enough:
> >if you can see "ldlinux.sys" file on the disk syslinux did its job
> 
> As I understand, seeing  "ldlinux.sys" does not yet says that it is bootable.
> 
> If I understand right, If it is bootable, than "fdisk -l" must show it
> is bootable (by showing an '*' in the partition entry)
> 
> Another answer here said that you install an MBR and mark the partition active
> by syslinux. "rpm -ql syslinux" shows me /usr/lib/syslinux/mbr.bin;
> but I don't know how to
> install an MBR and mark the partition active with syslinux (and if it
> is possible at all).

The MBR is simple:
cat /usr/lib/syslinux/mbr.bin > /dev/device

Marking the partition as active is also simple:
fdisk /dev/device
a 1 # if we're talking of first partition
w

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20070911/f41bbadb/attachment.sig>


More information about the Syslinux mailing list