[syslinux] Syslinux + Localboot

Miller, Shao Shao.Miller at yrdsb.edu.on.ca
Fri Mar 27 16:12:13 PDT 2009



-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On
Behalf Of Gene Cumm
Sent: Friday, March 27, 2009 17:01
To: For discussion of Syslinux and tftp-hpa
Subject: Re: [syslinux] Syslinux + Localboot

On Fri, Mar 27, 2009 at 2:58 PM, Matthew Holevinski <eylusion at gmail.com>
wrote:
> I went ahead and setup a DBAN installation on the Thumbdrive, that
> works just fine with my machines:
> LABEL gdisk
> MENU LABEL ^3. DBAN - Wipe Disk
> KERNEL dban
> APPEND initrd=dban.gz root=/dev/ram0 init=/rc nuke="dwipe --autonuke
> --method dod522022m" floppy=0,16,cmos
Gene and Matthew:

> I don't know how well appending the options on the KERNEL line works.
> It should read (or at least the standard is):
> KERNEL chain.c32
> APPEND hd1 1
>
> Have you tried just:
> KERNEL chain.c32
> APPEND hd1

Just another suggestion; and that is to get into the habit of using
explicit qualifiers inside of config-files, as documented in
syslinux/doc/sylinux.txt:

LABEL boothdd
  COM32 chain.c32
  APPEND hd1

I forgot that you (Matthew) originally wanted "LOCALBOOT".  Gene's quite
right about simply using the MBR.  However, if it won't boot, but has a
valid working OS installation _without_ the USB stick plugged in, you
might very well want:

LABEL boothdd
  COM32 chain.c32
  APPEND hd1 swap

swap
swap
swap is documented in syslinux/com32/modules/chain.c

"Swap" will make 0x81 (your HDD, if available) turn into 0x80.  Whatever
OS is on 0x80 might very well expect to be at 0x80.  Please try it.  Or
maybe I missed an e-mail and you have already tried it.

- Shao Miller




More information about the Syslinux mailing list