I don’t want to be SUPERMAN…… because I’m LQman……

Mei 18, 2011

Restore FreeBSD bootloader after installing windows

When you install wind**s after freeBSD (or another *nix family, eg : linux, MAC) it always automatically replace/override the MBR and bootloader with its own (windows only).
Then you can’t boot all OS except windows (this selfish feature especially annoying me).
Then you need to restore your MBR and bootloader using FreeBSD’s, this is the step :

  • boot using FreesBSD CD / usbdisk / floppy
  • choose menu Fixit
  • in the Fixit shell, reinstall FreeBSD MBR code with

fdisk -B -b /boot/boot0 /dev/ad4 
change /dev/ad4 with your own slice identifier

  • exit and reboot
  • and…. taraaaaaaa… You get FreeBSD (un-selfish) bootloader automagically detect both BSD and windows

happy hacking.

Note :
MBR : Master Boot Record.

reference:
http://www.freebsd.org/doc/handbook/boot-blocks.html
http://forums.freebsd.org/showthread.php?t=12793

Tinggalkan sebuah Komentar »

Belum ada komentar.

RSS umpan untuk komentar-komentar dalam tulisan ini. URI Lacak Balik

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Tema: Silver is the New Black. Blog pada WordPress.com.

Ikuti

Get every new post delivered to your Inbox.