From owner-freebsd-questions Sun Apr 7 16:43:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id BBC0A37B405 for ; Sun, 7 Apr 2002 16:43:37 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 2AA4C816D6; Mon, 8 Apr 2002 09:12:25 +0930 (CST) Date: Mon, 8 Apr 2002 09:09:24 +0930 From: Greg 'groggy' Lehey To: joe Cc: freebsd-questions@freebsd.org Subject: Mounting Microsoft and Linux file systems (was: Migrating from Mandrake to FreeBSD 4.4) Message-ID: <20020408090924.B514@wantadilla.lemis.com> References: <20020407144417.5B7FC37B417@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407144417.5B7FC37B417@hub.freebsd.org> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 On Saturday, 6 April 2002 at 5:44:15 -0800, joe wrote: > I've migrated my server from mandrake 8.1 to FreeBSD. (Migrating may a > slightly strong description..._starting over with_ is more apt description) > > Two physical disks exist ad0, ad1. I installed the system, on ad0, and was > up and running with the system within two hours. For the last two days I have > been pondering (...reading documentation, man pages) trying to figure out how > to mount the second set of partitions as file systems without wacking the > data on these drives. I am a complete loss as to how to proceed. > > Here's the output from fdisk ad1 > > The data for partition 1 is: > sysid 5,(Extended DOS) > start 63, size 15807897 (7718 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 983/ head 254/ sector 63 > The data for partition 2 is: > sysid 131,(Linux filesystem) > start 15807960, size 24065370 (11750 Meg), flag 0 > beg: cyl 984/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 Well, first you need mount points, of course. I'll assume /C: and /linux. # mount -t msdosfs /dev/ad1s1 /C: # mount -t ext2fs /dev/ad1s2 /linux Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message