Date: Tue, 25 Dec 2001 16:11:39 +0000 From: Tiarnan O Corrain <ocorrain@esatclear.ie> To: freebsd-questions@freebsd.org Subject: Linux -> BSD drive addresses Message-ID: <20011225161139.A562@wintermute>
next in thread | raw e-mail | index | archive | help
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: <UNUSED> The data for partition 4 is: <UNUSED> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011225161139.A562>