Resetting bootloader on a CF

Gary Kline kline at thought.org
Wed Aug 31 22:29:05 UTC 2011


On Wed, Aug 31, 2011 at 11:47:22PM +0200, bsd wrote:
> Date: Wed, 31 Aug 2011 23:47:22 +0200
> From: bsd <bsd at todoo.biz>
> Subject: Resetting bootloader on a CF 
> To: Liste FreeBSD <freebsd-questions at freebsd.org>
> X-Mailer: Apple Mail (2.1084)
> 
> Hi, 
> 
> I am trying to reset the bootloader of a pfSense nanoBSD CF card. 
> 
> I need the boot loader to be reset because 
> 
> > The embedded image set the bootloader to use a serial console.  That isn't necessary with the box I am trying to use (the BIOS does console redirection to the serial port for you) and causes the boot to hang.
> 
> 
> Part of the solution seems to be : 
> 
> 1. Mount the CF on a FBSD 
> 2. Initialize the bootloader with : 
> 
> # fdisk -B /dev/<disk>
> 
> 3. This is where I need you help? 
> 
> 
> How can I re-install a boot loader ? 
> 
> Should I use the command : 
> 
> # fdisk -B -b /boot/boot0 device
> 
> 
> Any other suggestion, guidance will be welcome. 
> 
> 
> Thanks for your support. 
> 
> 
> P.S. I'll check your answer in 10+ hours as I am already tired and It is 11.45 pm in Paris where I leave. ;-) - thanks for your understanding. 
> 

	Egad--or OMG--or whatever.  A friend helped me build a
	pfsense "kit" (4watt) a few months ago.  It has worked 
	perfectly so far.  Running 24*7 since.

	I'll be watching this space... .

> 

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.51a release of Jottings: http://jottings.thought.org



More information about the freebsd-questions mailing list