Help with editing partition tables

Ruben de Groot mail25 at bzerk.org
Mon May 17 05:38:56 PDT 2004


On Mon, May 17, 2004 at 01:21:44PM +0200, platanthera typed:
> On Monday 17 May 2004 06:17, Phil Thomson wrote:
> > Hi all,
> >
> > I am a relative newbie to UNIX, going from being an ex-Windows user
> > to being an X Windows user! ;-) I recently got FreeBSD installed on
> > an older PC with a 3 GB drive and a 5 GB drive (which has not yet
> > been mounted). The system is installed on the 3 GB drive, but my
> > current partition table is inadequate to my needs. Here is the output
> > of df -H:
> >
> > /dev/ad0s1a   260M   254M -15.3M   106%    /
> > devfs         1.0K   1.0K     0B   100%    /dev
> > /dev/ad0s1f   3.4G   1.6G   1.6G    51%    /usr
> > /dev/ad0s1e   260M    14M   225M     6%    /var
> 
> hi Phil,
> you could (and definitely should) have a separate slice for /tmp and 
> eventually another one for /home too. 
> If you decide to reinstall (which is the easiest approach if there's 
> 'not much too lose yet' on your system) just hit 'a' in the disklabel 
> editor of sysinstall(8). This will create separate slices for /, 
> swap, /var, /tmp and /usr, and will result in a reasonable disk layout 
> for a desktop system.
> If you do not want to reinstall and have free space left on your other 
> hard disk, you can create a bsd partition there and one or more slices 
> inside this partition (250M should be enough for /tmp under 'normal' 
> circumstances). Then you can mount the new file systems under arbitrary 
> mount points, move the content of /tmp (and eventually /usr/home) over 
> and adjust /etc/fstab. Feel free to check back with the list if you 
> want to go this way and need more detailed advice.

When you say partition, you really mean slice and vice-versa.

Ruben


More information about the freebsd-questions mailing list