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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-13-2005, 09:19 AM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 13
Rep:
|
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.
|
|
|
03-13-2005, 09:26 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
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.
|
|
|
03-13-2005, 10:43 AM
|
#3
|
LQ Newbie
Registered: Feb 2005
Posts: 13
Original Poster
Rep:
|
Damn......I've only started to use Linux the last 3 days...
|
|
|
03-13-2005, 11:15 AM
|
#4
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|