*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 everyone. My first steps with openbsd.
I have an Alix 2d13 and I would like to install pure openbsd. It is just for fun and learning.
I have a running Linux (Debian) which acts as a pxe server and the internet router. The dhcp,tftp and pxe are on dnsmasq.conf configured. I have a folder /srv/tftp where I have bsd.rd and pxeboot form the local openbsd mirror.
I have started the installation and I have gone through all the questions about setting the system. Then after a while I came with a success message and that I have to reboot the system in order to complete the installation. During reboot I disable the pxe from the installation machine. When the machine comes up it hangs at boot >
I am afraid I have no idea what to do to fix that and have a fully working system.
Please some help since I am a newbie in the area
Not much idea, I've never installed OpenBSD via PXE.
It looks like the bootloader can't find any kernel, which usually means that it can't find a root file system. Did you select to use DUIDs during setup? Do you have more than one disk? Was something like a flash memory stick plugged in or removable disk at the time?
You say it hangs at "boot>"? Do you see any error? Can you type at the prompt? Have you tried just hitting enter?
Have you tried e.g.
Code:
boot> boot sd0a:/bsd
?
"sd0a" assumes SCSI disk 0 partition a. Your root file system may be installed on a different disk. If you have more than one disk, then try sd1a. If for some bizarre reason the root file system is on the second partition or the third, try e.g. "sd1b" or "sd1d". (or "sd0b"/sd0d")
//Edit: In your case it may be wd0 rather than sd0 so substitute as necessary.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505
Rep:
Quote:
When the machine comes up it hangs at boot >
That usually means an O/S can't find its boot partition.
Sounds like it was installed as the 2nd partition, but needs to be the first one to be seen by your computers BIOS to be able to boot.
I, personally, haven't had any booting problems with OpenBSD, but I have with FreeBSD & the solution was to type a ? at the boot > which then gives a list of drives; (maybe it will work on OpenBSD as well).
Edit: Most BSD will only install to a 'primary' mbr partition.
That usually means an O/S can't find its boot partition.
That would certainly be true of a Linux system. OpenBSD, FreeBSD DragonFly and as far as I know, other 'BSDs do not have a /boot directory or partition. In OpenBSD /boot is the second stage bootstrap code.
So I would still suggest that it's the root file system which the first stage bootloader cannot find.
Quote:
Originally Posted by fatmac
Sounds like it was installed as the 2nd partition, but needs to be the first one to be seen by your computers BIOS to be able to boot.
Likely.
Quote:
Originally Posted by fatmac
I, personally, haven't had any booting problems with OpenBSD, but I have with FreeBSD & the solution was to type a ? at the boot > which then gives a list of drives; (maybe it will work on OpenBSD as well).
Good point, haven't tried that one on OpenBSD either.
Quote:
Originally Posted by fatmac
Edit: Most BSD will only install to a 'primary' mbr partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.