[syslinux] [BUG] options to LABEL on CLI not passed into command line

Bernd Blaauw bblaauw at home.nl
Sun Feb 24 12:13:49 PST 2013


Op 22-2-2013 15:05, Matt Fleming schreef:


>> Config file available if needed/wanted.
>
> Sure, please send it along and I'll have a look at this bug.
>

My apologies for sending a screenshot and an attachment to mailinglist, 
however they're likely the most effective way of demonstrating the issue 
at hand.

Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MS-DOS (10)-2013-02-24-21-07-55.png
Type: image/png
Size: 6385 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20130224/3497e7af/attachment.png>
-------------- next part --------------
UI /isolinux/menu.c32
DEFAULT freedos
PROMPT 0
TIMEOUT 500
MENU TITLE Welcome to FreeDOS 1.2 [http://www.freedos.org]
MENU IMMEDIATE

say Please select one of the below options and press ENTER to confirm
say freedos : install FreeDOS 1.2 to harddisk
say   fdisk : create an active primary partition with FAT filesystem
say       h : boot from harddisk

label fdisk
menu label ^1. Manage disk layout ( Create drive C: )
text help
To install FreeDOS 1.2 on harddisk you'll need a location to store your files
The process of creating such a place is called partitioning. You can use FDISK
to create an active primary partition which uses the FAT16 or FAT32 filesystem.
endtext
linux /isolinux/memdisk
initrd /isolinux/fdos0360.img
append - {INSTALL=FDISK.EXE

label freedos
menu label ^2. Install FreeDOS 1.2 to system harddisk
menu default
# menu hide
text help
Install the FreeDOS 1.2 operating system from CD-ROM (or image file) to harddisk
The SETUP process is able to format drive/volume C:, copy/unpack files, as well
as generate the necessary code and configuration files to startup from harddisk.
endtext
linux /isolinux/memdisk
initrd /isolinux/fdos0360.img
append - floppy {SET SETUP=1}{DEVICE=JEMMEX.EXE NOEMS I=TEST X=TEST}

label harddisk
menu label ^3. Boot from system harddisk
text help
Starts your installed regularly used operating system from harddisk
endtext
localboot 0x80

# ===================================================================

MENU BEGIN
MENU TITLE 4. Advanced Options

# ===================================================================

label floppy
menu label ^A. Boot from diskette
text help
Startup from system bootdisk if you still have a floppydrive
and working diskettes
endtext
localboot 0x00

# FDISK requires a harddisk to be present before /REBOOT works, it's a bug.
# Without it, we'd be using the smaller thus faster loaded FDOS0360.IMG.
label reboot
menu label ^B. Restart computer
text help
Restart your computer. 
endtext
linux /isolinux/memdisk
initrd /isolinux/copyfrom.img
append - harddisk {INSTALL=V:\FDISK.EXE /REBOOT

# Transferring to C: is a problem with HDD emulation, replace by D: ????
# Transferring to V: also goes wrong as that's FDOS0360.IMG mounted
label bootdisk
menu label ^C. Create startup disk
text help
Create a bootable diskette from this CD-ROM. All current content of this disk
will be erased before FreeDOS system files will be tranferred to the drive. 
Please insert a diskette now before proceeding with this menu choice.
endtext
linux /isolinux/memdisk
initrd /isolinux/copyfrom.img
append - harddisk {SET INPUT=A


MENU SEPARATOR

label jemmex
menu label ^D. Optimise driver loading by providing UMBs
menu default
text help
Perform a boot where drivers will be loaded high in the Upper Memory Area, thus
assigning the maximum amount of conventional memory your programs or games
might need for running. Example: JEMMEX NOEMS I=TEST X=TEST
endtext
linux /isolinux/memdisk
initrd /isolinux/fdos0360.img
append - {SET SETUP=1 {DEVICE=JEMMEX.EXE NOEMS X=TEST I=TEST

label xmgr
menu label ^E. Start installation with loaded XMS memory driver
text help
Perform a boot with only XMS, provided by the XMGR.SYS driver written by mr
Jack R Ellis. This should give more conventional memory compared to running
without any memory drivers. Add /PA in case of system hang.
endtext
linux /isolinux/memdisk
initrd /isolinux/fdos0360.img
append - {SET SETUP=1 {DEVICE=XMGR.SYS /PA

label clean
menu label ^F. Start installation without loaded memory drivers
text help
Start the FreeDOS operating system without any memory drivers loaded.
Some programs do not like the presence of XMS, v86-mode etc.
Note that considerably lower amount of conventional memory will be available.
endtext
linux /isolinux/memdisk
initrd /isolinux/fdos0360.img
append - {set setup=1

MENU SEPARATOR

# attaching a VM's NIC to real network is a mystery to me..
label ipxe
menu label ^G. Install FreeDOS 1.0 from the internet
# menu hide
text help
Install FreeDOS from a network source attached as a virtual CD-ROM.
Your computer needs to have network access, and the network card needs
to be supported by iPXE, see ipxe.org website.
endtext
linux /isolinux/ipxe.krn
append dhcp && sanboot --drive 0xF0 http://boot.ipxe.org/freedos/fdfullcd.iso

# ===================================================================


MENU SEPARATOR
LABEL mainmenu
MENU LABEL ^.. Return to main Boot Options Menu
MENU EXIT

label sysc
menu label ^S. Perform bare minimal FreeDOS install on C:
menu hide
text help
Erase all content from drive C: and transfers FreeDOS system files
to make this active primary FAT disk volume bootable.
Also makes a few memory and filesystem drivers available for use.
endtext
linux /isolinux/memdisk
initrd /isolinux/fdos0360.img
append - {SET INPUT=C

MENU END

# ===================================================================

menu separator

label a
menu label ^a. Boot from diskette
menu hide
text help
Startup from system bootdisk if you still have a floppydrive
and working diskettes
endtext
localboot 0x00

label h
menu label ^h. Boot from system harddisk
menu hide
localboot 0x80

label ramdisk
menu label FreeDOS is a trademark of Jim Hall, 2006-2013
text help
The FreeDOS kernel, and most of the programs in this distribution, are subject
to various versions of the General Public License (GPL). E.g. use as you want,
modification allowed. Redistribution requires releasing all related source code.
endtext
linux /isolinux/memdisk
initrd /isolinux/hybridcd.img
append harddisk nopass



More information about the Syslinux mailing list