Koozali.org: home of the SME Server

SunFire v20z SCSI - Lilo not working

roger

SunFire v20z SCSI - Lilo not working
« on: November 07, 2005, 10:51:52 AM »
I have recently aquired a SunFire v20z for use as an SME Server, using 6.5RC1, I have installed with raid-1 (two 73GB Ultra320 SCSI Disks) and all seems fine until reboot, when lilo just shows 'L' in the top left hand corner of the screen.

I have a boot floppy, and the system comes up from floppy just fine.

Running lilo from the command line I get the following :-

[root@sme1 etc]# lilo
boot = /dev/sda, map = /boot/map.0801
Added SMEServer-smp
Added SMEServer-up
Fatal: No images have been defined.

Anyone have any ideas ?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
SunFire v20z SCSI - Lilo not working
« Reply #1 on: November 07, 2005, 05:56:16 PM »
Here is a copy of my 6.5 lilo.conf

#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few settings are altered by the
# template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
#
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/lilo.conf/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
prompt
timeout=50
default=SMEServer-up
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/smeserver.pcx
linear
image=/boot/vmlinuz-2.4.20-37.7.legacysmp
        label=SMEServer-smp
        initrd=/boot/initrd-2.4.20-37.7.legacysmp.img
        read-only
        root=/dev/sda3
image=/boot/vmlinuz-2.4.20-37.7.legacy
        label=SMEServer-up
        initrd=/boot/initrd-2.4.20-37.7.legacy.img
        read-only
        root=/dev/sda3


check to make sure you have a default line.  If you need more info, google on lilo and your error message.  I found a lot of hits.

JB
......

roger

SunFire v20z SCSI - Lilo not working
« Reply #2 on: November 07, 2005, 06:12:57 PM »
Thanks JB

Fixed the lilo install problem, but the boot process still fails.

I have altered my lilo.conf and reran lilo, this time lilo worked. It was the default which for some reason was set to  'vmlinuz' so I altered it to SMEServer-up.

Here is my current lilo.conf

#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few settings are altered by the
# template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
#
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/lilo.conf/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
prompt
timeout=50
default=SMEServer-up
boot=/dev/md0
map=/boot/map
install=/boot/boot.b
message=/boot/smeserver.pcx
linear
image=/boot/vmlinuz-2.4.20-37.7.legacysmp
    label=SMEServer-smp
    initrd=/boot/initrd-2.4.20-37.7.legacysmp.img
    read-only
    root=/dev/md1
image=/boot/vmlinuz-2.4.20-37.7.legacy
    label=SMEServer-up
    initrd=/boot/initrd-2.4.20-37.7.legacy.img
    read-only
    root=/dev/md1

I now get the following when running lilo

[root@sme1 root]# lilo
boot = /dev/sda, map = /boot/map.0801
Added SMEServer-smp
Added SMEServer-up *
boot = /dev/sdb, map = /boot/map.0811
Added SMEServer-smp
Added SMEServer-up *

Which look fine.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
SunFire v20z SCSI - Lilo not working
« Reply #3 on: November 07, 2005, 06:30:18 PM »
Roger,

The look fine to me.  I ran into the initial error you were having last night while testing something else.

I'm over my head now.  I did find two decent links, hopefully they will help you.

http://home.att.net/~lilo-boot/l-i-l-o.htm

http://www.tldp.org/HOWTO/Bootdisk-HOWTO/a1483.html

Good Luck,

JB
......

roger

SunFire v20z SCSI - Lilo not working
« Reply #4 on: November 08, 2005, 12:38:09 PM »
Thanks again JB

Those two links were quite usefull.

I've come to the conclusion that the kernel version is not up to date enough to cope with the SCSI controller.

I upgraded the 6.5 to 7.0 (which uses Grub instead of lilo) and it works fine, although lots of issues post the upgrade, like DNS don't work, issues with SSL in httpd.conf etc.

I think I'll put it back to 6.5 and use the floppy boot method.

If I had time, I'd love to test 7.0, but at the moment I've got to get the server up and running for use.

BTW this is a brilliant project (contribs that is), I'm nearly there in converting some M$ support guys to it, tried in the past with Samba on Solaris but it was a little to green screen for them GUI guys.

Thanks