Removing Grub

Alessandro Brezzi alessandro.brezzi at gmail.com
Fri Sep 7 13:29:28 UTC 2007


Hi Mikkel,

2007/9/7, Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
>
> Alessandro Brezzi wrote:
> > If your "restore CD" is an image (as for Toshiba notebooks), you can zap
> > your mbr in a live CD (F7 Live, Knoppix ...) using dd:
> >
> > dd if=/dev/null of=/dev/sda bs=512 count=1
> >
> > assuming your HD is SATA / SCSI allocated as sda
> >
> > Another hint: are you shure to load from the restore CD and not from the
> HD?
> >
> Just a word of caution - only do this is you want to wipe out the
> partition table, as well as clear the mbr. I think using bs=492 will
> clear the mbr wile leaving the partition table. (I could have the
> number wrong.) This is handy if you need to preserve smaller
> partition sizes when you do a restore.
>
> Mikkel


The number is 496 if you want only the load code to be voided. The parm
count=1 is for zapping only the first track with mbr. For the partition
table use bs=1 count=66 skip 466

HTH
-- 
Alessandro Brezzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070907/e641b9f8/attachment-0001.html 


More information about the users mailing list