lilo.conf/scsi drive question

lilo.conf/scsi drive question

Post by William Schwart » Tue, 02 Nov 1999 04:00:00



I'm trying to get my scsi card and drive to be recognized when the system
boots.  Right now I have to insmod the module after the system is up.
I'm pretty sure I need something in lilo.conf but I can't figure out what.

thanks,
Bill

 
 
 

lilo.conf/scsi drive question

Post by Leonard Even » Tue, 02 Nov 1999 04:00:00



> I'm trying to get my scsi card and drive to be recognized when the system
> boots.  Right now I have to insmod the module after the system is up.
> I'm pretty sure I need something in lilo.conf but I can't figure out what.

> thanks,
> Bill

When you have a SCSI disk, lilo.conf must have an initrd
statement.  That allows the use of an initial ramdisk to
install a SCSI driver.  The initrd statement loads the
ramdisk from an initrd file in /boot which is created with
mkinitrd.   The RedHat web site has instructions for
installing kernels and that includes what to do about
initrd.  One way to access it is to go to say 6.0 errata
and look at the kernel update.  It will have a link the
the instructions.
--


Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

 
 
 

lilo.conf/scsi drive question

Post by Villy Kru » Tue, 02 Nov 1999 04:00:00


On Mon, 01 Nov 1999 04:45:06 GMT, William Schwartz


>I'm trying to get my scsi card and drive to be recognized when the system
>boots.  Right now I have to insmod the module after the system is up.
>I'm pretty sure I need something in lilo.conf but I can't figure out what.

The closest you get to do something with lilo.conf is to create an
initrd image conatining the scsi module and instructions to load that
module at boot time, and then give the name of that image in lilo.conf.
However, if you don't need the scsi module for your root disk, it is just
as easy to leave it as is, possible inerting the module load instructions
into /etc/rc.d/rc.modules.

You could also add something like the following line to /etc/conf.modules
and have the kernel load the scsi module when needed.

alias scsi_hostadapter aic7xxx
                       ^^^^^^^

                       replace this with the correct scsi module

--
Villy

 
 
 

lilo.conf/scsi drive question

Post by Kenneth Crud » Wed, 03 Nov 1999 04:00:00




Quote:>I'm trying to get my scsi card and drive to be recognized when the system
>boots.  Right now I have to insmod the module after the system is up.
>I'm pretty sure I need something in lilo.conf but I can't figure out what.

Build a new kernel, then you don't have to don't have to fool around with
ramdisks, initrds, or lilo.

        -Kenny

--
Kenneth R. Crudup   Sr. SW Engineer, Scott County Consulting, Washington, D.C.
Home1: 8051 Newell St. #914     Silver Spring, MD 20910-0914    (301) 562-1922
Home2: 38010 Village Cmn. #217  Fremont, CA 94536-7525          (510) 745-8181
Work:  19420 Homestead Road     Cupertino, CA 95014-0606        (408) 447-6654

 
 
 

1. How do you set lilo.conf to boot SCSI and IDE drives?

Well, I guess I wasn't satisfied with just 3 operating systems on my
pentium computer, so I recently added a fourth.  My drive configuration
is as follows:

/dev/hda1            1        1      254  2040223+   6  DOS 16-bit >=32M

/dev/hda2   *      255      255      784  4257225    b  Win95 FAT32

/dev/hdc1   *        1        1      383  3076416    b  Win95 FAT32
/dev/hdc2          384      384      400   136552+  82  Linux swap
/dev/hdc3          401      401      784  3084480   83  Linux native

/dev/sda1   *        2        2      131  1044225   82  Linux swap

Now the /dev/hda1 is actually WinNT, and /dev/sda1 is actually SOLARIS
x86 (yes, it truly does have the same partition ID as Linux swap).  I
can get LILO to boot Win98, WinNT, and LINUX with no problem, but I
can't seem to boot SOLARIS with LILO.  Only if I set my CMOS to "NONE"
for both IDE's, then the SCSI drive will boot SOLARIS.

How should I configure lilo.conf to boot SOLARIS?  I use slackware 3.5.0
kernel 2.0.34

I'm afraid the man lilo.conf page and the mini-howto hasn't helped me
much and I don't understand the basics of the booting process.  The
following is my most recent try at lilo.conf which boots all operating
systems OK except SOLARIS.

Thanks in advance,

Mike

# Start LILO global section
append="append=80M"
boot = /dev/hda
#compact        # faster, but won't work on all systems.
delay = 50
vga = normal    # force sane state
# ramdisk = 0     # paranoia setting
# End LILO global section
#
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hdc3
  label = linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
#
# DOS bootable partition config begins
other = /dev/hda1
  label = nt
  table = /dev/hda
# DOS bootable partition config ends
#
# DOS bootable partition config begins
other = /dev/hda2
  label = windows
#  map-drive = 0x80
#   to = 0x81
#  map-drive = 0x81
#   to = 0x80
  table = /dev/hda
# DOS bootable partition config ends
#
# Solaris bootable partition begins
other = /dev/sda1
  table = /dev/sda
     map-drive = 0x80
    to = 0x82
   map-drive = 0x82
    to = 0x80
  loader = /boot/chain.b
  label = solaris
# Solaris bootable partition ends

--
*****************************************************
I know how to spell.  I just can't type.
This message printed with recycled electrons
*****************************************************

2. rename(2) across nfs

3. lilo.conf and lilo.conf~

4. ARCNET, Ethernet and TCP/IP: Will it work???

5. Multi-drive lilo.conf question

6. Problem while using boot net - install

7. LILO/lilo.conf question?

8. Multiple root level accounts possible on Linux?

9. LILO Questions on SCSI Drives

10. LILO + windows on a SCSI drive + linux on an IDE drive

11. Lilo & 2 SCSI Drives - Won't boot from 2nd drive

12. HELP:2 IDE dos drives + 1 SCSI linux drive + LILO

13. lilo.conf request for one SCSI HD - Win95/Linux