LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to mount freebsd partition from Debian GNU./Linux. (etch-4.0) (https://www.linuxquestions.org/questions/debian-26/how-to-mount-freebsd-partition-from-debian-gnu-linux-etch-4-0-a-583605/)

foolagain 09-10-2007 08:44 AM

how to mount freebsd partition from Debian GNU./Linux. (etch-4.0)
 
Device Boot Start End Blocks Id System
/dev/sda1 1 1912 15358108+ a5 FreeBSD

1.freebsd is installed on /dev/sda1

2.ufs support is activated with kernel 2.6.18-5-686 on Debian etch4.0.

i tried this
mount -t ufs -o ufstype=44bsd /dev/sda1 /bsd
and it gives an error like this
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

i have tried different ufstype=$options
still getting the same error.

what's the right way to do this?

Junior Hacker 09-11-2007 01:13 AM

Two things,
First, did you make a directory called /bsd?
Second, you're missing the "uid" part.
Go through this article and follow the "next message" link at the bottom.
I made this post as short and sweet as possible, I think someone wants to shut it down.

matland 05-03-2009 09:44 PM

i had this same problem
dmesg told me "ufs was compiled with read-only support, can't be mounted as read-write", so i add -r
same error again, but dmesg said "ufs_read_super: bad magic number" and well my gues is you schould try:
mount -r -t ufs -o ufstype=ufs2 /dev/sda1 /bsd
if not do what it tells ya and run dmesg|tail, and in case the output is not useful to you post it here

fbsduser 10-16-2009 06:53 PM

You can use dmesg | grep "bsd" to see what block device numbers were assigned to the partitions in the FreeBSD slice (sda1 in your case),
dmesg | grep "bsd" should show something like this
Code:

[    3.348126]  sda2: <bsd: sda5 sda6 >
Among the first lines of output.

j1alu 10-16-2009 08:38 PM

i dont know if its a good how-to or not (as i dont understand), but you might check if its good for you:
http://forums.debian.net/viewtopic.p...=27227&start=0
the mounting thing is mentioned and a lot of other stuff too.


All times are GMT -5. The time now is 08:48 PM.