> > |
Revised lilo.conf, ver. 2.2.
- All SCSI references removed from the
append line
These were deemed unnecessary, & were contributing to the "word warping" problems.
- All lines shortened to <= 70 cols.
This will avoid the word wrap "word warping" problems.
- Added a warning about "word warping"
-
-
-
Thanks to all who took time to answer the questions,
The answers were used to write the next section.
- WTF are the hd..=scsi references doing in the
append line?
Are they necessary? Are they harmful?
The consensus (John G., Willie, Steve) is that
the hd..=scsi references in the append line are unnecessary, "nonsensical", ...
They will be removed.
Willie also raises the issue that so many arguments in the append line may choke the kernel,
never mind how to pass them to it -- see the following 2 questions.
- Can an
append line be split with '\' escapes?
Unknown. Probably yes -- it's a normal *nix thing.
- Are multiple
append lines now allowed?
No.
Willie has tried this in the last several weeks (late Jan. 2004) with Slackware 9.1, kernel 2.4.22,
and it didn't work.
Don't know if this is nec., but it doesn't look harmful.
This one is cryptic (to me), google: "kernel nomce" yields:
#2 is the more useful:
"... If you get the error Machine Check Exception, you'll need to reset and add nomce to the same line..."
- Does the XP section need any
map lines?
The Linux per-kernel sections were retained from the original lilo.conf, and they work.
However, the hd with the Linux install has been re-jumpered as a Slave, theorectically hdb.
The BIOS is set to boot from the 2nd hd before the 1st, & calling it hda here is working for %lp%
Will XP also work like this, or do we need something like:
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
to make it boot properly?
This ruler line is not part of the file
##..:....1....:....2....:....3....:....4....:....5....:....6....:....7
# lilo.conf.ra.2.2
#
# by Rick Archibald & other HLUG members
# A revised lilo.conf for Bill & Jake Archibald
#
# However instructive, the original comments from knx-hdinstall
# were obscuring the option lines & have been eliminated
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# I n s t r u c t i o n s
#
# Download this file --
# that could be done by Copy & Paste from
# the TWiki in "raw" mode
#
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
# Warning -- Even though this file has been formatted to 70 cols.,
# extraneous newlines (LF's) may be introduced in pasting this text,
# "warping" the text. Eliminate these before running lilo.
# Or use an editor (like vi) which doesn't do this.
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#
# A C T I O N [ C O M M A N D ]
# _Back up_ the original lilo.conf [mv lilo.conf lilo.conf.0]
# Copy this file over lilo.conf [cp lilo.conf.ra.2.1 lilo.conf]
# Run lilo [lilo -v -v -v]
# Reboot [reboot]
#
# To restore the original lilo.conf [cp lilo.conf.0 lilo.conf]
# [lilo -v -v -v]
#
# N.B. It is _mandatory_ to run lilo after changing lilo.conf
# Changing lilo.conf does _nothing_ until lilo is run.
# Think of this as "installing" the changes.
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# The following block was generated by knx-hdinstall
## except that all 'hd_=scsi' items were removed from
## the append= line
vga=normal
lba32
boot=/dev/hda
root=/dev/hda1
install=/boot/boot-menu.b
map=/boot/map
append="apm=power-off nomce"
default=Linux
# The following global options were added
prompt
single-key
delay=100
timeout=100
# The following blocks were generated by knx-hdinstall
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
read-only
alias=1
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
alias=2
# This Single User Mode block was added
image=/boot/vmlinuz-2.4.22-xfs
label=Linux Single User (Rescue) Mode
read-only
alias=s
append="single apm=power-off nomce"
# This XP block was added
other=/dev/hdb1
label=Win XP
optional
alias=x
### I want to know if the spaces in the
### label=Linux Single User (Rescue) Mode
### label=Win XP
### lines cause problems
|