From owner-freebsd-questions Sun Jan 28 16:25:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA14070 for questions-outgoing; Sun, 28 Jan 1996 16:25:50 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA14042 Sun, 28 Jan 1996 16:25:33 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA27252; Mon, 29 Jan 1996 01:21:58 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id BAA13359; Mon, 29 Jan 1996 01:21:57 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id AAA04467; Mon, 29 Jan 1996 00:57:42 +0100 (MET) From: J Wunsch Message-Id: <199601282357.AAA04467@uriah.heep.sax.de> Subject: Re: SCSI Question To: hackers@freebsd.org, questions@freebsd.org Date: Mon, 29 Jan 1996 00:57:41 +0100 (MET) Cc: sbqadm@sbq.org.br Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199601281950.LAA27544@freefall.freebsd.org> from "Justin T. Gibbs" at Jan 28, 96 11:50:52 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@freebsd.org Precedence: bulk As Justin T. Gibbs wrote: > > >We can't stop the server (4) and it is running this way, I would > >like very much to correct the problem without reinstalling it. > > You'll have to in order to correct the problem. Well, you don't really _need_ to re-install, but it's highly recommended, and you need a double-net if you wanna correct it ``on the fly''. Basically, what happens is the following: |<--------------------------->| | Last | size of a cylinder as the | | ficticous | FreeBSD installation ass- | | cylinder | umed the BIOS would use | | boundary V V V +-+--------------+------------+---------------------- ... ---+-------+ |M| Padded unuse|d space, to |FBSD | un- | |B| remain compa|tible with |boot FreeBSD | used | |R| other system|s | | | +-+--------------+------------+---------------------- ... ---+-------+ ^ ^ | size of a cyl- | | inder as your | | BIOS thinks | |<-------------->| The BIOS is told to boot off cylinder 1, sector 1, head 0. As you can see above, if the ideas of FreeBSD's sysinstall and the BIOS about the size of a (ficticous) cylinder disagree, the Master Boot Record won't find the boot sector of the operating system, and since it misses the boot signature (0x55, 0xaa in the last two bytes of the first sector of the o/s), it prints this ``Missing operating system'' message. However, everything above marked as ``FreeBSD'' is intact, as you can observe when booting from floppy. So if you really don't mind the potential danger, you could re-calculate the values in the MBR to match the C/H/S number for the area where ``FBSD boot'' starts. This way, the MBR will finally find the system. Alternatively, for people like you who are operating a truly dedicated server machine, where the disks will never see any other system so compatibility is not an issue (nor is ``multi-boot''), this is what the ``Dangerously dedicated'' mode is for. Select A)ll FreeBSD in the partition editor, and answer the next question with the non-standard answer ``No''. (Read carefully.) This will setup the following: +-----------------------------------------------------... -----------+ |FBSD | |boot FreeBSD | | | +---------------------------------------------------- ... -----------+ As you can see, no wasted space at all, and since the Master Boot Record and the FreeBSD bootstrap are identical, you don't have to care for any BIOS geometry at all. The BIOS boots sector 1, cylinder 0, head 0, and boots straight into FreeBSD this way. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)