Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 10:45:54 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Adding more swap for FreeBSD 10
Message-ID:  <alpine.BSF.2.11.1412291042580.77379@wonkity.com>
In-Reply-To: <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com>
References:  <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Dec 2014, Odhiambo Washington wrote:

> My FreeBSD system is crashing so much for lack of swap.
>
> I used BSD labels instead of GPT and I had it a little rough creating my
> slices and this resulted in me not creating the swap partition.
>
> Now, if I run 'bsdinstall partedit', I see that it is possible to create a
> partition of 5.8GB at the end of my disks. However, the gui from bsdinstall
> wouldn't let me commit my changes on the already live disks.
>
> Is there a command line way of achieving the above with bsdinstall without
> destroying a disk?
>
> I am hoping that there is something like 'bsdinstall scriptedpart .....'

Use gpart(8) rather than bsdinstall.  With MBR and bsdlabel, everything 
is more difficult than with GPT, but it still can be done.  Please show 
the output of 'gpart show'.



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