LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-08-2015, 12:54 PM   #1
atux_null
Member
 
Registered: Mar 2015
Distribution: debian 12, ubuntu 22.04
Posts: 65

Rep: Reputation: Disabled
Openbsd & pxe installation


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
 
Old 07-09-2015, 04:39 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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.

//Edit2: Also may be of interest: http://daemonforums.org/showthread.php?p=46452

Last edited by cynwulf; 07-09-2015 at 04:48 AM.
 
Old 07-11-2015, 12:55 PM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505

Rep: Reputation: Disabled
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.

Last edited by fatmac; 07-11-2015 at 12:58 PM.
 
Old 07-11-2015, 03:51 PM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by fatmac View Post
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 View Post
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 View Post
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 View Post
Edit: Most BSD will only install to a 'primary' mbr partition.
Well that and a GPT for some.
 
  


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
pxe & DHCP struggled_newbie Linux - Networking 3 11-25-2011 04:33 PM
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 02:15 PM
PXE installation shravankumar.bbc Linux - Server 4 04-09-2010 01:10 AM
pxe installation rohit_67066 Linux - Networking 2 01-11-2008 04:00 AM
PXE installation fails mrok Linux - Networking 8 12-15-2006 05:26 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:47 PM.

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