LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-10-2007, 08:44 AM   #1
foolagain
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Question how to mount freebsd partition from Debian GNU./Linux. (etch-4.0)


Device Boot Start End Blocks Id System
/dev/sda1 1 1912 15358108+ a5 FreeBSD

1.freebsd is installed on /dev/sda1

2.ufs support is activated with kernel 2.6.18-5-686 on Debian etch4.0.

i tried this
mount -t ufs -o ufstype=44bsd /dev/sda1 /bsd
and it gives an error like this
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

i have tried different ufstype=$options
still getting the same error.

what's the right way to do this?
 
Old 09-11-2007, 01:13 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Two things,
First, did you make a directory called /bsd?
Second, you're missing the "uid" part.
Go through this article and follow the "next message" link at the bottom.
I made this post as short and sweet as possible, I think someone wants to shut it down.
 
Old 05-03-2009, 09:44 PM   #3
matland
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
i had this same problem
dmesg told me "ufs was compiled with read-only support, can't be mounted as read-write", so i add -r
same error again, but dmesg said "ufs_read_super: bad magic number" and well my gues is you schould try:
mount -r -t ufs -o ufstype=ufs2 /dev/sda1 /bsd
if not do what it tells ya and run dmesg|tail, and in case the output is not useful to you post it here
 
Old 10-16-2009, 06:53 PM   #4
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 266

Rep: Reputation: 30
You can use dmesg | grep "bsd" to see what block device numbers were assigned to the partitions in the FreeBSD slice (sda1 in your case),
dmesg | grep "bsd" should show something like this
Code:
[    3.348126]  sda2: <bsd: sda5 sda6 >
Among the first lines of output.
 
Old 10-16-2009, 08:38 PM   #5
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
i dont know if its a good how-to or not (as i dont understand), but you might check if its good for you:
http://forums.debian.net/viewtopic.p...=27227&start=0
the mounting thing is mentioned and a lot of other stuff too.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to mount freebsd partition from Debian GNU.linux. foolagain Debian 2 09-10-2007 10:50 AM
PR: Debian GNU/Linux 4.0 [Etch] Released DragonSlayer48DX Linux - News 0 04-09-2007 04:07 PM
LXer: Debian GNU/Linux 4.0 Etch Released LXer Syndicated Linux News 0 04-08-2007 11:01 AM
LXer: NL: Debian GNU/Linux 4.0 RC1 (etch) LXer Syndicated Linux News 0 11-16-2006 06:54 AM
Mount Debian Partition from FreeBSD halfpower Debian 3 11-26-2005 08:13 PM


All times are GMT -5. The time now is 08:24 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