LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-09-2007, 10:22 AM   #1
Seanmcn
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 11

Rep: Reputation: 0
Removing Linux


"You can wipe away the partition table of the hard disk in linux by issuing the following command (in command line mode, after you've logged in as root):

dd if=/dev/zero of=/dev/hda bs=521 count=1
However, I get this output?

PHP Code:
[root@localhost ~]# dd if=/dev/zero of=/dev/hda bs=521 count=1
ddopening `/dev/hda': Read-only file system 
 
Old 05-09-2007, 10:47 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
output of sfdisk -l and mount might help
 
Old 05-09-2007, 10:51 AM   #3
Seanmcn
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 11

Original Poster
Rep: Reputation: 0
sorry? I don't understand. You want what?
 
Old 05-09-2007, 11:56 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,049

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
At the command line (where you tried the "dd") type
Code:
sfdisk -l
mount
(first command uses a lower case ell, as in list)

Not a good idea to play with "dd" like that if you don't know what you're doing - I suspect that bs should be 512. Won't matter much in this case.
 
Old 05-09-2007, 04:04 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
The request for more info is relevant to determining if hda is really the drive you want to modify.
Regardless of what command you use, we need more info on the configuration of your system.
 
  


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
Problem in Linux bootup after removing the CD writer from the Linux desktop Nishant Desai Linux - Hardware 3 10-12-2006 12:59 AM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 03:56 AM
Removing Linux Blingy Linux - Laptop and Netbook 7 01-22-2006 04:48 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 09:16 AM
removing linux ryandean8 Linux - Newbie 4 07-24-2003 04:41 AM


All times are GMT -5. The time now is 07:49 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