DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st May 2013
enoch82's Avatar
enoch82 enoch82 is offline
Real Name: untrac3ab13
Underground Rocker
 
Join Date: Apr 2013
Location: a multidimensional box
Posts: 4
Thanked 0 Times in 0 Posts
Question [SOLVED] booting on wrong partition

Hi guys.
It seems that the default location for the bootloader is hd0a . That is the a: partition. But, I have put a: as swap. So, it fails to boot by itself and i then have to type 'boot hd0b:/bsd' . My questions are:
1. Why is there no boot.conf in /etc?
2. Where is the bootloader config?
3. Thus, how can I modify the booting information?

Thanks!
__________________
"Synaesthesia colored blue, Aquaman knows what to do..."

Last edited by enoch82; 1st May 2013 at 02:27 PM.
Reply With Quote
  #2   (View Single Post)  
Old 1st May 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,882
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by enoch82 View Post
But, I have put a: as swap.
Why do you feel that you need to modify the default configuration?
Quote:
Why is there no boot.conf in /etc?
If the default configuration is being used, there is no need for a /etc/boot.conf file. Only if customization is needed is a file required.
Reply With Quote
  #3   (View Single Post)  
Old 1st May 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,882
Thanked 190 Times in 160 Posts
Default

Follow-up.

Note that the use of the word "partition" needs clarification. OpenBSD partitions all (including swap...) reside within a single primary MBR partition (by convention, Intel & Microsoft defined only four..). How this single OpenBSD partition is sliced to form "a", "b" (which by design is the swap partition...), etc. can be controlled by disklabel(8).

Historically, there are three lettered partitions within the OpenBSD partition which by convention should not be modified without a complete understanding of the underlying implications:
  • "a" denotes the boot partition which contains the kernel. DIsks which are not booted from might not have a "a" partition.
  • "b" denotes the swap partition. Not all disks need to define swap space. However for insurance reasons, a system needs to have some swap space somewhere defined especially to deal with situations where the system crashes or needs to swap to disk.
  • "c" denotes the entire disk. In most cases, there is no need to modify how this partition is defined.
More pertinent information can be found in Section 4 & Section 14 of the official FAQ.
Reply With Quote
  #4   (View Single Post)  
Old 1st May 2013
enoch82's Avatar
enoch82 enoch82 is offline
Real Name: untrac3ab13
Underground Rocker
 
Join Date: Apr 2013
Location: a multidimensional box
Posts: 4
Thanked 0 Times in 0 Posts
Default

Thanks for the answer.
I just upgraded to 5.2 and the generated boot.conf seems to now contain what I need!
Reply With Quote
  #5   (View Single Post)  
Old 1st May 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,882
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by enoch82 View Post
I just upgraded to 5.2...
Note that OpenBSD 5.3 was officially released today, 1 May 2013.

Reply With Quote
Reply

Tags
boot manager

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security cURL goes wrong J65nko News 0 8th February 2013 03:30 PM
can some one tell me what's wrong with this picture? qmemo Off-Topic 19 17th March 2011 10:26 PM
Dump dates wrong? cwhitmore FreeBSD General 2 17th August 2008 08:49 PM
nvidia wrong hex setting for raid 5? cysn06 FreeBSD General 0 17th June 2008 02:20 AM
Howto fix problems on X with resolution wrong aleunix Guides 1 2nd June 2008 03:33 PM


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick