2013年6月24日 星期一

remove MBR using DD

Understanding MBR size

Where,446 + 64 + 2 = 512

446 bytes - Bootstrap.
64 bytes - Partition table.
2 bytes - Signature.

dd if=/dev/zero of=/dev/sdc bs=512 count=1

ref: http://www.cyberciti.biz/faq/linux-clearing-out-master-boot-record-dd-command/

Gentoo: ParseError: Profile contains unsupported EAPI '5'

eselect profile set 0
emerge -u portage
eselect profile set 1