Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-16-2005, 11:24 PM   #1
LQ Newbie
Registered: Jan 2004
Location: Mexico city
Distribution: FreeBSD/Gentoo
Posts: 9

Rep: Reputation: 0
Can't mount ufs filesystems

Hi! I'm having some trouble mounting my FreeBSD partitions under Linux (2.4.26/gentoo 2004.3). Whenever I try, i get:
# mount -t ufs -o ro,ufstype=44bsd /dev/hdb7 /freebsd
mount: wrong fs type, bad option, bad superblock on /dev/hdb7,
       or too many mounted file systems
hdb7 holds a valid UFS filesystem for FreeBSD 5.3 -- but i tried them all just to make sure i wasn't trying to mount the swap partition. I've enabled UFS read support as a module (and loaded it, but i got the same message before that). I have yet to try it with built-in, read-write ufs support, but i'm sick of so much rebooting already :P I'll let ya know if that works.

By the way, my partition table is something like this:
hdb1: windows
hdb2: linux extended < hdb5 hdb6 >
hdb3: linux swap
hdb4: freebsd extended < hdb7..11 >

Anyone else had such trouble?
Old 04-17-2005, 12:35 AM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
check whether that module is really loaded by

cat /proc/filesystems

Old 05-04-2005, 01:34 PM   #3
LQ Newbie
Registered: Jan 2004
Location: Mexico city
Distribution: FreeBSD/Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
I read the kernel docs and found that I had to use -o ufstype=ufs2 for FreeBSD 5.x filesystems; ufstype=44bsd is only for FreeBSD 4.x and earlier. It's not mentioned in the man page for mount, though. Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot mount FreeBSD UFS from linux bulliver *BSD 8 09-08-2008 05:05 PM
HowTo mount all Solaris (sun) ufs slices under Linux? DrLou Solaris / OpenSolaris 1 11-17-2004 12:36 PM
Cant mount UFS in Solaris but can in Linux sstallion Linux - Newbie 1 10-28-2004 08:47 AM
Filesystems don't mount after instalation mullog *BSD 8 07-18-2004 05:57 PM
Mount UFS HD In Linux TechnoGecko Linux - General 2 04-29-2004 09:01 PM

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration