Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2010 17:49:01 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Leslie Jensen <leslie@eskk.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Adding slice on existing disk
Message-ID:  <20100301174901.95041084.freebsd@edvax.de>
In-Reply-To: <4B8B881C.1040008@eskk.nu>
References:  <4B8B881C.1040008@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 01 Mar 2010 10:25:48 +0100, Leslie Jensen <leslie@eskk.nu> wrote:
> On a dualboot system I've made some space available that I want to make 
> a freebsd slice of.
> [...]
> Any suggestions on how to solve this?

I would suggest to use sysinstall oder sade for this task,
this is because I'm lazy. :-)

In the slice editor, you create a slice covering the space
you made free, or, if neccessary, you delete obsolete slices
prior to creating a new one.

In the label editor, you select the new slice (e. g. ad4s4)
and create a partition covering the whole slice. You set
the options "UFS2+S Y" (which means to use UFS2 file system
plus soft updates, and "yes" to newfs, so the partition will
be formatted), and set a mountpoint that you have already
created (e. g. /data).

Finally you confirm the settings and write them to the disk.
This should work fine.

Of course, you can do the same using the command line tools,
in the same order:
	1. create new slice,
	2. create new partition inside slice,
	3. format the partition, and finally
	4. mount it.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100301174901.95041084.freebsd>