Subject: Boot from 2nd drive.
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Nobuhiro Yasutomi <nobu@freud.psrc.isac.co.jp>
List: current-users
Date: 02/17/1994 10:30:42
Hi, folks.
There is a little modification at i386/boot/boot.c, which booting up
secondarily hard disk drive automaticary. It's seem better,
not need type in "hd(1,a)...".
*** boot/boot.c Sat Oct 16 12:11:17 1993
--- sdboot/boot.c Fri Dec 31 19:51:01 1993
***************
*** 86,91 ****
--- 86,92 ----
\***************************************************************/
part = unit = 0;
maj = (drive&0x80 ? 0 : 2); /* a good first bet */
+ if ((drive&0x8f)==0x81) maj=unit=1; /* boot from hd1a */
name = names[currname++];
loadflags = 0;
This patch by GCA01572@niftyserve.or.jp "en-chan", from NIFTY-Serve UNIX Forum.
Use with boot manager which support 2nd drive boot(pboot etc).
It's work fine for me.
---
Nobuhiro Yasutomi
nobu@psrc.isac.co.jp
MGG02210@niftyserve.or.jp
------------------------------------------------------------------------------