Resetting bootloader on a CF



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.

––––––––––––––––––––––––––––––––––––––––––––––
---------> Grégory Bernard Director <---------
---------------> www.osnet.eu <---------------
--> Your provider of OpenSource appliances <--
––––––––––––––––––––––––––––––––––––––––––––––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Resetting bootloader on a CF
    ... I am trying to reset the bootloader of a pfSense nanoBSD CF card. ... How can I re-install a boot loader? ...
    (freebsd-questions)
  • Re: SD Detection Problem
    ... yes i added FAT component into the my OS. ... disable the checking of card in my bootloader. ... card insertion into my boot loader. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: AVR Bootloader protection
    ... the CPU sets a bit of a byte.. ... When exiting the bootloader, clear this byte. ... unless you execute the boot loader from the start,. ... > erase or page write - so that routine does what's it's supposed to, ...
    (comp.arch.embedded)
  • Re: Bootloader Placement
    ... The bootloader would treat both of the others as ... It's an interesting thought but the bulk of the boot loader is an MMC card ... together as the flash loading part is so much smaller. ... Prefetch Abort exceptions and don't intend to include a handler so I could ...
    (comp.arch.embedded)
  • Re: How to program AVR or 8051 with Serial Port?
    ... It means booting from UART by default, not having the boot loader by ... Atmel provides the code, but you have to load it somehow. ... We asked for pre-programmed avr with bootloader. ...
    (comp.arch.embedded)