[H-GEN] Cleaning up the MBR on a /dev/hda

Geoff Shang geoff at hitsandpieces.net
Mon Nov 14 21:15:06 EST 2005


Ewan Edwards wrote:

> I could go into a long story detailing what's happened and what I've
> done, but the upshot of it all is that I want to clear bootloader
> from the MBR on /dev/hda without destroying the partition table.

You didn't tell us which bootloader it is.  I'm really only familiar with 
lilo.  You can achieve this with lilo by running

lilo -u

Lilo backs up the original boot sector and restores this when it is run.

I'd be surprised if other bootloaders don't have similar functionality.

Geoff.





More information about the General mailing list