From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 20:43:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B267106566C for ; Thu, 16 Sep 2010 20:43:31 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 0BCE48FC14 for ; Thu, 16 Sep 2010 20:43:30 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id 4D53310EE05 for ; Thu, 16 Sep 2010 22:43:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKbWM5Y5NCn5 for ; Thu, 16 Sep 2010 22:43:47 +0200 (CEST) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 187F010EDFF for ; Thu, 16 Sep 2010 22:43:47 +0200 (CEST) Message-ID: <4C928165.40109@eskk.nu> Date: Thu, 16 Sep 2010 22:43:17 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Replacing harddrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2010 20:43:31 -0000 Hello list. My laptop has a 200Gb drive, dual booting W7 and Freebsd 8.0-release-p2. From dmesg ad4: 190782MB at ata2-master SATA300 I've now got a 500Gb drive that I want to install instead. Cloning the W7 has worked without problems. I starts when I replace the disk in the PC. I put the original drive 200Gb back and I have the new 500Gb drive in a ESATA docking station. Boot into Freebsd, this is in dmesg: ad8: FAILURE - SET_MULTI status=51 error=4 ad8: 476940MB at ata4-master SATA300 Does someone know what the failure is about? Next I do su and starts sysinstall. In fdisk I create a slice and prees Q for finish. Exit sysinstall and start it again. Create my mountpoints with disklabel. I copy the values from the 200Gb disk appart from home that I make bigger. FreeBSD Disklabel Editor Disk: ad8 Partition name: ad8s3 Free: 0 blocks (0MB) Part Mount Size Newfs Part Mount Size Newfs ---- ----- ---- ----- ---- ----- ---- ----- ad8s3a /mnt/newroot 1024MB * ad8s3b swap 4096MB SWAP ad8s3d /mnt/newtmp 2048MB * ad8s3e /mnt/newvar 4096MB * ad8s3f /mnt/newusr 20480MB * ad8s3g /mnt/newhome remaining free space approx 300Gb * I exit sysinstall and start it again and now the disk is layed out as you can see below. FreeBSD Disklabel Editor Disk: ad8 Partition name: ad8s4 Free: 0 blocks (0MB) Disk: ad8 Partition name: ad8s3 Free: 0 blocks (0MB) Part Mount Size Newfs Part Mount Size Newfs ---- ----- ---- ----- ---- ----- ---- ----- ad8s4d 30866MB * ad8s3a 1024MB * ad8s3b swap 4096MB SWAP ad8s3d 2048MB * ad8s3e 4096MB * ad8s3f 20480MB * ad8s3g 28125MB * I don't really understand this and would like some help to get it right. Thanks /Leslie