From owner-freebsd-questions@FreeBSD.ORG Wed Jan 9 16:24:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DE3C16A417 for ; Wed, 9 Jan 2008 16:24:10 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5FAAA13C45D for ; Wed, 9 Jan 2008 16:24:10 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m09GMF81051799; Wed, 9 Jan 2008 11:22:15 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m09GMFmR051798; Wed, 9 Jan 2008 11:22:15 -0500 (EST) (envelope-from jerrymc) Date: Wed, 9 Jan 2008 11:22:15 -0500 From: Jerry McAllister To: "Aryeh M. Friedman" Message-ID: <20080109162215.GA51744@gizmo.acns.msu.edu> References: <4782EEF0.80809@gmail.com> <20080108155509.GD42838@gizmo.acns.msu.edu> <4783F44F.5070303@gmail.com> <20080108223305.GA48272@gizmo.acns.msu.edu> <4784390E.7000906@gmail.com> <20080109160004.GB51635@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080109160004.GB51635@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Question Subject: Re: changing the postion of a partion in fdisk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 16:24:10 -0000 On Wed, Jan 09, 2008 at 11:00:04AM -0500, Jerry McAllister wrote: > On Tue, Jan 08, 2008 at 10:01:34PM -0500, Aryeh M. Friedman wrote: > > > >>> On Mon, Jan 07, 2008 at 10:33:04PM -0500, Aryeh M. Friedman > > >>> wrote: > > >>> > > >>>> I have my FreeBSD partition as partition 1 and my ntfs as > > >>>> partition 2 but Vista insists that there is no suitable > > >>>> partion to install to (even though the ntfs partition is big > > >>>> enough)... after some research I found that vista absolutely > > >>>> insists that the ntfs partition be partition 1... how do I > > >>>> swap them and/or delete the ntfs one and renumber it so > > >>>> freebsd is in partion slot 2 (with nothing in 1 and then I > > >>>> can use fdisk to make a new slot 1) > > >> I think I should of been a little more specific the physical > > >> layout is completely correct (i.e. the sizes, start/end tracks, > > >> etc.) the only problem is the logical numbering of the > > >> partitions/slices in the mbr idea of the table... namely I just > > >> need to relabel them not modify them in any way. > > > > > > I don't think you can make slice 2 become slice 1. The system > > > numbers them in order of appearance. This comes from BIOS standard > > > usage. > > 2 starts before 1 in my case?!??! > > > > % fdisk > > ******* Working on device /dev/ad8 ******* > > parameters extracted from in-core disklabel are: > > cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > parameters to be used for BIOS calculations are: > > cylinders=969021 heads=16 sectors/track=63 (1008 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 62910540, size 913857525 (446219 Meg), flag 80 (active) > > beg: cyl 1023/ head 255/ sector 63; > > end: cyl 1023/ head 254/ sector 63 > > The data for partition 2 is: > > sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) > > start 63, size 62910477 (30718 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 1023/ head 254/ sector 63 > > The data for partition 3 is: > > > > The data for partition 4 is: > > > > > > 2 > > Interesting. I have never seen that before. > > ////jerry And, given this, you might try doing an fdisk to recreate those slices with the location specs that you want - that is create slice 2 with starting point and size using the beginning values and slice 1 with starting address and size following that. I am not sure the fdisk would work at all that way, but it might. Also, I wouldn't guarantee that the current contents of those slices would still be usable. They might. Doing an fdisk only modifies the slice table and not any of the data or even the partition tables for the slices which are written by bsdlabel. So, it might leave it intact. But, if you are up to experimenting, you might learn something. If you have a good backup of what you need to preserve, then the worse that could happen is you would have to start over from scratch and reinstall both Vista and FreeBSD. At that point, it becomes moot because you can put things where you want. ////jerry > > > - -- > > Aryeh M. Friedman > > FloSoft Systems, Java Developer Tools > > http://www.flosoft-systems.com > > Developer, not business, friendly. > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2.0.4 (FreeBSD) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFHhDkOjRvRjGmHRgQRAr09AJ0TCHS+emo0rp0/UBNtHKE8CxxlBQCfTz3g > > AFWyXr9pArXzfBsGvfRFgUQ= > > =HZJJ > > -----END PGP SIGNATURE----- > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"