*BSD News Article 72978


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!oleane!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!uunet!inXS.uu.net!in2.uu.net!news.maz.net!cls.net!menetekel.kiel.org!tusia!macko
From: macko@tusia.kiel.org (Maciej Wiatr)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Applying boot.c changes (Q)
Message-ID: <qPRLqD1w165w@tusia.kiel.org>
Date: Fri, 05 Jul 96 18:59:25 PDT
Organization: TimeSpace Private
Lines: 41


Salute,

since I've solved the problem with the apllying of changes from boot.c
file another one rised. The comment below tells to define BOOT_HD what
I made with

#define BOOT_HD

at the beginning of the file. While booting I get the error mesage :

ERROR: C:-53404 H:-45 S:0.

I use the 1542 SCSI adaptec controler on isa and an IDE drive (C:) on
a multi I/O card on isa.

What do I do wrong ?

	/***************************************************************\
	* As a default set it to the first partition of the boot	*
	* floppy or hard drive						*
	* Define BOOT_HD to boot sd0 when wd0 is also installed		*
	\***************************************************************/
	part = 0;
	unit = drive & 0x7f;
#ifdef	BOOT_HD
	maj = (drive&0x80 ? 1 : 2);		/* a good first bet */
#else
	maj = (drive&0x80 ? 0 : 2);		/* a good first bet */
#endif


Thanks for help !


_____________________________________________________________
                 ,,
   /\ /\  //   //// // // /////		macko@tusia.kiel.org
  //\/\\ //\\ //   ////  // //		( Maciej Wiatr )
  //  \\ // \\//// // \\ ////		Tel. : 0431/723746
_____________________________________________________________