Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 23:35:21 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Adding more swap for FreeBSD 10
Message-ID:  <CAAdA2WP4f%2BR%2BKm0yr0_mncPE3h0YZO2CRnYfjFp%2BDsoH=JrTqg@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.11.1412291042580.77379@wonkity.com>
References:  <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com> <alpine.BSF.2.11.1412291042580.77379@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 December 2014 at 20:45, Warren Block <wblock@wonkity.com> wrote:

> 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'.
>


Hi Warren,

wash@mail:~$ gpart show ada0
=>                     0   976773168  ada0  BSD         (466G)
                         0   964689920     1  freebsd-ufs  (460G)
         964689920   12083248        - free -            (5.8G)




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WP4f%2BR%2BKm0yr0_mncPE3h0YZO2CRnYfjFp%2BDsoH=JrTqg>