Date: Tue, 28 Nov 2006 15:25:12 +0530 From: Amit Joshi <amitjoshi86@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Mounting Freebsd partition on Linux Message-ID: <200611281525.12468.amitjoshi86@gmail.com> In-Reply-To: <000001c71269$932af300$a87086d9@COMPAQ> References: <000001c71269$932af300$a87086d9@COMPAQ>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <amitjoshi86@gmail.com> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611281525.12468.amitjoshi86>