[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux on DOS partition




   I've made the BOOT and ROOT disks to run LINUX from a DOS
   partition and they work but I can't get Linux to
   recognize my DOCK-II based CD-ROM drive (Adaptec SCSI),
   to complete the install.  I'm using the appropriate BOOT
   disk with support for Adaptec SCSI... I think I'm not
   doing something specific at the boot prompt.

   Anybody been thru this and got Linux installed on a thinkpad
   using the DOCK-II CD-ROM???

I've been through this -- you need to give a boot-prompt parameter,
because the aha152x SCSI driver doesn't recognize the Dock II BIOS:

   aha152x=<port>,<irq>,<scsi-id>,1

for example, I use these values:

   aha152x=0x340,9,7,1

After you have installed Linux, you can continue to use the boot
parameter by adding it to the Lilo APPEND parameter, but if you do,
Linux won't boot unless you are docked.  Instead, you should patch the
kernel to recognize the dock, then rebuild the kernel (you'll need to
rebuild your kernel to get APM and PCMCIA support anyway):

    *** /usr/src/linux-1.2.9/drivers/scsi/aha152x.c.~1~	Tue May  2 00:31:26 1995
    --- /usr/src/linux-1.2.9/drivers/scsi/aha152x.c	Mon Jun 12 03:03:44 1995
    ***************
    *** 396,401 ****
    --- 396,402 ----
	{ "Adaptec BIOS:AIC-6360",         0xc, 21 },  /* on-board controller */
	{ "ScsiPro SP-360 BIOS",        0x2873, 19 },  /* ScsiPro-Controller with AIC-6360 */
	{ "GA-400 LOCAL BUS SCSI BIOS", 0x102e, 26 },  /* Gigabyte Local-Bus-SCSI */
    +   { "Adaptec BIOS:AHA-1532P",       0x1c, 22 },  /* IBM ThinkPad Dock II */
      };
      #define SIGNATURE_COUNT (sizeof( signatures ) / sizeof( struct signature ))
      #endif

With this patch installed, the dock SCSI will be recognized
automatically when you are docked, and it will be ignored when you are
not.