LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-25-2004, 07:55 PM   #1
revenger681
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 15
OpenBSD 3.6 won't boot


Hello,

I know this might sound stupid for a lot of you BSD experts... but I followed the "How To" on openbsd.org on how to install 3.6 line by line.... All my messages were the same at every step, up until after:

Making all device nodes...done.
Installing boot block...
boot: /mnt/boot
proto: /usr/mdec/biosboot
device: /dev/rwd0c
/usr/mdec/biosboot: entry point 0
proto bootblock size 512
/mnt/boot is 3 blocks x 16384 bytes
fs block shift 2; part offset 3069360; inode block 152, offset 4136
using MBR partition 1: type 166 (0xa6) offset 3069360 (0x2ed5b0)
done.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter halt at the command prompt. Once the
system has halted, reset the machine and boot from the disk.
# halt
syncing disks... done

The operating system has halted.
Please press any key to reboot.



After reboot it comes up with Disk Boot Failure, Insert system disk and press enter.

The install seems to go as planned on http://www.openbsd.org/faq/faq4.html


no errors, no weird things, but every time i install I det disk boot failure. Is there something that the 'how to' guide left out? remember, I am following it line-for-line. Also, the 'how to' doesn't say wether I need the disk or not afterwards...


It almost seems like there is no boot loader or something? Can someone help a BSD newbie find out what is wrong?

P.S.
My package selection is "all" if that matters.

Last edited by revenger681; 11-25-2004 at 07:58 PM.
 
Old 11-25-2004, 10:48 PM   #2
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
Does your OpenBSD 3.6 shares with other OS in your disk?
 
Old 11-26-2004, 12:42 AM   #3
revenger681
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 15
No, It's a stand alone machine...

I don't know why it won't boot. the packages even seemed to be installed and all, I just can't get it to boot :-(


one hard drive. Set up exactly like the 'how to' page. exact specs....
 
Old 11-26-2004, 02:30 AM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
If this is a stand alone machine, why is your root filesystem ~1.5GB into the disk?

The first thing I would check is that your OBSD partition is flagged active. Sounds like it's not. If it is set active, try to install a new bootstrap

Last edited by sigsegv; 11-26-2004 at 02:35 AM.
 
Old 11-26-2004, 07:41 AM   #5
revenger681
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 15
I don't know... llike I said, I just copied what the openbsd page said line for line...



I am about to give up on trying out OpenBSD at this point. I just can't figure out how to get this booted....


I mean SuSE works alright for me, Mandrake, Debian, ect. Even freeBSD is cool.
But OpenBSD just won't work.

Following http://www.openbsd.org/faq/faq4.html


Is there anything they are leaving out?
 
Old 11-26-2004, 08:00 AM   #6
revenger681
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 15
OMG I'M ONLINE!

lol... I got it up... fdisk -u wd0 to update the mbr... :-(

lol


well, it's up now.... lol...

4.12.2 - My i386 won't boot after install
Your install seemed to go fine, but on first boot, you see no sign of OpenBSD attempting to boot. There are a few common reasons for this problem:
No partition was flagged active in fdisk(8). To fix this, reboot the machine using the boot floppy or media, and "flag" a partition as "active" (bootable). See here and here
No valid boot loader was ever put on the disk. If you answer "Y" to the "Use entire disk for OpenBSD?" question during the install, or use the "reinit" option of fdisk(8), the OpenBSD boot record is installed on the Master Boot Record of the disk; otherwise, the existing master boot code is untouched. This will be a problem if no other boot record existed. One solution is to boot the install media again, drop to the shell and invoke fdisk(8) to update the MBR code from the command line:
# fdisk -u wd0

Note: the "update" option within the interactive mode ("-e") mode of fdisk will not write the signature bytes required to make the disk bootable.
In some rare occasions, something may go wrong with the second stage boot loader install. Reinstalling the second stage boot loader is discussed here.


P.S.

Woot! I can finally use it after 3 mo. or trying... lol....

Last edited by revenger681; 11-26-2004 at 08:01 AM.
 
Old 11-26-2004, 07:44 PM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Yes, it's because you didn't answer "Y" to "use the entire disk?" during install (most likely).
 
Old 11-27-2004, 01:31 AM   #8
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
I'm also thingking about that.

I have even tried installing 3.5 in a newer server hardware with SATA drives and I just say "yes" on use the entire "wd0" for OpenBSD.

No pains at all.
 
  


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
OpenBSD and numlock on at boot gentisle *BSD 2 05-25-2005 01:47 PM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 1 04-07-2005 08:46 AM
OpenBSD boot disk ... really lacking... lazlow69 *BSD 6 11-08-2004 02:50 PM
Dual boot linux/openBsd Miky *BSD 3 09-08-2003 07:14 PM
Mac 68k OpenBSD 2.6 wont boot at all isolationist *BSD 5 07-01-2003 07:28 AM

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

All times are GMT -5. The time now is 07:57 AM.

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