Helpdesk TWiki > Helpdesk > Liloconf22 (r1.1 vs. r1.3) TWiki webs:
AIX| Classes | HALBOD | HLUG | Helpdesk | Library | Main | Samba | TWiki |
Helpdesk . { Home | Changes | Index | Search | Go }
 <<O>>  Difference Topic Liloconf22 (r1.3 - 11 Feb 2004 - RickArchibald)
Added:
>
>

These are the changes proposed at lilo.conf.2.1b.  Background Information is at KnoppixHDInstall

Changed:
<
<

  • All SCSI references removed from the append line
>
>

  • All SCSI referenceshave been removed from the append line. 
Changed:
<
<

  • All lines shortened to <= 70 cols.
This will avoid the word wrap "word warping" problems.
  • Added a warning about "word warping"
>
>

  • All lines shortened to ≤ 70 cols. 
    This will help avoid the word wrap "word warping" problems.
  • Added a warning about "word warping". 
Changed:
<
<

>
>

Although these problems have been addressed, & I hope solved; I am leaving the next 2 sections in the document because of the information they contain. 
Changed:
<
<

Don't know if this is nec., but it doesn't look harmful. 

>
>

Don't know if this is necessary, but it doesn't look harmful. 

Changed:
<
<

This one is cryptic (to me), google: "kernel nomce" yields: 

>
>

This one was cryptic (to me); google: "kernel nomce" yields: 

Changed:
<
<

>
>

This is the big one, probably easier to address after the next iteration.

 <<O>>  Difference Topic Liloconf22 (r1.2 - 10 Feb 2004 - RickArchibald)
Added:
>
>

lilo.conf.2.2

Revised lilo.conf, ver. 2.2. 

Changes

  • 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"

Explantion / Solution

Answer These Questions, PLEASE

Thanks to all who took time to answer the questions, The answers were used to write the next section. 

SCSI references in the append line

  • 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.

Other references in the append line

  • apm=power-off
Don't know if this is nec., but it doesn't look harmful. 
  • nomce
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..."

Remaining issues

  • 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



 <<O>>  Difference Topic Liloconf22 (r1.1 - 10 Feb 2004 - RickArchibald)
Added:
>
>

%META:TOPICINFO{author="RickArchibald" date="1076429380" format="1.0" version="1.1"}% %META:TOPICPARENT{name="Liloconf21b"}% -- RickArchibald - 10 Feb 2004


Topic Liloconf22 . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }
Revision r1.1 - 10 Feb 2004 - 16:09 GMT - RickArchibald
Revision r1.3 - 11 Feb 2004 - 01:16 GMT - RickArchibald
Copyright © 2003-2007 by F. A. Archibald III & the contributing authors