Results 1 to 9 of 9

Thread: Fatal: APPEND or LITERAL may not contain "vga="

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    7

    Fatal: APPEND or LITERAL may not contain "vga="

    I keep having problems with LILO... for example, now when I try to start it up, I get all 99s across the screen.

    I have come to hate lilo. =D Anyways, I used a backup version of lilo, and I belive everything is perfect in it now. But I get error (see subject) when I try to run lilo (I chroot'ed to /mnt/hdc3).

    Any help?

  2. #2
    Junior Member
    Join Date
    Dec 2003
    Posts
    7
    Here's my lilo.conf

    # /etc/lilo.conf - See: `lilo(' and `lilo.conf(5)',
    # --------------- `install-mbr(', `/usr/share/doc/lilo/',
    # and `/usr/share/doc/mbr/'.

    # Remove this line when you are done configuring. -KK

    # +---------------------------------------------------------------+
    # | !! Reminder !! |
    # | |
    # | Don't forget to run `lilo' after you make changes to this |
    # | conffile, `/boot/bootmess.txt', or install a new kernel. The |
    # | computer will most likely fail to boot if a kernel-image |
    # | post-install script or you don't remember to run `lilo'. |
    # | |
    # +---------------------------------------------------------------+

    # Support LBA for large hard disks.
    #
    lba32

    # Specifies the boot device. This is where Lilo installs its boot
    # block. It can be either a partition, or the raw device, in which
    # case it installs in the MBR, and will overwrite the current MBR.
    #
    boot=/dev/hdc3

    # Specifies the device that should be mounted as root. (`/')
    #
    root=/dev/hdc3
    # Enable map compaction:
    # Tries to merge read requests for adjacent sectors into a single
    # read request. This drastically reduces load time and keeps the
    # map smaller. Using `compact' is especially recommended when
    # booting from a floppy disk. It is disabled here by default
    # because it doesn't always work.
    #
    # compact

    # Installs the specified file as the new boot sector
    #
    install=/boot/boot-menu.b
    backup=/dev/null

    # Specifies the location of the map file
    #
    map=/boot/map

    # You can set a password here, and uncomment the `restricted' lines
    # in the image definitions below to make it so that a password must
    # be typed to boot anything but a default configuration. If a
    # command line is given, other than one specified by an `append'
    # statement in `lilo.conf', the password will be required, but a
    # standard default boot will not require one.
    #
    # This will, for instance, prevent anyone with access to the
    # console from booting with something like `Linux init=/bin/sh',
    # and thus becoming `root' without proper authorization.
    #
    # Note that if you really need this type of security, you will
    # likely also want to use `install-mbr' to reconfigure the MBR
    # program, as well as set up your BIOS to disallow booting from
    # removable disk or CD-ROM, then put a password on getting into the
    # BIOS configuration as well. Please RTFM `install-mbr('.
    #
    # password=tatercounter2000

    # Specifies the number of deciseconds (0.1 seconds) LILO should
    # wait before booting the first image.
    #
    # delay=20
    timeout=100

    # You can put a customized boot message up if you like. If you use
    # `prompt', and this computer may need to reboot unattended, you
    # must specify a `timeout', or it will sit there forever waiting
    # for a keypress. `single-key' goes with the `alias' lines in the
    # `image' configurations below. eg: You can press `1' to boot
    # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
    #
    # message=/boot/bootmess.txt
    # prompt
    # single-key
    # delay=100
    # timeout=100

    # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
    #
    # vga=ask
    # vga=9
    #
    vga=ask
    # Kernel command line options that apply to all installed images go
    # here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
    # the Linux kernel `Documentation' directory.
    #
    # append=""

    # Boot up Linux by default.
    #
    default=Knoppix

    image=/boot/vmlinuz-2.4.20-xfs
    append="lang=de apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 quiet BOOT_IMAGE=knoppix"
    root=/dev/hdc3
    initrd=/boot/initrd.gz
    label=Knoppix
    read-only
    # restricted
    # alias=1

    image=/vmlinuz.old
    label=Linux-OLD
    read-only
    optional
    restricted
    alias=2

    # If you have another OS on this machine to boot, you can uncomment the
    # following lines, changing the device name on the `other' line to
    # where your other OS' partition is.
    #
    # other=/dev/hda4
    # label=HURD
    # restricted
    # alias=3

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Well the error message you used as your title was pretty explicit, vga=xxx is not an option/argument to the append command, but has to appear on its own line - eg replacing the one which currently says vga=ask in your conf.
    You've also repeated the 'root=hdXn' line.
    Run 'lilo -v' or 'lilo -vv' to get copious amounts of warning / logging.

  4. #4
    Junior Member
    Join Date
    Dec 2003
    Posts
    7
    Hm, I removed the vga=ask that I had, and uncommented where it originally said vga=ask... but I still get the same error message. =/

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Termina
    Hm, I removed the vga=ask that I had, and uncommented where it originally said vga=ask... but I still get the same error message. =/
    Post the lilo.conf you are using that is giving you the error so we can see it.

  6. #6
    Junior Member
    Join Date
    Dec 2003
    Posts
    7
    Stephen, I did and then descripbed the one change I made... but here it is again.

    # /etc/lilo.conf - See: `lilo(' and `lilo.conf(5)',
    # --------------- `install-mbr(', `/usr/share/doc/lilo/',
    # and `/usr/share/doc/mbr/'.

    # Remove this line when you are done configuring. -KK

    # +---------------------------------------------------------------+
    # | !! Reminder !! |
    # | |
    # | Don't forget to run `lilo' after you make changes to this |
    # | conffile, `/boot/bootmess.txt', or install a new kernel. The |
    # | computer will most likely fail to boot if a kernel-image |
    # | post-install script or you don't remember to run `lilo'. |
    # | |
    # +---------------------------------------------------------------+

    # Support LBA for large hard disks.
    #
    lba32

    # Specifies the boot device. This is where Lilo installs its boot
    # block. It can be either a partition, or the raw device, in which
    # case it installs in the MBR, and will overwrite the current MBR.
    #
    boot=/dev/hdc3

    # Specifies the device that should be mounted as root. (`/')
    #
    # Enable map compaction:
    # Tries to merge read requests for adjacent sectors into a single
    # read request. This drastically reduces load time and keeps the
    # map smaller. Using `compact' is especially recommended when
    # booting from a floppy disk. It is disabled here by default
    # because it doesn't always work.
    #
    # compact

    # Installs the specified file as the new boot sector
    #
    install=/boot/boot-menu.b
    backup=/dev/null

    # Specifies the location of the map file
    #
    map=/boot/map

    # You can set a password here, and uncomment the `restricted' lines
    # in the image definitions below to make it so that a password must
    # be typed to boot anything but a default configuration. If a
    # command line is given, other than one specified by an `append'
    # statement in `lilo.conf', the password will be required, but a
    # standard default boot will not require one.
    #
    # This will, for instance, prevent anyone with access to the
    # console from booting with something like `Linux init=/bin/sh',
    # and thus becoming `root' without proper authorization.
    #
    # Note that if you really need this type of security, you will
    # likely also want to use `install-mbr' to reconfigure the MBR
    # program, as well as set up your BIOS to disallow booting from
    # removable disk or CD-ROM, then put a password on getting into the
    # BIOS configuration as well. Please RTFM `install-mbr('.
    #
    # password=tatercounter2000

    # Specifies the number of deciseconds (0.1 seconds) LILO should
    # wait before booting the first image.
    #
    # delay=20
    timeout=100

    # You can put a customized boot message up if you like. If you use
    # `prompt', and this computer may need to reboot unattended, you
    # must specify a `timeout', or it will sit there forever waiting
    # for a keypress. `single-key' goes with the `alias' lines in the
    # `image' configurations below. eg: You can press `1' to boot
    # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
    #
    # message=/boot/bootmess.txt
    # prompt
    # single-key
    # delay=100
    # timeout=100

    # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
    #
    vga=ask
    #vga=9
    #
    # Kernel command line options that apply to all installed images go
    # here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
    # the Linux kernel `Documentation' directory.
    #
    # append=""

    # Boot up Linux by default.
    #
    default=Knoppix

    image=/boot/vmlinuz-2.4.20-xfs
    append="lang=de apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 quiet BOOT_IMAGE=knoppix"
    root=/dev/hdc3
    initrd=/boot/initrd.gz
    label=Knoppix
    read-only
    # restricted
    # alias=1

    image=/vmlinuz.old
    label=Linux-OLD
    read-only
    optional
    restricted
    alias=2

    # If you have another OS on this machine to boot, you can uncomment the
    # following lines, changing the device name on the `other' line to
    # where your other OS' partition is.
    #
    # other=/dev/hda4
    # label=HURD
    # restricted
    # alias=3

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Termina

    image=/boot/vmlinuz-2.4.20-xfs
    append="lang=de apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 quiet BOOT_IMAGE=knoppix"
    Doh! Sorry should have read the posts more carefully, there is the problem remove the vga=791 and if you want to use it then put in in place of the vga=ask and run lilo and it should be ok.

    [edit]
    The lilo you are using here will install itself to your / partition with the boot=/dev/hdc3 you will not get a lilo in the MBR is this what you are trying to do? If not the change it to install in the MBR of the dirve you want to see the lilo screen on eg. boot=/dev/hda , /dev/hdb, /dev/hdc with the last 2 options you would have to chainload the lilo from some other boot loader to see the lilo screen to boot your install. You should use /sbin/lilo -b /dev/hdc3 when installing if you are trying to get it into your / partition.
    [/edit]

  8. #8
    Junior Member
    Join Date
    Dec 2003
    Posts
    7
    Holy crap, it works! If nothing else goes wrong. *laughs*

    You kick ass, thanks.

  9. #9
    Junior Member
    Join Date
    Dec 2003
    Posts
    7
    Please disregard this message.

    Everything working fine now. Thank you all for your quick and helpful advice!

Similar Threads

  1. "forum" versus "board"
    By tmp000 in forum The Lounge
    Replies: 25
    Last Post: 01-05-2005, 05:29 AM
  2. USR 56k PCI modem "busy"/"not found",rec
    By oman in forum General Support
    Replies: 0
    Last Post: 08-03-2004, 06:44 PM
  3. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  4. "Foreign" drive formats and "dd" command
    By geebee2000 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-21-2003, 07:29 PM
  5. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage 5.25

Vintage 5.25" Floppy Disk Drive Cleaning Kit Lot (1 Scotch 3M + 1 Verbatim) NOS⁠

$49.00



Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer picture

Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer

$419.99



Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New picture

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New

$75.00



Vintage ECS Micro-ATX Desktop Case | Beige/Dark Grey | *READ* picture

Vintage ECS Micro-ATX Desktop Case | Beige/Dark Grey | *READ*

$80.00



Vintage Toshiba Satellite Laptop T1910CS  With Adapter, Mouse, Manual-Parts Only picture

Vintage Toshiba Satellite Laptop T1910CS With Adapter, Mouse, Manual-Parts Only

$150.00



Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks picture

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks

$79.00



Lot of 52 Vintage Various 3.5

Lot of 52 Vintage Various 3.5" Floppy Disks Untested Sold As Parts (B4)

$49.99



Toshiba Satellite Pro 420CDS Vintage Laptop For Parts Repair picture

Toshiba Satellite Pro 420CDS Vintage Laptop For Parts Repair

$99.99



Vintage 1986 Goldenrod Research Corp CP/M Desktop Computer Syste w/Keyboard picture

Vintage 1986 Goldenrod Research Corp CP/M Desktop Computer Syste w/Keyboard

$350.00



Vintage Toshiba Satellite 4090XDVD Intel Celeron 400Mhz Retro - Powers up Cards picture

Vintage Toshiba Satellite 4090XDVD Intel Celeron 400Mhz Retro - Powers up Cards

$57.59