From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 02:07:19 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1940F16A4CE for ; Fri, 9 Apr 2004 02:07:19 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C51E143D66 for ; Fri, 9 Apr 2004 02:07:17 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i39977xZ034027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Apr 2004 10:07:08 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i399778P034026; Fri, 9 Apr 2004 10:07:07 +0100 (BST) (envelope-from matthew) Date: Fri, 9 Apr 2004 10:07:07 +0100 From: Matthew Seaman To: Tadimeti Keshav Message-ID: <20040409090707.GA33753@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Tadimeti Keshav , freebsd-questions@freebsd.org References: <20040408225335.2925.qmail@web25010.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20040408225335.2925.qmail@web25010.mail.ukl.yahoo.com> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: can I shrink an existing slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 09:07:19 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 08, 2004 at 11:53:35PM +0100, Tadimeti Keshav wrote: > I know this might not be possible; but can I shrink a > freeBSD slice to make room for linux? Not easily. You have to backup the data, change the slicing using fdisk(8), rebuild the FreeBSD partitions using disklabel(8) or bsdlabel(8), create new filesystems using newfs(8) and then restore all of your data from the backup. As you'll presumably be wiping out the OS installation you usually boot from in the course of that, you'll need a bootable CD Rom or somesuch to work from. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdme7dtESqEQa7a0RAqJkAJ4sfyDYBpsARQKigwPVj0ePxtUBPQCgnM7R Z9oNALpzUdYMDNFWW5g/N84= =c3pl -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--