Re: Moving paritions around



John Levine wrote:
I set up my laptop to dual boot between W1nd@ws and FreeBSD. When I
first set it up I made the partitions the same size, but since then I
found I do a lot more with FreeBSD so I'd rather give it more space.

So the last time I had to reinstall Windows from scratch, I made its
partition smaller. Now there's a big chunk of free space between
the two partitions. Should I expect the following to work?

(back everything up, duh)

Boot from a CD, change the partition table to make the FreeBSD partition
start right after the Windows partition

Use dd to move down the existing FreeBSD partition data so it starts
at the beginning of the new partition

Use growfs to give the extra space to my /usr filesystem, which is at
the end of the existing partition

Or should I just back it all up to a USB disk, reformat, and restore it,
which will take considerably longer?

R's,
John

It's like a sorting programming problem. In order to move objects of
similar sizes between 2 locations, you need 3 locations total : 1
destination, 1 target, and 1 temporary.

Similar ideologies apply here. You need to a) dump(3) the data from your
FreeBSD disk into a safe spot, and b) copy over all of your Windows
files into (another?) safe spot, then, c) install XP over from scratch
with the new scheme, and d) boot using a freebsd snapshot iso, copy all
of your files over again by "un-dump(3)'ing" them, and modify /etc/fstab
accordingly.

Cheers,
-Garrett
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Cannot boot Windows after installing FreeBSD
    ... Only FreeBSD? ... > Dos wasn't the Windows partition, ... I think this was my Windows partion, but it could not boot at all ... it was selecting a LBA geometry which I noted was ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD Coexisting with Windows
    ... >> FreeBSD 5.3 on another HDD, all working well and without problems. ... It's not just installing Windows that can do it; ... I've taken to letting windows have the first partition of disk 0. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD on a PC with Windows
    ... like to know if FreeBSD will install in a way that will not kill Windows on ... You will need to "shrink" your windows partition to make room for FreeBSD to create it's slice. ...
    (freebsd-questions)
  • Re: More than 2 partions on the same HD with Windows and FBSD
    ... under windows (and FreeBSD, Linux etc) - Non windows partitions will be ... Partition Magic tries to dumb down the already simple idea of drive ... may contain logical drives D: etc. and possibly unused extended space. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: 5.2.1 hangs solved and now find a way to split the ntfs hard drive.
    ... > You'll want to defrag the drive under windows first. ... > and get a visual display of where Windows has all its files. ... I used it to partition my IBM A30 laptop ... The ntftresize then took about 10 minutes and the FReeBSD install took ...
    (freebsd-questions)