*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-05-2002, 02:58 PM
|
#1
|
|
Member
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219
Rep:
|
mounting a UFS partition in linux
hello guys
i have a question about mounting the freebsd partition in linux.
i compiled almost 20 kernels for it.
with ufs read-write support and in advanced partition support section i checked the option of support for freebsd partitions.
but only 2.2. kernels were able to mount it but only as read-only.
and with this command
mount -t ufs -o ufstype=44bsd /dev/hdxx /xxxxx
 which is a tricky one.
but 2.4 kernels are even not able to mount it read-only.
any suggestions?
and a last question that can we install freebsd on multipe partitions like a swap on /dev/ad0s1
and a "/ "on /dev/ad0s2 not like all in one extended one.
like ad0s1a ,ad0s1b.
thanks a lot in advance and dont mind i know this a 50% linux question. 
|
|
|
|
11-05-2002, 03:18 PM
|
#2
|
|
Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
I'de assume you can install 2 FreeBSDs, I had one machine with Open and Free on seperate partitions at one point... although offhand I think they may also have been seperate drives as well, its been a while.
I just looked at UFS under a 2.4.19 "make menuconfig", and as long as you remember to check off "prompt for incomplete or experimental kernel drivers" at the top, UFS read and write should appear as kernel options under "File Systems" further down.
Cheers,
Finegan
|
|
|
|
11-05-2002, 03:40 PM
|
#3
|
|
Member
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219
Original Poster
Rep:
|
i have compiled with support of read-write.
not only the support of read-only as module but aslo the read-write support as built-in function of kernel.
but i think there is a tricky way to mount it with any special option.
any body knows? or any body did it without any option?
|
|
|
|
01-24-2006, 06:11 AM
|
#4
|
|
LQ Newbie
Registered: Oct 2005
Posts: 5
Rep:
|
Enabling UFS write access in Linux
If you have already mounted the UFS partition (mount -w -t ufs -o ufstype=sun /dev/hda7 /sol10) but you cannot write to it (and you have enabled write access in the kernel), you need to remount it:
mount -t ufs -o remount,rw /dev/hda7 /sol10
This should enable write access to the UFS partition. I found this here:
lists.debian.org/debian-sparc/2003/12/msg00066.html
|
|
|
|
01-29-2006, 03:22 PM
|
#5
|
|
Member
Registered: Jun 2005
Posts: 542
Rep:
|
OK, here are my spell lines:
Code:
mount -w -t ufs -o ufstype=ufs2,nodev,nosuid /mnt/FreeBSD /dev/hda7
/etc/fstab:
Code:
/dev/hda7 /mnt/FreeBSD ufs auto,rw,ufstype=ufs2,nodev,nosuid 0 0
|
|
|
|
02-22-2006, 07:56 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2005
Posts: 5
Rep:
|
However, enabling write access can be DANGEROUS (actually it says so in the respective kernel module). I had serious problems with it - it destroyed one Solaris slice, so I had to re-install Solaris. Actually the Linux kernel (2.6.15, on Slackware 10.1) blocked completely while I was trying to write to the Solaris partition - I had to reboot the PC manually.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|