From owner-freebsd-questions Thu Feb 11 08:12:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07357 for freebsd-questions-outgoing; Thu, 11 Feb 1999 08:12:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07352 for ; Thu, 11 Feb 1999 08:12:47 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.12 #1) id 10Ayii-0007SD-00; Thu, 11 Feb 1999 16:12:04 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id QAA03623; Thu, 11 Feb 1999 16:11:33 GMT Received: from uk.radan.com (gppsun4) by beavis.uk.radan.com (4.1/SMI-4.1) id AA08153; Thu, 11 Feb 99 16:11:32 GMT Message-Id: <36C30132.9FAB6430@uk.radan.com> Date: Thu, 11 Feb 1999 16:11:30 +0000 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB Mime-Version: 1.0 To: zhihuizhang Cc: Bill Hamilton , freebsd-questions@FreeBSD.ORG Subject: Re: Partition with Partition Magic References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG zhihuizhang wrote: > > > > > > > I am using Partition Magic 3.02 and I have free space as a primary > > > partition. The PC already has Linux, DOS 6, and Windows NT installed. > > > The pqmagict.exe shows there are three primary partitions available and > > > their sizes are 31.3MB, 4769.2MB, and 1349.2MB respectively. The first > > > two are also shown in the DOS fdisk command. The second primary partition > > > contains 7 subpartition: 4 labeled as Linux Ext2, 2 labeled as Linux swap, > > > and 1 labeled as NTFS (I guess this is for Windows NT). > > > > > > I insert CD-ROM and reboot from it. At the FDISK screen, I see four > > > entries: > > > > > > offset size end name ptype desc subtype > > > 0 63 62 - 6 unused > > > 63 64197 64259 wd0s1 2 fat 4 <-- DOS > > > 64260 9767520 9831779 wd0s2 4 extended 5 <-- extended primary > > > 9831780 2363180 12594959 wd0s3 3 freebsd 165 CA > > > > > > My question is: How come FreeBSD regard the first entry as unused? Why > > > Partition Magic does not show this entry (It only shows the last three, > > > wd0s1-wd0s3)? Why there are FOUR entries instead of THREE entries (each > > > represent a primary partition)? Where does the extra entry (first one) > > > come from? > > > > > > By the way, I installed FreeBSD on another PC successfully and devoted ALL > > > disk space to FreeBSD on that machine. Still, I got the mysterious first > > > entry labeled as unused. I read in an installation tutorial that it is > > > for boot sectors. But for this PC, where can we find those 62 sectors > > > that seems to be required by FreeBSD? > > > > > > Maybe I have to install FreeBSD FIRST (before other OSs) to make sure > > > FreeBSD can use the first 62 sectors. I try to find the start sector of > > > the DOS partition to see if there is any conflict, but Partition Magic has > > > no such information for the first active DOS partition (I can get similar > > > information on other partitions). > > > > > > Anyway, I install FreeBSD on the last partition "successfully" and reboot. > > > > > > The System Commander does find the FreeBSD partition. But when I try to > > > boot from it. It says "read error" and the system halts. > > > > > Sounds like bad boot blocks. > > If you boot off of floppy, perhaps you can repair it. > > What version of FreeBSD is this? > > > I am using FreeBSD 2.2.8. I bought 4 CDs from Walnut Creek. Having read > some of the followups, I am still confused with the unexplained first > partition which is 62 sectors (its Ptype is 6 and labeled as "unused"). > Even if I declare ALL disk space to FreeBSD on a machine, that partition > still occurs. > > I hope someone can clarify this for us all. What on earth is its purpose? As I said in an earlier post, it is the Master Boot Record & Partition Table area of the disk. FreeBSD (and other *nixes) show much more detail (i.e. at a lower level) than DOS/Win apps (e.g. PM). The Master Boot Record and Partiton Table has to live somewhere on the disk and it is in the first few (63) sectors. PM and DOS fdisk don't bother showing this system area (since the user can't do anything with it, except trash it), FreeBSD, OTOH, shows it, perhaps confusingly, as an unused "partition". Ignore it, mine's the same. You'll never get rid of it. HTH > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message