can I shrink an existing slice

Matthew Seaman m.seaman at
Fri Apr 9 02:07:19 PDT 2004

On Thu, Apr 08, 2004 at 11:53:35PM +0100, Tadimeti Keshav wrote:

> I know this might not be possible; but can I shrink a
> freeBSD slice to make room for linux?

Not easily.  You have to backup the data, change the slicing using
fdisk(8), rebuild the FreeBSD partitions using disklabel(8) or
bsdlabel(8), create new filesystems using newfs(8) and then restore
all of your data from the backup.  As you'll presumably be wiping out
the OS installation you usually boot from in the course of that,
you'll need a bootable CD Rom or somesuch to work from.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list