From owner-freebsd-questions Fri Mar 29 13:48:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wonka.esatclear.ie (wonka.esatclear.ie [194.145.128.5]) by hub.freebsd.org (Postfix) with ESMTP id 1EF0C37B41A for ; Fri, 29 Mar 2002 13:48:10 -0800 (PST) Received: from wintermute (l-airlock088.esatclear.ie [194.165.165.88]) by wonka.esatclear.ie (8.9.3/8.9.3) with ESMTP id VAA10939 for ; Fri, 29 Mar 2002 21:48:02 GMT Received: by wintermute (Postfix, from userid 1001) id D8CDB36DBD6; Fri, 29 Mar 2002 21:11:50 +0000 (GMT) Date: Tue, 25 Dec 2001 16:11:39 +0000 From: Tiarnan O Corrain To: freebsd-questions@freebsd.org Subject: Linux -> BSD drive addresses Message-ID: <20011225161139.A562@wintermute> Mail-Followup-To: Tiarnan O Corrain , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22.1i Lines: 48 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all-- I recently switched from Linux to FreeBSD, and am puzzled by FreeBSD's drive addressing scheme. Basically I have a Linux partition on my second drive that contains all of my mp3s. It is the second partition on the disk. Here's what fdisk reports: wintermute# fdisk /dev/ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=2658 heads=240 sectors/track=63 (15120 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2658 heads=240 sectors/track=63 (15120 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 12,(DOS or Windows 95 with 32 bit FAT, LBA) start 257040, size 20487600 (10003 Meg), flag 0 beg: cyl 17/ head 0/ sector 1; end: cyl 1023/ head 239/ sector 63 The data for partition 2 is: sysid 131,(Linux filesystem) start 20744640, size 19444320 (9494 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 239/ sector 63 The data for partition 3 is: The data for partition 4 is: I can't seem to convert this information into a usable device name for FreeBSD. For example: wintermute# mount_ext2fs /dev/ad0s1 /mnt mount_ext2fs: vfsload(ext2fs): No such file or directory wintermute# mount_ext2fs /dev/ad0s2 /mnt mount_ext2fs: vfsload(ext2fs): No such file or directory Can anyone help me? Thanks Tiarnan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message