Lilo troubles (tertiary IDE)

Lilo troubles (tertiary IDE)

Post by David Fett » Thu, 26 Dec 1996 04:00:00



Kind people,

I'm having a little trouble adding back a MS-DOS hard drive.  It used
to be on /dev/hda1, but since I've added some hard drives and a cd-rom,
I've moved it to /dev/hdf1, i.e. the tertiary IDE controller, as a slave.

When I boot Linux, I can see all the partitions of /dev/hdf, but
what I get when I try to run LILO is:

Added Linux-2.1.17 *
Sorry, don't know how to handle device 0x2141

My /etc/lilo.conf is:
===begin lilo.conf========
boot = /dev/hda
delay = 0
vga = normal    # force sane state
ramdisk = 4096     # changed from the 0 paranoia setting

image = /kernel-2.1.17
  root = /dev/hda2
  label = Linux-2.1.17
  read-only
  append="ide2=0x1e8,,11 hde=cdrom hdf=dos"

other = /dev/hdf1
  label = dos
  table = /dev/hdf

===end lilo.conf========

and my /etc/fstab is:

===begin /etc/fstab========
/dev/hda1       swap        swap        defaults   1   1
/dev/hda2       /        ext2        defaults   1   1
/dev/hdb1        /mnt        ext2        defaults   1   1
/dev/hde        /cdrom    iso9660     ro         1   1
/dev/hdf1        /dos    msdos     defaults     1   1
/dev/hdf2        swap    swap     defaults     1   1
/dev/hdf3        /extra    ext2     defaults     1   1
/dev/fd0        /floppy   msdos       noexec,nodev,nosuid,user
none        /proc        proc        defaults   1   1
===end /etc/fstab========

Any and all help on this would be greatly appreciated.

Thanks in advance,
Dave.
--
            David Fetter                     600 10th Ave. SE #302

        http://www.baviera.com/~fetter       (612) 331-6009 (voice)
for(split/ /,"tsuJ rehtona lreP rekcah"){print $_=reverse(split)." ";}

"O tempura!  O morays!" -- Cicero, after dining on eels fried in batter.

 
 
 

Lilo troubles (tertiary IDE)

Post by Rod Smi » Thu, 26 Dec 1996 04:00:00




Quote:>Kind people,

>I'm having a little trouble adding back a MS-DOS hard drive.  It used
>to be on /dev/hda1, but since I've added some hard drives and a cd-rom,
>I've moved it to /dev/hdf1, i.e. the tertiary IDE controller, as a slave.

>When I boot Linux, I can see all the partitions of /dev/hdf, but
>what I get when I try to run LILO is:

>Added Linux-2.1.17 *
>Sorry, don't know how to handle device 0x2141

AFAIK, there's no solution to this problem; it's a BIOS limitation.  The
issue is one of how many hard disk controllers the BIOS will recognize,
and the answer is usually two (sometimes only one).  Chances are that DOS
won't be able to see the drive, either, for the same reason.

I'd suggest that you re-arrange your drives so that the DOS boot drive is
/dev/hda, or at least in the range /dev/hda to /dev/hdd.  (The partition
on which your Linux kernel resides will also have to be in this range.)
Doing this shouldn't be TOO painful, since it's a fairly trivial matter to
change the Linux fstab and re-install LILO to cope with these changes.

--
+--------------------------------------------------------------------+
| Rod Smith                                 Author of:               |

| http://ezinfo.ucs.indiana.edu/~rodsmith   "OS/2 Soundcard Summary" |
+--------------------------------------------------------------------+