From owner-freebsd-hackers Thu Apr 20 16:16:58 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA13513 for hackers-outgoing; Thu, 20 Apr 1995 16:16:58 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA13507 for ; Thu, 20 Apr 1995 16:16:56 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.8/8.6.6) id QAA16132 for hackers@FreeBSD.org; Thu, 20 Apr 1995 16:16:56 -0700 From: Julian Elischer Message-Id: <199504202316.QAA16132@ref.tfs.com> Subject: Returned mail: Re: Booting from second hard drive (SCSI) problems (Again!!) To: hackers@FreeBSD.org Date: Thu, 20 Apr 1995 16:16:56 -0700 (PDT) Content-Type: text Content-Length: 1124 Sender: hackers-owner@FreeBSD.org Precedence: bulk > 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; > > > >