-
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?
-
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
-
Senior Member
registered user
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.
-
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. =/
-
Senior Member
registered user

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.
-
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
-
Senior Member
registered user

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]
-
Holy crap, it works!
If nothing else goes wrong. *laughs*
You kick ass, thanks.
-
Please disregard this message. 
Everything working fine now. Thank you all for your quick and helpful advice!
Similar Threads
-
By tmp000 in forum The Lounge
Replies: 25
Last Post: 01-05-2005, 05:29 AM
-
By oman in forum General Support
Replies: 0
Last Post: 08-03-2004, 06:44 PM
-
By oreo in forum General Support
Replies: 11
Last Post: 07-23-2003, 06:33 PM
-
By geebee2000 in forum Hardware & Booting
Replies: 9
Last Post: 05-21-2003, 07:29 PM
-
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
-
Forum Rules

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$319.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo ThinkPad L14 Gen 3 14" FHD Laptop i5 12th Gen 16GB RAM 256GB SSD Win 11
$319.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI
$144.00