LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-30-2007, 10:54 AM   #1
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Rep: Reputation: 31
mounting a netBSD partition from debian sarge?


Hello all!

Hope my questions is not OT...
I'm trying to mount a netBSD partition from a Debian (3.1 sarge). In that box I have dual boot Debian / netBSD, but I need to mount the BSD partition (which for me is hdb1) from Linux. Also I need to mount a CF whith BSD filesystem because I'm starting to install netBSD hpcmips in an old handheld device.

So, I'm trying the following from debian in order to mount the HD partition:

mount -t ufs -o ufstype=44bsd /dev/hdb1 /mnt/hdb1

and then results:

mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try

dmesg says the following:

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

If I'not wrong the kernel version does not supports read/write for ufs filesystem...

Does anybody knows where I can start some research on this? There would be any module or patch to kernel in order to support UFS?

Thanks in advance,
Matías
 
Old 03-31-2007, 04:04 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You might need to recompile your kernel, and add support for it.

Have you tried mount with "-t auto" instead os specifying the file system type?

--Ian
 
Old 04-01-2007, 03:59 PM   #3
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Ian,

Thanks for your advice.
As long as I needed to mount a CF device with a UFS filesystem in order to install net-bsd in a handheld device I finally used the faster solution I could imagine: I use d a net-BSD live CD and copy the stuff I needed from it. It worked.
I understand that It would be necessary to recompile the kernel. As I'm quite new to linux (I started one year ago) soon I'll try my first customization to kernel.

Thanks you very much!
Matias
 
Old 04-02-2007, 01:38 AM   #4
xenes
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Rep: Reputation: 0
Appendix

mount -t ufs -o ufstype=44bsd /dev/hdb1 /mnt/hdb1

--> mount -t ufs -o ufstype=ufs2 /dev/hdb1 /mnt/hdb1 -r

Now this type may do instead of above if when it doesnt

Last edited by xenes; 04-02-2007 at 01:51 AM.
 
  


Reply



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
mounting a netBSD partition from linux? matiasar *BSD 1 03-30-2007 12:43 PM
Swap partition not available/on on Debian sarge JoeneB Linux - General 5 01-26-2006 04:46 AM
Help mounting firewire hard drives in debian sarge touser Linux - Hardware 1 05-07-2005 03:26 PM
USB MP3 Player not mounting on debian sarge PEACEYALL Linux - Newbie 6 03-29-2005 07:11 AM
can someone help me how to mount a NETBSD partition? i tried but it says.. kublador Linux - Software 1 09-21-2003 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration