From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 06:53:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C9C016A4CE for ; Thu, 16 Sep 2004 06:53:40 +0000 (GMT) Received: from mail815.megamailservers.com (mail815.carrierinternetsolutions.com [69.49.106.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDCF643D2F for ; Thu, 16 Sep 2004 06:53:39 +0000 (GMT) (envelope-from strick@covad.net) X-POP-User: strick.covad.net Received: from mist.nodomain (h-67-101-222-2.snfccasy.dynamic.covad.net [67.101.222.2])i8G6rXlD006971; Thu, 16 Sep 2004 02:53:34 -0400 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.12.11/8.12.11) with ESMTP id i8G6rWpA000739; Wed, 15 Sep 2004 23:53:32 -0700 (PDT) (envelope-from dan@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.12.11/8.12.11/Submit) id i8G6rVb9000738; Wed, 15 Sep 2004 23:53:31 -0700 (PDT) (envelope-from dan) Date: Wed, 15 Sep 2004 23:53:31 -0700 (PDT) From: Dan Strick Message-Id: <200409160653.i8G6rVb9000738@mist.nodomain> To: freebsd-questions@freebsd.org cc: fancalenno@pchome.com.tw Subject: Re: problem with 1024 cylinders X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 06:53:40 -0000 On Wed, 15 Sep 2004 21:48:01 +0800, fancalenno@pchome.com.tw wrote: >> > I have one IDE disk drive with 40GB > ... > my question is ... does the FreeBSD still have the restriction that its = > root file system must be installed in the first 1024 cylinders??? > ... >> On Wed, 15 Sep 2004 22:23:12 -0700, henrik.w.lund@broadpark.no responded: >> > I think this is a rather nifty feature of the FreeBSD bootloader (the > infamous boot0). It can boot anything from anywhere on any disk (someone > correct me if I'm wrong here, please), provided that what it boots wants > to boot from where it's situated. I know WinXP expects to have its > startup files on the first partition on the first physical disk and > refuses to start up otherwise, other OSes may have similar quirks. But > from what I gather, FreeBSD is quite forgiving in this regard. >> FreeBSD can access the entire disk once it is up an running, but the bootstrap program used to load the FreeBSD kernel may be limited. The FreeBSD "boot0" bootstrap program, which is sometimes confused with the older "booteasy" program, may be configured to use either the old or new BIOS disk functions to load the kernel. The boot0 program is not smart enough to determine automatically which flavor of BIOS disk functions it should use. It is configured by the "boot0cfg" program to always use one or the other. See the "packet" option on the FreeBSD man page for the boot0cfg program. If the boot0 program is configured to use the old BIOS disk functions, it cannot read past the first 1024 cylinders. If boot0 is using the new BIOS disk functions, your bootable disk partitions can be anywhere on the drive. This applies to any OS you might try to boot using boot0. To verify that you are using boot0 and to determine how it is configured, issue a command like: boot0cfg -v ad0 Dan Strick