Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2012 21:03:25 -0700
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        =?iso-8859-2?Q?=A3ukasz?= Kurek <kamikadze29@o2.pl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: backup BIOS settings
Message-ID:  <1326168205.2199.56.camel@revolution.hippie.lan>
In-Reply-To: <192396d2.4ca0430d.4f0baa06.40411@o2.pl>
References:  <192396d2.4ca0430d.4f0baa06.40411@o2.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2012-01-10 at 04:01 +0100, Łukasz Kurek wrote:
> Hi,
> Is it possible to backup BIOS settings (CMOS configuration) to file and restore this settings on the other machine (the same hardware configuration and the same BIOS)?
> 
> I try do it for this way:
> 
> kldload nvram
> 
> dd if=/dev/nvram of=nvram.bin   (backup)
> 
> dd if=nvram.bin of=/dev/nvram   (restore)
> 
> 
> but this way always load default BIOS settings, not my (probably there is some kind of error).

Oh wait, the patch I posted can't help, because it fixes a problem that
only happens when you read the same location repeatedly, and the nvram
driver never does that.  But it would still be interesting to examine
the nvram.bin file and see if it "looks reasonable".

-- Ian





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