From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 13:32:11 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 C6BAB37B401 for ; Sat, 2 Aug 2003 13:32:11 -0700 (PDT) Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155B943FBD for ; Sat, 2 Aug 2003 13:32:11 -0700 (PDT) (envelope-from daan@daang.ath.cx) Received: from [213.51.128.133] (port=58317 helo=smtp2.home.nl) by smtpq1.home.nl with esmtp (Exim 4.20) id 19j32v-0001c7-RX for freebsd-questions@freebsd.org; Sat, 02 Aug 2003 22:32:09 +0200 Received: from cc294732-a.groni1.gr.home.nl ([217.120.213.171]:49458 helo=192.168.1.100) by smtp2.home.nl with esmtp (Exim 4.20) id 19j32v-0003lk-03 for freebsd-questions@freebsd.org; Sat, 02 Aug 2003 22:32:09 +0200 From: Daan Goedkoop To: freebsd-questions@freebsd.org Date: Sat, 2 Aug 2003 22:35:42 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308022235.42665.daan@daang.ath.cx> X-MailScanner-Information: Please contact support@home.nl for more information X-MailScanner: Found to be clean Subject: Mount NetBSD partition 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: Sat, 02 Aug 2003 20:32:12 -0000 Hello, On my IDE disk, I have two disk labels, one of FreeBSD and one from NetBSD. Now that I want to change to NetBSD, I would like to copy my data from the NetBSD /home partition to FreeBSD. However, only a device /dev/ad1s3 exists, with which I can only mount the / of NetBSD. Does anyone know what I am doing wrong? If I look at the fdisk output, can it possibly be something like that NetBSD decided to start it's slices at 0-based locations while FreeBSD expects them at 1-based ones? Thanks in advance, Daan. The output of fdisk: ******* Working on device ad1 ******* parameters extracted from in-core disklabel are: cylinders=65531 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=65531 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 6297417 (3074 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 391/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 53110890, size 12932325 (6314 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 169 (0xa9),(NetBSD) start 6329610, size 26700030 (13037 Meg), flag 0 beg: cyl 394/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 5 (0x05),(Extended DOS) start 33029640, size 20081250 (9805 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63