LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-13-2005, 08:19 AM   #1
TroyR
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Rep: Reputation: 0
Question How would I delete a partition?


I installed Suse 9.2 with windows 98 and would now like to get rid of windows 98 and delete the partition to give Suse the full harddrive...
The partition was made with the Linux install.
 
Old 03-13-2005, 08:26 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Assuming windows 98 is on the first partition of the first drive:
cfdisk /dev/hda

(or fdisk /dev/hda)

In fdisk, press p to print the current partition table, then press d to delete a partition. It will ask for the partition number to delete - delete the one that's windows FAT format. Then you can create a new partition by pressing n and the default values for starting cylinder and ending cylinder should use the free space available. Run mkreiserfs or mke2fs -j on the new partition (make sure it IS on the new one because it will wipe any data on the partition!). Or...if you want to make the space available for an existing partition (say your /home or / partition) then run qtparted (available on knoppix and a few others) to resize your partitions.

I would highly recommend using knoppix to perform this last part because it means you can have all your partitions unmounted to resize them which is BY FAR the safer way of doing it.
 
Old 03-13-2005, 09:43 AM   #3
TroyR
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Damn......I've only started to use Linux the last 3 days...
 
Old 03-13-2005, 10:15 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Well alternatively, as I think about it, if you can get knoppix, boot that and then load qtparted, that should have all the functionality you need (including deleting a partition) and it's all in a nice GUI.

Or see if you can get RPM's of qtparted or gparted for your SUSE install.
 
  


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
Delete an entire partition john8675309 Linux - Software 1 02-02-2005 08:57 PM
delete third partition (what happens?) invasian Linux - General 1 09-24-2004 04:33 PM
Concerned about delete partition ajmacedo Linux - Newbie 3 10-28-2003 03:44 PM
Cannot Delete Partition Tweaker Linux - Newbie 7 02-25-2003 06:55 PM
how to delete an partition qanopus Linux - General 3 12-03-2002 08:16 AM

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

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