LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-27-2004, 05:43 PM   #1
catch.yossarian
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD
Posts: 6

Rep: Reputation: 0
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.
 
Old 08-27-2004, 07:08 PM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
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.
 
Old 08-27-2004, 07:38 PM   #3
catch.yossarian
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 08-27-2004, 08:22 PM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

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


Reply


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
mount freeBSD partitions under linux cccc Linux - General 1 08-07-2005 03:47 PM
freeBSD install - fdisk not showing partitions? a2ps *BSD 2 06-26-2005 11:02 AM
Creating ufs (freebsd) Partitions ruleman *BSD 4 05-13-2005 10:14 AM
Mounting FreeBSD partitions inside fstab damien Linux - General 1 02-04-2004 09:32 PM
Partitions in FreeBSD Slack_Master *BSD 7 02-21-2003 05:13 PM


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

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