[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Removing Grub


2007/9/7, Alessandro Brezzi <alessandro brezzi gmail com>:
Hi Mikkel,

2007/9/7, Mikkel L. Ellertson <mikkel 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.

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
... sorry, wrong typing; the corret block size is 466 and not 496. I apologize.
Alessandro Brezzi

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]