From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 09:30:14 2003 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 69A4037B401 for ; Mon, 28 Apr 2003 09:30:14 -0700 (PDT) Received: from tartarus.telenet-ops.be (tartarus.telenet-ops.be [195.130.132.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C8043F85 for ; Mon, 28 Apr 2003 09:30:09 -0700 (PDT) (envelope-from n.b@myrealbox.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by tartarus.telenet-ops.be (Postfix) with SMTP id 326C5DBA86 for ; Mon, 28 Apr 2003 18:30:08 +0200 (CEST) Received: from cronos.home.vsb (d515230CA.kabel.telenet.be [81.82.48.202]) by tartarus.telenet-ops.be (Postfix) with ESMTP id 0CCB2DBA80 for ; Mon, 28 Apr 2003 18:30:08 +0200 (CEST) From: Guy Van Sanden To: freebsd-questions@freebsd.org Content-Type: text/plain Organization: Message-Id: <1051547407.8005.0.camel@cronos.home.vsb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4-1tex Date: 28 Apr 2003 18:30:07 +0200 Content-Transfer-Encoding: 7bit Subject: Bootmanager & move FreeBSD between disks 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: Mon, 28 Apr 2003 16:30:14 -0000 Hello I need some help to get something done in FreeBSD that I know how to do in Linux, but I miss some specifics in FreeBSD. I have two 40 GB disks in my home-server. One disk contains all filesystems (root and data), the other is free at the moment (it is intended to be a backup/mirror disk). Ath the moment, I have two problems on that disk: 1. After a BIOS upgrade my disk geometry (in the BIOS) changed, which gives me warnings in FreeBSD (with disklabel) 2. My root filesystem is too small (154 MB, 50% used). What I want to do is: 1. Boot the system from removable media (LiveCD?) 2. Copy all partitions from primary disk to backup disk (including the root filesystem) - I think using tar 3. Repartition the primary disk with the correct geometry and a larger root partition (300 MB should do it). 4. Copy the root and all data back to the primary disk (again with tar) 5. I don't have any idea how to do this, but I need to put the Bootmanager back on the primary disk, using the new disk layout. I would appreciate any suggestions/recommendations and any help on re-installing the bootmanager. My configuration: FreeBSD 5.0 Digital PC 3500 (Pentium II 333) 256 MB RAM 2x40GB IDE Harddisks. Thanks Guy