[syslinux] Manually copy over ldlinux.sys

Dwight Schauer dschauer at gmail.com
Sat May 19 19:19:09 PDT 2012


On Thu, May 17, 2012 at 12:39 PM, Ryan Kuba <ryankuba at gmail.com> wrote:
> Hello,
>
> I am working on a remote upgrade that will utilize a squashfs to boot
> off the hard drive.

Why not make an iso image that has the installer/install image. This
can be booted from a partition. (you can use isohybrid --partok to
patch the iso image to make this possible). My install script that
gets run off from the iso image runs an extlinux update on the on the
target partition after the new filesystem image is copied to the
target.

I do remote installs that way, but your situation may be a bit different.

> I have everything worked out and functioning, except I see installing
> extlinux as an unecesarry step. The only thing I use the command for
> is to install the ldlinux.sys file to the /boot/extlinux/ folder.
>
> The rest of it is just a file copy.
>
> What manual step can I take to avoid the installation of
> extlinux/syslinux on the target machine.
>
> I would simply like to copy the ldlinux.sys file to that directory and
> ensure it is linked to the correct inode.
>
> Does anyone know how I can achieve this using standard posix tools?

Booting an iso image that has the squashfs image eliminates the need
for all that.
Just a suggestion, I don't know exactly how your upgrade process actually works.

Dwight



More information about the Syslinux mailing list