From owner-freebsd-questions@FreeBSD.ORG Tue Nov 28 09:55:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67E9516A503 for ; Tue, 28 Nov 2006 09:55:17 +0000 (UTC) (envelope-from amitjoshi86@gmail.com) Received: from nz-out-0102.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1558B43CA2 for ; Tue, 28 Nov 2006 09:54:56 +0000 (GMT) (envelope-from amitjoshi86@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so782875nzh for ; Tue, 28 Nov 2006 01:54:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=JGlYowVTWeWAXaLPnkZkU8pyy22bVShg3KlW/iJmCMdRz0mstN/EuWwUYbdAlf9+Y3xjQSM7AqrJaQKz/1cYDlFV4Hl4zSxQxsVviPx3rOt3g3YZO39cifsGdS3CHHcU5UanQTmQLRnMGez6XhK0O2tSEwSWUBJ9MIsAU4JNh9Q= Received: by 10.65.59.20 with SMTP id m20mr441391qbk.1164707697671; Tue, 28 Nov 2006 01:54:57 -0800 (PST) Received: from debian.debian ( [210.214.13.194]) by mx.google.com with ESMTP id q15sm24549342qbq.2006.11.28.01.54.55; Tue, 28 Nov 2006 01:54:56 -0800 (PST) From: Amit Joshi To: freebsd-questions@freebsd.org Date: Tue, 28 Nov 2006 15:25:12 +0530 User-Agent: KMail/1.9.5 References: <000001c71269$932af300$a87086d9@COMPAQ> In-Reply-To: <000001c71269$932af300$a87086d9@COMPAQ> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611281525.12468.amitjoshi86@gmail.com> Subject: Re: Mounting Freebsd partition on Linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 09:55:17 -0000 On Monday 27 November 2006 04:48, Keith McKenzie wrote: > ------------------------------ > (Vol 157, issue 18, msg 11) > Date: Sun, 26 Nov 2006 23:38:17 +0530 > From: Amit Joshi > Subject: Mounting Freebsd partition on Linux > > I am trying to mount the FreeBSD Partition on my Debian Testing system with > the 2.6.17-2 kernel. > I tried searching the config file and did not find any reference to UFS or > U2FS in that file. So maybe it is not supported by my kernel? > > Anyways, keeping my fingers crossed. Can anybody tell me how do I go about > mounting the partition? > > I tried searching about the same on the internet, but the documentation on > tldp.org seemed to be pretty ancient. They talked about the 2.1 kernels. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Hi > > mount -t ufs -o ufstype=ufs2 /dev/hda? /mnt > > (mount -t ufs -o ufstype=44bsd /dev/hda? /mnt) About the question mark. Do you want me to type the command as it is, or is does the question mark indicate that everything under the primary partition will be mounted in /mnt? > > Works with 'R.I.P. 11-6' (Slackware based / 2.4 kernel) > It is compiled into the kernel on this distro. > > (There is probably a module option somewhere under Debian) > > HTH > Keith Yes. Thanks. I checked out the config file of my linux kernel and found that UFS is supported. Also, the issue was that I wasn't mounting it right or something. I was trying to mount the primary partition I installed FreeBSD on. But then, I was later told that I need to mount the partitions that are created inside this primary partition. (as in whatever that is called- slices or whatever). I installed FreeBSD on a Secondary Hard disk ..on Primary partition hdb1 (under Linux.) I guess it is called as something ad1s1 under FreeBSD. But then, I think that to mount the partition properly, I need to mount the ad1s1a, ad1s1b thing to get it right. -- Regards, Amit. http://copperskullcprogramming.blogspot.com