[CentOS] mount UFS partition on CentOS 5.

Tru Huynh tru at centos.org
Wed Oct 1 09:34:21 UTC 2008


On Tue, Sep 30, 2008 at 08:25:09PM -0400, Daniel Bruno wrote:
> Hi Tru,

Hi Daniel,

please don't top post and trimm your replies in this mailing list (even if you
use gmail ;) )
> 
> I installed rpmforge, dkms and dmks-ufs, how you can see below:
> 
...
> but I still can't mount the partition:
> 
> # mount -t ufs -o ro,ufstype=44bsd /dev/hdb1 /part
> mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>        missing codepage or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> in the dmes, show this error:
> 
> ufs_read_super: bad magic number
That probably means that your are targetting the wrong partition/slice
of your BSD partition.

I can't guess your setup but you have probably a primary partition
on the slave IDE drive and some BSD slices inside (a/b/c/...)
hdb1 is the whole partition and probably not your BSD slice you
want to mount... Depending on the other primary/extended partitions
on hdb, you might need to try hdb{2...15}.

-> sfdisk -d /dev/hdb
-> fdisk -l /dev/hdb
-> grep hdb /var/log/messages 

Cheers

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20081001/93bbe15e/attachment.bin


More information about the CentOS mailing list