*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.
I installed OpenBSD(3.5 current) in a 20Gb slave disk through ftp(i have a windows system in the master disk) and the instalation gave me no problems, but as soon as i rebooted i noticied the system didn't mount any subpartitions(only the / was mounted).
I sucessfully mounted by hand the rest of the supartitions and the files were all there, but i don't understand why this happens.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
What does your /etc/fstab look like? It almost sounds like you're trying to mount the partitions in the wrong order, but that would be impossible to do if you just followed the installer...
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Well it looks correct to me. I don't have the slightest idea why that would happen. Perhaps try upgrading to a recent snapshot and see if the problem disappears? Also, you could always put something in /etc/rc.local to check each partition and see if it's mounted. If it isn't, then mount it. That would be a terrible hack, but it would get you around have to manually mount everything.
Is this your fstab before you mounted /etc or after?
Why do you have a mounted /etc (this is usually not a good idea as the whole system will fail is wonderful ways if that partition is dirty and you don't have a good /etc on the root partition)?
I have a feeling this has something to do with your problem.
Are both /etc 's the same and even if they are... the system might be confused because the file it was using suddenly no longer exists after it mounts wd1f (it exists and doesn't at the same time in a funky unix limbo).
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Doh! That is an excellent point. /etc really should be left on / since that is the only partition initially mounted during boot. The init process is probably interrupted when it's open file handles go poof.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
By the way, if you've made all your changes on the non-root partition version of /etc, you'll want to copy those over somewhere so you can put them in the /etc on the root partition (which you can't do with /etc mounted on wd1f). Either mount /etc on wd1f and copy everything to some place like /scratch or /home/user/etctmp, or unmount wd1f and remount it some place like /mnt/etctmp, then copy the appropriate configs to /etc on the root partition (wd1a).
I'd recommend doing a diff of each file before copying into the real /etc to make sure you don't nuke anything important.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.