Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 10:10:58 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, r00t_0101@yahoo.com
Subject:   Re: BSD/Linux slices like Solaris' Solstice DiskSuite
Message-ID:  <200610200810.k9K8AwBM063342@lurza.secnetix.de>
In-Reply-To: <20061019181623.34048.qmail@web32702.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
r00t_0101 <r00t_0101@yahoo.com> wrote:
 > Does anyone know how to create a true slice on a BSD/Linux node.
 > I know that Solaris uses Solstice DiskSuite or some type of volume
 > management where you are able to reboot to a particular partition
 > through command-line instead of manual reboot. So whith that said, my
 > goal is to create multiple slices (FreeBSD, Linux 6.x, Linux 7.x, etc
 > ...) where I could ssh into a node to be able to reboot into another
 > partition based on my work environment. This would be useful due to
 > working remotely with different environments.

I'm not sure I understand your question correctly.  Use the
fdisk(8) utility to create slices on FreeBSD (you can also
use sysinstall(8) if you prefer a gaily colored interface).

To change the active slice to, say, the third one, use the
command "fdisk -a 3 /dev/yourdisk".  That will request for
confirmation interactively.  To do it non-interactively
(e.g. in a script), use "echo a 3 | fdisk -f - /dev/...".

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"A language that doesn't have everything is actually easier
to program in than some that do."
        -- Dennis M. Ritchie



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