From owner-freebsd-hackers Sun Jun 24 15: 6:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (law2-f5.hotmail.com [216.32.181.5]) by hub.freebsd.org (Postfix) with ESMTP id B228737B406 for ; Sun, 24 Jun 2001 15:06:20 -0700 (PDT) (envelope-from wgshi@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 24 Jun 2001 15:06:20 -0700 Received: from 129.128.4.121 by lw2fd.hotmail.msn.com with HTTP; Sun, 24 Jun 2001 22:06:20 GMT X-Originating-IP: [129.128.4.121] From: "Weiguang Shi" To: freebsd-hackers@freebsd.org Subject: help on mounting linux partition Date: Sun, 24 Jun 2001 22:06:20 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Jun 2001 22:06:20.0490 (UTC) FILETIME=[E6295AA0:01C0FCF9] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've sent this to freebsd-questions but no luck yet. I am using freebsd 4.0. and failed to mount a Linux partition on the second hard disk. Could you please shed some light? Thanks very much Weiguang ================================================================== bash-2.04# fdisk /dev/ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=1653 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1653 heads=255 sectors/track=63 (16065 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,(Linux filesystem) start 63, size 8225217 (4016 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 511/ sector 63/ head 254 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: bash-2.04# /bin/ls /dev/ad1* /dev/ad1 /dev/ad1c /dev/ad1f /dev/ad1s1 /dev/ad1s4 /dev/ad1a /dev/ad1d /dev/ad1g /dev/ad1s2 /dev/ad1b /dev/ad1e /dev/ad1h /dev/ad1s3 bash-2.04# mount -t ext2fs /dev/ad1s1 /mnt/work ext2fs: /dev/ad1s1: Invalid argument bash-2.04# uname -a FreeBSD newby-nfr.cs.ualberta.ca 4.0-RELEASE FreeBSD 4.0-RELEASE #1: Tue May i386 unknown _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message