Command: sys / sys config

  SYS makes a floppy disk or hard disk or another writable medium 
  bootable. SYS CONFIG configures the FreeDOS KERNEL.

Syntax:

  SYS [source] drive [bootsect [BOTH]] [BOOTONLY] [/K name] [/L segm]
  SYS [/?]
      source    = A:,B:,C:\KERNEL\BIN\,etc., The (optional) location of
                the system files. If not given, the current directory
                is assumed
      drive     = A,B,C etc. The drive to make bootable.
      bootsect  The name of file, to which the 512-byte boot sector image
                will be written. (The drive's real boot sector won't be
                written to unless BOTH is used.)

  SYS CONFIG [drive][path]kernel.sys [option=value...]
  SYS CONFIG [/help][/?]

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See] [File]

Options:

  SYS OPTIONS:
  /BOTH       The new boot sector will be written to the image file
              and to the actual drive boot sector.
  /BOOTONLY   The boot sector (or image) will be updated, but the KERNEL
              and COMMAND.COM will not be copied to the destination.
  /UPDATE     copy KERNEL and update boot sector (do *not* copy shell).
  /OEM        indicates boot sector, filenames, and load segment to use.
  /OEM:FD     use FreeDOS compatible settings.
  /OEM:EDR    use Enhanced DR DOS 7+ compatible settings.
  /OEM:DR     use DR DOS 7+ compatible settings.
  /OEM:PC     use PC-DOS compatible settings.
  /OEM:MS     use MS-DOS compatible settings.
  /OEM:W9x    use MS Win9x DOS compatible settings.
              default is /OEM[:AUTO], select DOS based on existing files.
  /K name     Gives the filename of the kernel file to be copied. This 
              option is only required when the kernel is not called 
              "kernel.sys"
  /L segm     The load segment, in hexadecimal, to use. The default is 60.
  /B btdrv :  hex BIOS # of boot drive set in bs, 0=A:, 80=1st hd,...
  /FORCEDRV:  force use of drive # set in bs instead of BIOS boot value
  /NOBAKBS :  skips copying boot sector to backup bs, FAT32 only else
              ignored
  /?          Shows the help.

  SYS CONFIG OPTIONS:
  /help       Shows the help.
  /?          Shows the help.
  Current options are:
  DLASORT=0|1
  SHOWDRIVEASSIGNMENT=0|1
  SKIPCONFIGSECONDS=#
  FORCELBA=0|1
  GLOBALENABLELBASUPPORT=0|1
  BootHarddiskSeconds=0|seconds to wait

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See] [File]

Comments:

  SYS:
  The SYS command creates a bootsector on sector 0 of the diskette or 
  harddrive. Then it copies KERNEL.SYS and COMMAND.COM to the medium. 
  After this the computer is able to boot FreeDOS from this medium.
  SYS CONFIG:
  If no options are given, the current values are shown. /help or /? 
  displays the usage information. [drive][path]kernel.sys specifies the
  kernel file to modify, if not given defaults to KERNEL.SYS.
  Option=value ... specifies one or more options and the values to
  set each to. If an option is given multiple times, the value set will
  be the rightmost one.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See] [File]

Examples:

  sys c: (from a diskette; the sys command and COMMAND.COM and KERNEL.SYS
         should be on the diskette, after the execution the HD will be 
         bootable)
  sys a: (from a HD or CD; the sys command and COMMAND.COM and KERNEL.SYS
         should be on the source drive, after the execution the diskette
         will be bootable)

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See] [File]

See also:

  command.com
  format
  fdisk
  kernel
  kernel-devel
  label
  vol

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See) [File]

File:

  Please read this command's lsm file also.
  You will find the updated version (internet) here and
  the version described in this manual page here.
  The lsm file contains information about the name of the programmer,
  the download site, and some other command related information.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See] (File)


  Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.