Jump to content

mount FreeBSD HDD


hirohitosan
 Share

Recommended Posts

Have you tried:
mount -t ufs -o ufstype=44bsd /dev/sdXX /mount_point

# mount -t ufs -o ufstype=44bsd /dev/sda2 /media/hd2/
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

and

# dmesg | tail
ufs was compiled with read-only support, can't be mounted as read-write

Link to comment
Share on other sites

well then try:
mount -t ufs -o ro,ufstype=44bsd /dev/sda2 /media/hd2

I have the same error mesage and

 dmesg | tail
[<c019c1ca>] ? sys_close+0x7a/0xc0
[<c0103e5b>] ? sysenter_do_call+0x12/0x2f
=======================
Code: 88 9b 06 00 00 8b 5d c8 8b 43 50 8b 80 a0 01 00 00 8b 50 1c 89 c8 c1 e0 04 f6 44 02 0c 02 74 1b 8b 47 24 31 f6 8b 04 88 8b 40 0c <8b> 80 a0 00 00 00 f6 40 30 01 0f 84 b2 01 00 00 8b 5d b8 8b 53 
EIP: [<f0adea83>] unionfs_file_revalidate+0x103/0x960 [unionfs] SS:ESP 0068:ddf7ff04
---[ end trace 358db023f6914268 ]---
ufs_read_super: bad magic number
ufs_read_super: bad magic number
ufs_read_super: bad magic number
ufs_read_super: bad magic number

Link to comment
Share on other sites

I think the problem is that BSD uses slices inside the normal DOS partitions, so /dev/sda2 probably contains more than one slice.

Do a:

dmesg|grep bsd

to find all slices

 

Also you might want to try ufstype=ufs2 instead of 44bsd

 

See also here:

http://www.linuxquestions.org/questions/bs...m-linux-191184/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...