Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2010, 09:01 AM   #1
LQ Newbie
Registered: Sep 2010
Posts: 26

Rep: Reputation: 0
Found the instruction to start Over!

Linux-based solution: now to see if this is Debian code?
If you can still somehow fire up Linux - say, via Tom's Root-Boot floppy - you can simply
invoke "dd", like so: dd if=/dev/zero of=/dev/hda bs=512 count=1
Yep, that's it. That MBR is gone. Obviously, you have to be root to do this. < not mine just cut what I needed.

DOS-based solution: I have this somewhere from EET 105

Boot with a DOS floppy that has "debug" on it; run "debug". At the '-' prompt, "block-fill" a 512-byte chunk of memory with zeroes:

f 9000:0 200 0

Start assembly mode with the 'a' command, and enter the following code:

mov dx,9000
mov es,dx
xor bx,bx
mov cx,0001
mov dx,0080
mov ax,0301
int 13
int 20

Press <Enter> to exit assembly mode, take a deep breath - and press "g" to execute, then "q" to quit "debug". Your HD is now in a virgin state, and ready for partitioning and installation.

Obviously, you have to be root... oh, oops. Anybody that walks up with a DOS floppy can do this to your system in about a minute, including boot time. Let's see; where was that article about securing your box, again?...
Old 09-24-2010, 09:07 AM   #2
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,237
Blog Entries: 29

Rep: Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437

Welcome to LQ!

Your point?

Constructive how?

You may want to reread LQ Rules.

Old 09-24-2010, 09:15 AM   #3
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
I dunno... Other than lack of an explanation of why and when a person would want to do this (you want to wipe your MBR out why?), and maybe a note about, "Don't try this just to see what it does", I believe the information is potentially useful.. A better title more descriptive of what the thread's about wouldn't hurt either..
Old 09-24-2010, 09:28 AM   #4
Registered: Apr 2003
Posts: 755

Rep: Reputation: 84

Welcome to the forum. Thanks for the info even though I don't envision needing it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
opensuse 11.0: Ardour2 won't start -illegal instruction? joey45 SUSE / openSUSE 1 07-13-2008 12:19 PM
Screen never found after start. v600blink Linux - Hardware 0 04-11-2007 04:55 PM
Which linux instruction is equivalent to windows' instruction "tracert"? backpacker Linux - Software 1 04-04-2006 11:55 PM
Start up messages found where? pgte3 Linux - Newbie 14 09-09-2004 01:12 PM
XFree86 won't start because mouse is not found frankmulder Debian 3 08-17-2004 11:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration