How to mount a BSD partition under Linux?

by Administrator 19. May 2009 19:48

Iam use ubuntu 9.04. First, you need to find out what the name of your BSD partition is under Linux. This will show what Linux thinks is a BSD (UFS2) partition:

root@ubuntu:~# dmesg | grep bsd
[4294675.513000]  hdc2: <bsd: hdc9 hdc10 >
[4294675.530000] hdc3: <bsd: hdc11 hdc12 >

Then, create a mount point for BSD:

root@ubuntu:~# mkdir /media/bsd

And you just have to try mounting the first partition, if this doesn't work, try the 2nd one, and so forth until you find the PC-BSD partition:

root@ubuntu:~# mkdir /media/bsd
root@ubuntu:~# mount -r -t ufs -o ufstype=ufs2 /dev/hdc9 /media/bsdroot@ubuntu:~#

This is it, you now have access to your PC-BSD partition on Linux :)

root@ubuntu:~# ls /media/bsd
 

Tags: ,

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About the author

Each morning when I open my eyes I say to myself: I, not events, have the power to make me happy or unhappy today. I can choose which it shall be. Yesterday is dead, tomorrow hasn’t arrived yet. I have just one day, today, and I’m going to be happy in it

Month List

Page List