LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-24-2010, 08:01 AM   #1
grizlbr
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, 08:07 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,770
Blog Entries: 27

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,

Welcome to LQ!

Your point?

Constructive how?

You may want to reread LQ Rules.

 
Old 09-24-2010, 08:15 AM   #3
GrapefruiTgirl
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, 08:28 AM   #4
mjolnir
Member
 
Registered: Apr 2003
Posts: 750

Rep: Reputation: 83
Hi,

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


Reply


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 11:19 AM
Screen never found after start. v600blink Linux - Hardware 0 04-11-2007 03:55 PM
Which linux instruction is equivalent to windows' instruction "tracert"? backpacker Linux - Software 1 04-04-2006 10:55 PM
Start up messages found where? pgte3 Linux - Newbie 14 09-09-2004 12:12 PM
XFree86 won't start because mouse is not found frankmulder Debian 3 08-17-2004 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 AM.

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