[NCLUG] booting from AHA-2940UW & scsi disk only

Daniel Herrington daniel.herrington at home.com
Thu Apr 5 23:07:56 MDT 2001


Martin (or anyone else who might know),

1. I got my new scsi hard drive installed, got it partitioned as
   follows (then I formatted it and rsync'ed everything from /dev/hda5
   over to it, putting the /boot stuff into /dev/sda1 and the rest of
   / into /dev/sda5):

Disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        26    208813+  83  Linux
/dev/sda2            27      2231  17711662+   5  Extended
/dev/sda5            27      2190  17382298+  83  Linux
/dev/sda6          2191      2231    329301   82  Linux swap


2. I mount everything as shown in my /etc/fstab:

/dev/sda1               /boot                   ext2    defaults        1 1
/dev/sda5               /                       ext2    defaults        1 1
/dev/hda1               /mnt/hda1               ext2    defaults        0 0
/dev/hda5               /mnt/hda5               ext2    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/sda6               swap                    swap    defaults        0 0


3. I attempt to install lilo on /dev/sda.  Here's my lilo.conf:

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux-up
disk=/dev/sda
bios=0x81

image=/boot/vmlinuz-2.2.14-5.0smp
        label=linux-smp
        initrd=/boot/initrd-2.2.14-5.0smp.img
        read-only
        root=/dev/sda5

image=/boot/vmlinuz-2.2.14-5.0
        label=linux-up
        initrd=/boot/initrd-2.2.14-5.0.img
        read-only
        root=/dev/sda5

4. /sbin/lilo runs fine, says it's adding linux-up*, and linux-smp.
   By the way, I set the configuration of the motherboard to boot this
   order: A,EXT,C (EXT=SCSI).  And I set up the AHA-2940UW to boot
   from device 0.)

5. When I reboot the machine, the AHA-2940UW BIOS start-up screen sees
   the disk, says it's "D: (81h)" (that's why I put bios=0x81 above).
   It then attempts to boot from the scsi disk, and gives "LI", then
   the cursor jumps here and there and the printer starts printing the
   screen (not that that part matters...).

So is there something obvious I'm not doing in my lilo.conf or
   elsewhere?  I can boot just fine by re-running lilo with this:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux-up

image=/boot/vmlinuz-2.2.14-5.0smp
        label=linux-smp
        initrd=/boot/initrd-2.2.14-5.0smp.img
        read-only
        root=/dev/sda5

image=/boot/vmlinuz-2.2.14-5.0
        label=linux-up
        initrd=/boot/initrd-2.2.14-5.0.img
        read-only
        root=/dev/sda5


Any help is appreciated.

Best Regards,
   Daniel

-- 
Daniel Herrington, KC0IFV
http://members.home.net/daniel.herrington/
Home of Herky, my robot.



More information about the NCLUG mailing list