Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Uninstalling Grub< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 20 2007,09:22 QUOTE

$ sudo dd if=/dev/zero of=/dev/hda
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 20 2007,11:24 QUOTE

Anytime you are asked to run commands that will make changes to anything outside your home directory, you should usually assume that you will need to become "root".
http://www.tldp.org/LDP/intro-linux/html/index.html
http://damnsmalllinux.org/wiki/index.php/FAQ


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 20 2007,13:19 QUOTE

Quote (Juanito @ Sep. 20 2007,05:22)
$ sudo dd if=/dev/zero of=/dev/hda

Note that that will destroy everything on the drive, not just the mbr.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Sep. 20 2007,20:22 QUOTE

Quote (^thehatsrule^ @ Sep. 20 2007,09:19)
Quote (Juanito @ Sep. 20 2007,05:22)
$ sudo dd if=/dev/zero of=/dev/hda

Note that that will destroy everything on the drive, not just the mbr.

Important point;  perhaps he just wants to get rid of the MBR on one partition in which case he might use fdisk to eliminate that partition and then recreate it ?? Any way to  dd just one partition (e.g., dd if=/dev/zero of=/dev/hda1)  ?

edit:  I'm guessing the MBR gets placed at the top of hda regardless of what partition the boot files are in (thus dd if /dev/zero of /dev/hda count 1 for removing it). In that case, getting rid of the boot partition wouldn't solve anything (except produce an error about not being able to find the boot image).
Back to top
Profile PM 
8 replies since Sep. 19 2007,08:50 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Uninstalling Grub

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code