View Single Post
  #2   (View Single Post)  
Old 4th March 2012
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Grub2 counts hard discs from zero but partitions from one! So what has been (hd0,1) in old Grub is now (hd0,2).

Previous NetBSD thread which should work for OpenBSD

Useful link

OpenBSD boot process for i386 and AMD.

In particular
Quote:
Using drive 0, partition 3. <- MBR
Loading.... <- PBR
probing: pc0 com0 com1 apm mem[636k 190M a20=on] <- /boot
disk: fd0 hd0+
>> OpenBSD/i386 BOOT 3.17
boot>
booting hd0a:/bsd 4464500+838332 [58+204240+181750]=0x56cfd0
entry point at 0x100120

[ using 386464 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993 <- Kernel
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
The first stage of the bootloader is hd0a which then chains to the PBR which in a default single hard drive install is drive 0, partition 3 (partitions number 0 ->3)
Reply With Quote