From owner-freebsd-questions Wed Oct 16 13:52:13 2002 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 30A1F37B401 for ; Wed, 16 Oct 2002 13:52:11 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71A2B43E97 for ; Wed, 16 Oct 2002 13:52:10 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g9GKq9h21592; Wed, 16 Oct 2002 16:52:09 -0400 (EDT) From: Jerry McAllister Message-Id: <200210162052.g9GKq9h21592@clunix.cl.msu.edu> Subject: Re: SYSINSTALL/FDISK To: jmd17@columbia.edu Date: Wed, 16 Oct 2002 16:52:09 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from "John Daniels" at Oct 16, 2002 02:53:43 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Hi: > > Please read the whole post before replying. Yes, I know that > DOS allows 4 PRIMARY Partitions and the history and purpose > of an EXTENDED Partition. > > I am installing 4.7-REL on a PC with one PRIMARY and one > EXTENDED partition. The PRIMARY partition is FAT and I have > W98 there. The EXTENDED partition is empty as it was originally > set up to be a place for FreeBSD. Unfortuneately, I now > understand that FreeBSD needs to be in a PRIMARY partition. > (EXTENDED was recommended by the disk's customer > service rep was was familiar with Linux but not BSD) Sounds like you have all the answers. Why the question. > Also, SYSINSTALL's FDISK program says that one should put > FreeBSD in a partition labeled as "unused". However, the > "Change Type" command lets me change the EXTENDED > partition to FreeBSD. I tried it and it seemed to work (I could > even make it "bootable") but I decided not to proceed because > I don't know what is going on behind the scenes: is it really > changing the partition to PRIMARY or just making a label > change (is that the same thing)? I don't want to wind up > with a disk that is unuseable. And if it is making the > change from EXTENDED to PRIMARY, is this something that > the BIOS will be OK with? I doubt the BIOS will care. It will probably work. But, if you are concerned, get yourself a copy of Partition Magic by Power Quest. It is available in most places that sell PC and software, including Best Buy, Circuit City, etc. Use it to clean up everything and leave the extra space not in your first slice (DOS primary partition) as unused space. Then let the fdisk in sysinstall turn that space in to a FreeBSD slice. Basically, FreeBSD fdisk/disklabel/newfs is quite happy to overwrite any type of space with a slice and partitions/filesystems whether they are already in use or not, if you tell them to do so. The fdisk basically just rewrites the disk's slice (DOS partition) table, thus determining how the disk space is divvied up. It will read and report existing use, but you can tell it to redivide that space any way you want. Of course, if you modify space already in use, that previous stuff is going to be trashed (most likely), but it tells you how each piece is being used so you can be careful. The fact that an empty piece (slice/DOS partition) is identified as set up to hold extended partitions means little as long as nothing is really there. ////jerry > > Alternatively, should I use the SYSINSTALL/FDISK "Delete" > option on the Partition and then create a new partition/slice > instead of "Change Type"? > > If SYSINSTALL's FDISK program will not do what I need can you > direct me to a tool can I use to change the EXTENDED partition > to a PRIMARY partition? > > Thanks, > > John Daniels > > > FYI, SYSINSTALL's FDISK screen is: > > Disk Name: ad0 > Disk geometry: 4865 cyls/ 255 heads / 63 sectors = 78156225 (38162MB) > > Offset Size End Name PType Desc. Subtype > Flags > 0 63 62 - 6 > unused 0 > 63 12594897 12594959 ad0s1 2 fat 11 > 12594960 65561265 78156224 ad0s2 4 extended 15 > 78156225 9135 78165359 - 6 unused 0 > > > > _________________________________________________________________ > Choose an Internet access plan right for you -- try MSN! > http://resourcecenter.msn.com/access/plans/default.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message