LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mounting FreeBSD partitions (https://www.linuxquestions.org/questions/linux-general-1/mounting-freebsd-partitions-223257/)

catch.yossarian 08-27-2004 05:43 PM

mounting FreeBSD partitions
 
Hey guys, I tried searching for this and found nothing relevant to what I was trying to do.

My PC is setup so that I dual boot Slackware Linux 2.4 (soon to upgrade to 2.6.8), and FreeBSD 5.2.1.

I was just wondering how I could mount, from my Linux box, into a FreeBSD partition and navigate, create, edit, and/or delete files as if I was logged in, almost.

mounts are:

hda1 - FreeBSD
hdb1 - Linux Swap (Primary)
hdb5 - Linux (Logical)


Thanks, in advance.

J_Szucs 08-27-2004 07:08 PM

I think you could do it the same way as you would mount a Linux partition, with the only exception that FreeBSD uses ufs file system by default.

So, you do it as follows:
mount -t ufs /dev/hdb1 /path/to/mountpoint

However, I never did it myself, so I may be wrong.

catch.yossarian 08-27-2004 07:38 PM

When mounting your way I get the error:
Code:

[root:~]$ mount -t ufs /dev/hda1 /mnt/bsd/
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
          or too many mounted file systems

Anybody know what's up?

J_Szucs 08-27-2004 08:22 PM

A similar thread at this forum:
http://www.linuxquestions.org/questi...04/06/4/191184


All times are GMT -5. The time now is 05:15 AM.