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

Re: Howto remove grub?



Alvin Oga <aoga@ns.Linux-Consulting.com> writes:

> On Tue, 4 Nov 2003, David Z Maze wrote:
>
>> "W. Borgert" <debacle@debian.org> writes:
>> 
>> > I have a machine where I want to cleanly install Debian, but the
>> > MBR has remains of grub.  I searched the net, but all hits I got
>> > involved a DOS diskette or similar.  I don't have such a disk,
>> > but I can boot the machine using Knoppix or other Debian rescue
>> > CDs.  What is the magic command line?  Thanks in advance!
>
> removing stuff from MBR implies you might not be able to boot the
> machine, so make sure you can still boot from floppy or cdrom or network
> or ???  ( remove that target disk out of the boot sequence in the bios,
> than remove stuff from the mbr )
>
> 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.

>
> -- 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
>
> c ya
> alvin
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

-- 
Andres Roldan

Fluidsignal Group 	<aroldan@fluidsignal.com>
The Debian Project	<aroldan@debian.org>
GPG Key-ID: 		0xB29396EB	
Home Page   		http://people.fluidsignal.com/~aroldan

Attachment: pgpbuhyNTJ7O8.pgp
Description: PGP signature


Reply to: