LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09: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, 09: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, 09: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, 10:56 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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, 03:04 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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



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-11-2006 11:59 PM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 02:56 AM
Removing Linux Blingy Linux - Laptop and Netbook 7 01-22-2006 03:48 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM
removing linux ryandean8 Linux - Newbie 4 07-24-2003 03:41 AM

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

All times are GMT -5. The time now is 06:04 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
Open Source Consulting | Domain Registration