Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 1999 08:37:15 +0000
From:      Mark Ovens <marko@uk.radan.com>
To:        Antonio Varela Lizardi <antonio@icon.net.mx>
Cc:        questions@freebsd.org
Subject:   Re: loosing kernel config
Message-ID:  <36F6013B.ED981D7F@uk.radan.com>
References:  <Pine.BSF.4.05.9903220108200.454-100000@obelix.icon.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
Antonio Varela Lizardi wrote:
> 
> Hi,
> 
>   I've just upgraded my home internet gateway (generic 486DX2) from
> 2.2.7-RELEASE to 3.1-RELEASE, clean installation (backup, format, install,
> reconfiguring from scratch [more fun]). I've been using the generic
> kernel, but I wonder why I'm loosing the device configuration (tuned with
> boot -c) each time I reboot the machine. Ie, I delete all scsi stuff and
> all ethercards but ed0 (and also I need to change ioaddr and irq of ed0)
> and when rebooting, it's all back again with the default settings. I've
> recompiled a custom kernel and it's going fine, but this didn't happen
> with 2.2.7. Did I mess something? Any hint will be welcome.
> 

The boot method has changed in 3.1. Your mods should be saved in
/kernel.config. In /boot/loader.rc add the following:

  load /kernel
  load -t userconfig_script /kernel.config
  autoboot

HTH


> Thanks in advance.
> Antonio
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com                  http://www.radan.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F6013B.ED981D7F>