Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 21:46:44 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        nkj@namodn.com (Nick Jennings)
Cc:        jerrymc@clunix.cl.msu.edu (Jerry McAllister), freebsd-questions@FreeBSD.ORG
Subject:   Re: problems mounting extended partitions and fdisk.
Message-ID:  <200210180146.g9I1kio28349@clunix.cl.msu.edu>
In-Reply-To: <20021017163328.F10984@namodn.com> from "Nick Jennings" at Oct 17, 2002 04:33:28 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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 <device>'
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210180146.g9I1kio28349>