From owner-freebsd-questions Thu Oct 17 18:47:27 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 A299137B401 for ; Thu, 17 Oct 2002 18:47:25 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD23F43E4A for ; Thu, 17 Oct 2002 18:47:24 -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 g9I1kio28349; Thu, 17 Oct 2002 21:46:44 -0400 (EDT) From: Jerry McAllister Message-Id: <200210180146.g9I1kio28349@clunix.cl.msu.edu> Subject: Re: problems mounting extended partitions and fdisk. To: nkj@namodn.com (Nick Jennings) Date: Thu, 17 Oct 2002 21:46:44 -0400 (EDT) Cc: jerrymc@clunix.cl.msu.edu (Jerry McAllister), freebsd-questions@FreeBSD.ORG In-Reply-To: <20021017163328.F10984@namodn.com> from "Nick Jennings" at Oct 17, 2002 04:33:28 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 > > On Thu, Oct 17, 2002 at 06:51:22PM -0400, Jerry McAllister wrote: > > > > > > su-2.05b# fdisk /dev/ad1 > > > ******* Working on device /dev/ad1 ******* > > > parameters extracted from in-core disklabel are: > > > cylinders=2586 heads=240 sectors/track=63 (15120 blks/cyl) > > > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > > parameters to be used for BIOS calculations are: > > > cylinders=2586 heads=240 sectors/track=63 (15120 blks/cyl) > > > > > > Media sector size is 512 > > > Warning: BIOS sector numbering starts with sector 1 > > > Information from DOS bootblock is: > > > The data for partition 1 is: > > > sysid 131,(Linux filesystem) > > > start 63, size 151137 (73 Meg), flag 80 (active) > > > beg: cyl 0/ head 1/ sector 1; > > > end: cyl 9/ head 239/ sector 63 > > > The data for partition 2 is: > > > sysid 130,(Linux swap or Solaris x86) > > > start 151200, size 680400 (332 Meg), flag 0 > > > beg: cyl 10/ head 0/ sector 1; > > > end: cyl 54/ head 239/ sector 63 > > > The data for partition 3 is: > > > sysid 131,(Linux filesystem) > > > start 831600, size 483840 (236 Meg), flag 0 > > > beg: cyl 55/ head 0/ sector 1; > > > end: cyl 86/ head 239/ sector 63 > > > The data for partition 4 is: > > > sysid 5,(Extended DOS) > > > start 1315440, size 37784880 (18449 Meg), flag 0 > > > beg: cyl 87/ head 0/ sector 1; > > > end: cyl 1023/ head 239/ sector 63 > > > su-2.05b# > > > > > > > It looks like fdisk is doing just what is is supposed to do. > > If you enter fdisk device it will print out a summary of > > the slice table. That is the way I read the man page. > > I read the manpage, and it does mention 'interactive' mode 3 times. > However, it seems as if nowhere does it say how to get into interactive, > mode. As I read it, it hinted at the fact that running 'fdisk ' > whith no params would put you in interactive mode. > > I probably am missing something, but can you please tell me how to > get into interactive mode? (I think I did this in the installation > process). You are right, it isn't very clear in the man pages, but the -i or -u flags will put you in to interactive mode. But, really, interactive mode is nearly unneeded nowdays with recent improvements to fdisk. ////jerry > > Thanks. > > -- Nick > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message