From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 20:36:04 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04521C40 for ; Mon, 29 Dec 2014 20:36:04 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7823864BE0 for ; Mon, 29 Dec 2014 20:36:03 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id z12so3581792lbi.31 for ; Mon, 29 Dec 2014 12:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cWfuJ+VXqSIU2cFHP57PUhJVQ7+TS1r23T41rKLydsA=; b=e5AaDnW6eLVmihk55NHx5FwLh64GQUcNtgJ52cc6Ejn6OaWMLN0mfzfGfIyLLyYzfU dth3+XQsFcr1VWO76J0uX9owaHKTmTIWs/vQgUvKmwpXyINUK9JeapDO0Z6lXn5EgGEO +hsbTMCMWuQFGSItCLwIIYST03UptGTKWH6jO3sbji8dYrTGUksKEzJfD/qTkzshqu7V /GGscc0UdXNa644Q4JakZMU44cPvzcJ0km7fn2Xk40KekgCPy+GRr5hEXRFgQg8sX06h asmQVpOkfvw74j2egIYVXKLCwdxM6i3q8zZZ6FmmJXnGlSXkSJ4aQ0ICkvja72SFlXeB MpGQ== X-Received: by 10.112.148.73 with SMTP id tq9mr58711941lbb.37.1419885361447; Mon, 29 Dec 2014 12:36:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.35.199 with HTTP; Mon, 29 Dec 2014 12:35:21 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Mon, 29 Dec 2014 23:35:21 +0300 Message-ID: Subject: Re: Adding more swap for FreeBSD 10 To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2014 20:36:04 -0000 On 29 December 2014 at 20:45, Warren Block 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."