Date: Thu, 20 Apr 1995 16:16:56 -0700 (PDT) From: Julian Elischer <julian@ref.tfs.com> To: hackers@FreeBSD.org Subject: Returned mail: Re: Booting from second hard drive (SCSI) problems (Again!!) Message-ID: <199504202316.QAA16132@ref.tfs.com>
next in thread | raw e-mail | index | archive | help
>
This has come up enough for me to change the bootblocks a bit..
here is the change I suggest:
> from:
>
> loadstart:
> /***************************************************************\
> * As a default set it to the first partition of the first *
> * floppy or hard drive *
> \***************************************************************/
> part = unit = 0;
>
> to:
loadstart:
/***************************************************************\
* As a default set it to the first partition of the boot *
* floppy or hard drive *
\***************************************************************/
part = 0;
unit = drive & 0x7f;
#ifdef BOOT_HD
maj = (drive&0x80 ? 0 : 1); /* a good first bet */
#else
maj = (drive&0x80 ? 0 : 2); /* a good first bet */
#endif
I'm checking in this change now.....
define BOOT_HD to make it default to hd(1,a)/kernel
If that fails in the older boot code:
replace
part = unit = 0;
with
part = 0;
unit = 1;
maj = 1;
>
>
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504202316.QAA16132>
