Date: Tue, 12 Sep 1995 16:36:54 +0200 From: Lars Koeller <lars.koeller@odie.physik2.uni-rostock.de> To: B.Suurmeijer@telecom.ptt.nl Cc: freebsd-questions@freefall.FreeBSD.org Subject: Re: Booting from sd0 when wd0 is installed Message-ID: <199509121436.QAA13779@odie.physik2.uni-rostock.de> In-Reply-To: Mail from 'Ben Suurmeijer <B.Suurmeijer@telecom.ptt.nl>' dated: Tue, 12 Sep 1995 13:18:22 %2B0200 (MET DST)
next in thread | previous in thread | raw e-mail | index | archive | help
> > The option is BOOT_HD not BOOT_HT > > You're right, the comment line say BOOT_HT but the ifdef uses BOOT_HD > but I didn't solve it so far. I did a make and make install in the > /sys/i386/boot/biosboot directory and it did install some files in /usr/mdec. > What am I doing wrong? You also havt to disklabel the device: su to root chdir to /usr/mdec disklabel -B sd0 And try a reboot. But I remember to have problems with my installation (disk one is a ESDI wd0, and FreeBSD is a SCIS sd0). I have changed the followind lines in boot.c and add a -DBOOT_HD1 to the makefile (remove the -DBOOT_HD). part = 0; unit = drive & 0x7f; #ifdef BOOT_HD1 maj = (drive&0x81 ? 1 : 2); #elif defined(BOOT_HD) maj = (drive&0x80 ? 1 : 2); /* a good first bet */ #else maj = (drive&0x80 ? 0 : 2); /* a good first bet */ #endif > > > > Hi, > > > > > > I've FreeBSD 2.0.5 installed on my SCSI-drive, which is the second drive. > > > On the first drive, an IDE-drive, is Windows'95. > > > When I boot FreeBSD I must enter "hd(1,a)/kernel". How can I change this so > > > that FreeBSD boots automatic? I've tried de option "config kernel root on sd0" > > > but that doesn't do the trick. I also tried to add the option "BOOT_HT" in > > > the file /sys/i386/boot/biosboot/Makefile. Also without succes. > > > ( changed line: (added -DBOOT_HT) > > > CFLAGS= -O2 -DDO_BAD144 -DBOOTWAIT=${BOOTWAIT} -DCOMCONSOLE=0x3F8 -DBOOT_HT ) Regards Lars -- ______________________________________________________________________________ Lars Köller E-Mail: University of Rostock (Germany) lars.koeller@odie.physik2.Uni-Rostock.DE Fachbereich Physik Universitätsplatz 3 Phone: +49 381/498-1665 or 498-1648 18051 Rostock Fax: +49 381/498-1667
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509121436.QAA13779>