Moving paritions around

Jerry McAllister jerrymc at
Fri Mar 30 16:58:34 UTC 2007

On Fri, Mar 30, 2007 at 12:41:34PM -0400, John L wrote:

> >>Boot from a CD, change the partition table to make the FreeBSD partition
> >>start right after the Windows partition
> >
> >Well, sort of maybe.    Do you mean the partition table or slice table?
> It's the think that fdisk manages, which I guess in BSD-ese is the slice 
> table.
> >First, I am guessing that you used some utility to officially shrink
> >the slice (windows primary partition) where MS-Win is installed.
> Right.
> >So, delete the existing FreeBSD slice with fdisk (or in sysinstall)
> >and then create a new one that encompasses all the left over space.
> OK.
> >>Use dd to move down the existing FreeBSD partition data so it starts
> >>at the beginning of the new partition
> >
> >No, this is no good.   You cannot reuse the old partition data on the
> >new slice because the new slice is a different size.
> I know it's a different size.  I figured I'd go in with bsdlabel and fix 
> up the partitition table after I dd'ed it up, then use growfs.

Wrong tools for the cirsumstances.
If it would work, it would still be the harder way.


> R's,
> John

More information about the freebsd-questions mailing list