Lilo question (HW-RAID5)/Error

2002-01-02 Thread Matthew Carpenter

I have RH7.2 installed on a Compaq Dual-PPro with HW RAID5.  It's an old box (200MHz 
for each proc) but it seems to run ok.  I am attempting to update my lilo config and 
running into problems.  Here is my lilo.conf file:

prompt
timeout = 100
boot = /dev/ida/c0d0p1
map = /boot/map
install = /boot/boot.b
message = /boot/message
default = linux

image = /boot/vmlinuz-2.4.7-10smp
label = linux
initrd = /boot/initrd-2.4.7-10smp.img
read-only
append =  mem=256M
root = /dev/ida/c0d0p2

image = /boot/vmlinuz-2.4.7-10
label = linux-up
initrd = /boot/initrd-2.4.7-10.img
read-only
append =  mem=256M
root = /dev/ida/c0d0p2

When I attempt to execute /sbin/lilo -v -v -v it gives me this:

[root@lngi56 etc]# lilo -v -v -v
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from current root.
Merging with /boot/boot.b
Device 0x4801: BIOS drive 0x80, 255 heads, 4110 cylinders,
   32 sectors. Partition offset: 73440 sectors.
Secondary loader: 11 sectors.
Device 0x4801: BIOS drive 0x80, 255 heads, 4110 cylinders,
   32 sectors. Partition offset: 73440 sectors.
Syntax error near line 2 in file /etc/lilo.conf
Removed temporary file /boot/map~



It doesn't seem to matter what line 2 is.  I've rearranged the lilo.conf file around 
in everywhich way...

Here's the last intriguing tidbit:  When I edit /etc/lilo.conf, vi puts the [dos] tag 
at the bottom of the screen  Would this make a difference?

Thanks all,
Matt


-- 
Matthew Carpenter 
CNI, CNE, CCNA, MCP, J2CP, WP
[EMAIL PROTECTED]  http://www.e-i-s.cc/

Enterprise Information Systems
*Network Consulting, Integration  Support
*Web Development and E-Business
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Lilo question (HW-RAID5)/Error

2002-01-02 Thread Matthew Carpenter

Sorry to reply to my own post, but the issue WAS the [dos] file.  I copied and pasted 
the config into a new file in vi and lilo ran flawlessly.


Thanks anyway!
Matt 

On Wed, 2 Jan 2002 11:42:01 -0500
Matthew Carpenter [EMAIL PROTECTED] wrote:

 I have RH7.2 installed on a Compaq Dual-PPro with HW RAID5.  It's an old box (200MHz 
for each proc) but it seems to run ok.  I am attempting to update my lilo config and 
running into problems.  Here is my lilo.conf file:
 
 prompt
 timeout = 100
 boot = /dev/ida/c0d0p1
 map = /boot/map
 install = /boot/boot.b
 message = /boot/message
 default = linux
 
 image = /boot/vmlinuz-2.4.7-10smp
 label = linux
 initrd = /boot/initrd-2.4.7-10smp.img
 read-only
 append =  mem=256M
 root = /dev/ida/c0d0p2
 
 image = /boot/vmlinuz-2.4.7-10
 label = linux-up
 initrd = /boot/initrd-2.4.7-10.img
 read-only
 append =  mem=256M
 root = /dev/ida/c0d0p2
 
 When I attempt to execute /sbin/lilo -v -v -v it gives me this:
 
 [root@lngi56 etc]# lilo -v -v -v
 LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
 'lba32' extensions Copyright (C) 1999,2000 John Coffman
 
 Reading boot sector from current root.
 Merging with /boot/boot.b
 Device 0x4801: BIOS drive 0x80, 255 heads, 4110 cylinders,
32 sectors. Partition offset: 73440 sectors.
 Secondary loader: 11 sectors.
 Device 0x4801: BIOS drive 0x80, 255 heads, 4110 cylinders,
32 sectors. Partition offset: 73440 sectors.
 Syntax error near line 2 in file /etc/lilo.conf
 Removed temporary file /boot/map~
 
 
 
 It doesn't seem to matter what line 2 is.  I've rearranged the lilo.conf file around 
in everywhich way...
 
 Here's the last intriguing tidbit:  When I edit /etc/lilo.conf, vi puts the [dos] 
tag at the bottom of the screen  Would this make a difference?
 
 Thanks all,
 Matt
 
 
 -- 
 Matthew Carpenter 
 CNI, CNE, CCNA, MCP, J2CP, WP
 [EMAIL PROTECTED]  http://www.e-i-s.cc/
 
 Enterprise Information Systems
 *Network Consulting, Integration  Support
 *Web Development and E-Business
 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users


-- 
Matthew Carpenter 
CNI, CNE, CCNA, MCP, J2CP, WP
[EMAIL PROTECTED]  http://www.e-i-s.cc/

Enterprise Information Systems
*Network Consulting, Integration  Support
*Web Development and E-Business
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Lilo question (HW-RAID5)/Error

2002-01-02 Thread Ted Ozolins

On Wednesday 02 January 2002 08:42 am, you wrote:
 I have RH7.2 installed on a Compaq Dual-PPro with HW RAID5.  It's an old
 box (200MHz for each proc) but it seems to run ok.  I am attempting to
 update my lilo config and running into problems.  Here is my lilo.conf
 file:

 prompt
 timeout = 100  ---maybe quotes should be on 100?

-- 
Ted Ozolins(VE7TVO)
Westbank, B. C.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users