Removing GRUB From a Drive Partition

Linux, Mac Add comments

Ever needed to get rid of GRUB from a partition but didn’t know how? I managed to install GRUB onto my swap partition whilst setting up dual booting with Gentoo on a Mac Mini and faced this same problem. Using rEFIt it automatically detected GRUB on the partition and it showed up as a bootable option. I couldn’t be doing with that so I started looking for the solution. Loads of forum posts suggested fixmbr or fdisk but I didn’t want to replace GRUB I wanted shot of it. Anyway turns out the solution was to use dd.

# dd if=/dev/0 of=/dev/sdX bs=446 count=1

Where sdX is the partition to clean.

Leave a Reply

WP Theme & Icons by N.Design Studio | Akismet has gobbled 535 spam comments...Mmmm Tasty :-)
Entries RSS Comments RSS Log in