Howto Remove BSD Boot Block from HD

Posted on 2003-03-23
Medium Priority
Last Modified: 2013-12-09
Can anybody tell me how can I remove the bootblock from a HD that has had NetBSD or OpenBSD previously installed on it?
The problem is that the boot block is installed into the MBR and no anount of reinstalling Linux, Win2k, Solaris over the disk will prevent the BIOS from picking up the BSD boot block. The reinstall does not write low enough (or at least that's how it seems) to overwrite the BSD boot sector.
Question by:dmccallum
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

jimbb earned 750 total points
ID: 8200109
Looks like *BSD 'fdisk -i' will do it, or, you could use  MS's 'fdisk /MBR'.

Author Comment

ID: 8201372
Thanks Jim,
Someone has also pointed out that by doing a dd if=/dev/zero of=/dev/rdsk/disk_n bs=512 count=1, you can also clear it. It's this process that I used.
Thanks for your comments.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month7 days, 20 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question