hi andres

yup, you're right :-)

On Tue, Nov 04, 2003 at 06:19:18PM -0500, Andrés Roldán wrote:
> Alvin Oga <[EMAIL PROTECTED]> writes:
 
..

> > root# grub
> > grub> uninstall   ( i think it works donno )
> >
> > -- or --
> >
> > root# lilo -U
> >
> > -- or --
> >
> > #
> > # important ... dont make any tipoe's w/ dd
> > #
> > root# dd if=/dev/zero  of=/dev/hda  bs=512 count=1
> 
> Don't you dare. It will _delete_ the partition table.
> 
> use dd if=/dev/zero  of=/dev/hda bs=446 count=1 instead.

yup ... i knew i shoulda looked it up first ... bs=446 is right
        and if one is lucky, one can restore the partition
        table at exactly the same cylinders and everything
        "should" still work too

        #
        # another piece of important info needed to "restore" your system
        # one day ... when the partition table gets messed up
        #
        fdisk -l /dev/hda > /floppy/hda.fdisk.info.txt


and still another option for overwriting the mbr,

#
# if you have a previously good boot file that you wanna restore
#
dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1 

c ya
alvin
 
> > -- or --
> >
> > boot into dos mode
> > A:> fdisk /mbr
> >
> > than boot up from floppy or other boot media and
> > re-install whatver boot loader ( grub, lilo, syslinux, .. ) you want


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to