changing the postion of a partion in fdisk

Aryeh M. Friedman aryeh.friedman at gmail.com
Tue Jan 8 19:01:37 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jerry McAllister wrote:
> On Tue, Jan 08, 2008 at 05:08:15PM -0500, Aryeh M. Friedman wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Jerry McAllister 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)
>>> Well, you can use fdisk from the fixit shell to make your slice
>>> 2 (note the primary divisions are called 'slices' in FreeBSD)
>>> in to a FreeBSD type and then create your FreeBSD partitions in
>>> it and build FreeBSD filesystems there.
>> 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:
<UNUSED>
The data for partition 4 is:
<UNUSED>

2

- --
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-----



More information about the freebsd-questions mailing list