LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2004, 05:08 PM   #1
kapslock
LQ Newbie
 
Registered: Aug 2003
Posts: 28

Rep: Reputation: 15
cleaning partitions


hi all,
i installed red hat and was installing an application which uses oracle as a part of it and installs it overt the predefined partitions.Somewhere in between the installations i screwed up and want to start over .But before that i wanna clean everything on the partitions as if its just brand new OS installed.,coz else there a re a lot of conflics coming up.Could anybody tell me how i cud clean the partitions to default as to where the system was when i just installed OS with a number of partitions
thanks
 
Old 07-11-2004, 05:12 PM   #2
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Do you mean you want to format your entire hard disk? That shouldn't be hard. Just insert some sort of Linux rescue disk to boot from and run fdisk. Delete all the partitions and voilā , you're set
 
Old 07-11-2004, 05:16 PM   #3
kapslock
LQ Newbie
 
Registered: Aug 2003
Posts: 28

Original Poster
Rep: Reputation: 15
dude,
i dont wanna format my hard drive.
i just wanna clean my partitions ,but want to keep them as they are except that i wanna get rid of whatever was installed on them due to half install of my application and start over??
thanks
 
Old 07-11-2004, 10:53 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
dude
cp /home /somewheresafe
cp /etc /seeabove
reinstallos
 
Old 07-11-2004, 11:42 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Yea dude I think you just want to remove everything and install, that's what would normally happen if you format the partitions.


Please clarify, do you want everything gone before install or not?
 
Old 07-12-2004, 12:43 AM   #6
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
d00d ... you can always rm -Rf * :P j/k... well... actually you could try something similar with a rescue disk , mounting the file system and just removing everything ... but I still think it could be worth it just to format the whole thing.

I mean if you want to delete everything, you can format again... maybe consider a new format type and partition sizes
 
Old 07-13-2004, 11:16 AM   #7
kapslock
LQ Newbie
 
Registered: Aug 2003
Posts: 28

Original Poster
Rep: Reputation: 15
thanks all...
i actually eneded up using rm -Rf

coz i jjust wanted to clean my parititons of the half install of the application and start afresh
thanks again
 
Old 07-15-2004, 01:26 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That's cool,

Just for next time you should know that format using mkfs or something else to do it will only format the filesystem not change partitions. To change partitions you use fdisk or cfdisk.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning up an old PC Merlyn Linux - Hardware 8 10-25-2005 07:33 AM
Cleaning out wine Maze the Kid Linux - Software 0 01-17-2005 03:28 PM
Cleaning up Harddisk d00msweek Slackware 6 12-16-2004 11:11 PM
cleaning up? phonecian Linux - Software 1 10-19-2003 07:27 AM
house cleaning adam_boz Linux - General 3 08-10-2002 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:12 PM.

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