:: Re: [DNG] Configuration of boot dri…
Top Pagina
Delete this message
Reply to this message
Auteur: Rick Moen
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Configuration of boot drives
Quoting Tito via Dng (dng@???):

> if you are brave you can erase grub from mbr of the disk:
>
> Zero out MBR. (but not all of it!) You need to use 'dd' to erase the
> MBR. For my machine the command was:
>
> dd if=/dev/zero of=/dev/YOUR_DRIVE bs=446 count=1


The need for bravery can be averted by making a backup copy of the
entire sector zero, and then storing that image file off-system:

dd if=/dev/YOUR_DRIVE of=/tmp/mbr.img bs=512 count=1

The point is, if necessary, this file can be copied back (using dd) to
sector zero using a live distro.

-- 
Rick Moen              "Use 'quirky' to describe potentially dangerous crazy 
rick@???    people that you don't want to upset."               
McQ!  (4x80)                                              -- @FakeAPStylebook