*BSDThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.