Unix Technical Forum

OpenBSD installs OK but fails to boot

This is a discussion on OpenBSD installs OK but fails to boot within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I have installed OpenBSD 3.4 on the 2nd partition of my 2nd hard disc. Installation went OK, I can ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 05:46 AM
Nigel Horne
 
Posts: n/a
Default OpenBSD installs OK but fails to boot

I have installed OpenBSD 3.4 on the 2nd partition of my 2nd hard disc.
Installation went OK, I can mount all the slices fine under Linux, but
I can't get the operating system to boot.

I am using Grub.

If I type 'kernel --type=openbsd (hd1,1,a)/boot' I get an error message
about not being able to load programs below 1MB. If I type 'kernel
--type=openbsd (hd1,1,a)/bsd)' I get 'panic: /boot too old: upgrade' (even
though I didn't go through /boot!).

Any clues?

-Nigel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 05:46 AM
Uwe Dippel
 
Posts: n/a
Default Re: OpenBSD installs OK but fails to boot

On Sat, 03 Jul 2004 14:47:32 +0100, Nigel Horne wrote:

> I am using Grub.


Here I use grub 0.94 and OpenBSD 3.5 and simply type

rootnoverify (hd0,2)
chainloader +1
boot

and off it goes !

YMMV
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 05:46 AM
Nigel Horne
 
Posts: n/a
Default Re: OpenBSD installs OK but fails to boot

On Sun, 04 Jul 2004 10:50:15 +0800, Uwe Dippel wrote:

> rootnoverify (hd0,2)
> chainloader +1
> boot


That says 'reading Boot, bad magic' then hangs

> YMMV


-Nigel

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 05:46 AM
steven mestdagh
 
Posts: n/a
Default Re: OpenBSD installs OK but fails to boot

Nigel Horne <njh@despammed.com> wrote:
> On Sun, 04 Jul 2004 10:50:15 +0800, Uwe Dippel wrote:
>
> > rootnoverify (hd0,2)
> > chainloader +1
> > boot

>
> That says 'reading Boot, bad magic' then hangs


before version 3.5, openbsd could not be booted from a partition located
above the 1024th cylinder of the disk, generating the bad magic error.
since you used 3.4, this could be the source of your problem. just use 3.5
in that case.

--
steven
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 05:46 AM
Nigel Horne
 
Posts: n/a
Default Re: OpenBSD installs OK but fails to boot

On Sun, 04 Jul 2004 10:12:34 +0000, steven mestdagh wrote:


> before version 3.5, openbsd could not be booted from a partition located
> above the 1024th cylinder of the disk, generating the bad magic error.
> since you used 3.4, this could be the source of your problem. just use 3.5
> in that case.


:-(

Thanks anyway.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 05:47 AM
Thorsten Glaser
 
Posts: n/a
Default Re: OpenBSD installs OK but fails to boot

Dixitur illum njh@despammed.com scribere...

>I am using Grub.


Try compiling sysutils/pxegrub from MirPorts (the port should
work fine under OpenBSD) and copy the stage{1,2} binaries to
your GNU system and install them from there.

You _might_ need to use
config bsd root on wd1a swap on wd1b
instead of
config bsd generic
in the kernel configuration file - I use GNU Grub only for
netbooting or loading the bsd.rd kernel; the former has
been replaced by /usr/mdec/pxeboot since yesterday.

//Thorsten
--
Currently blocking eMail from the following domains: bigpond.com, biz, gmx.de,
gmx.net, hotmail.com, info, jumpy.it, libero.it, name, netscape.net,
postino.it, simplesnet.pt, spymac.com, tatanova.com, tiscali.co.uk,
tiscali.cz, tiscali.de, tiscali.it, voila.fr, yahoo.co.uk, yahoo.com.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-16-2008, 05:47 AM
PiotrAF
 
Posts: n/a
Default Re: OpenBSD installs OK but fails to boot

On Sat, 03 Jul 2004 14:47:32 +0100, Nigel Horne wrote:

> I have installed OpenBSD 3.4 on the 2nd partition of my 2nd hard disc.
> Installation went OK, I can mount all the slices fine under Linux, but
> I can't get the operating system to boot.
>
> I am using Grub.
>
> If I type 'kernel --type=openbsd (hd1,1,a)/boot' I get an error message
> about not being able to load programs below 1MB. If I type 'kernel
> --type=openbsd (hd1,1,a)/bsd)' I get 'panic: /boot too old: upgrade' (even
> though I didn't go through /boot!).
>
> Any clues?
>
> -Nigel

my linux grub:

title OpenBSD 3.5
root (hd0,1)
makeactive
chainloader +1

works fine with OBSD on hda2
Until I tried the your way I also couldn't boot obsd after install

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com