DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th May 2012
tls tls is offline
Port Guard
 
Join Date: Feb 2012
Posts: 17
Thanked 0 Times in 0 Posts
Default [solved] config /bsd

I've been trying to disable apm for the past few days with no luck, I have updated to -current twice and from two different mirrors.

Typically I would:
#mv /bsd /bsd.old (reboot)
boot> config -e -o /bsd /bsd.old (then disable apm)
now I get howto: bad option: e

I have also tried config -ef w/o no results. My only resort is either A. grab stable and build from source which is not ideal on this slower machine B. Wipe it completely and try again with -current. Perhaps someone can point out something that I have overlooked?

thanks,
tls

Last edited by tls; 21st May 2012 at 12:22 AM. Reason: silly me.
Reply With Quote
  #2   (View Single Post)  
Old 20th May 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,431
Thanked 214 Times in 189 Posts
Default

Here's your problem:
Quote:
Originally Posted by tls View Post
boot> config -e -o /bsd /bsd.old
You are confusing a standard userland program, config(8), with the boot time User Kernel Config (UKC) facility, described in boot_config(8). On i386/amd64 archs, you enter UKC from "boot>" prompt by booting a kernel with -c option.

At the boot> prompt, OpenBSD is not yet running, so you cannot run a program stored in /usr/sbin.

Last edited by jggimi; 20th May 2012 at 10:48 PM. Reason: clarity
Reply With Quote
  #3   (View Single Post)  
Old 21st May 2012
tls tls is offline
Port Guard
 
Join Date: Feb 2012
Posts: 17
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
Here's your problem:You are confusing a standard userland program, config(8), with the boot time User Kernel Config (UKC) facility, described in boot_config(8). On i386/amd64 archs, you enter UKC from "boot>" prompt by booting a kernel with -c option.

At the boot> prompt, OpenBSD is not yet running, so you cannot run a program stored in /usr/sbin.
Ha - silly me, that's what I was doing wrong . Thank you very much jggimi.
Reply With Quote
  #4   (View Single Post)  
Old 21st May 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,834
Thanked 190 Times in 160 Posts
Default

Reviewing both the config(8) manpage & Section 5.9 of the FAQ would also be beneficial.
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

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
X Desktop config phyro OpenBSD Packages and Ports 2 3rd May 2012 10:39 PM
How to re-run make config? FreeBee FreeBSD Ports and Packages 5 11th January 2010 10:56 AM
Xorg config There0 OpenBSD General 16 10th January 2010 02:45 PM
pf config error Stellar OpenBSD Security 5 3rd September 2009 01:01 PM
Libpurple 2.4.2 config failure. KernelPanic FreeBSD Ports and Packages 3 23rd May 2008 06:19 PM


All times are GMT. The time now is 06:03 PM.


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