LinuxQuestions.org
Visit Jeremy's Blog.
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 12-20-2006, 12:57 AM   #1
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Rep: Reputation: 15
Nuking partitions and starting over again


I have for some reason, tons of partitions taking up tons of space.

I have a 20gig hdd divided into like 8 or so partitions.

The one that I install DSL linux on, has less than 200mb, and is now filled up.

FDISK is confusing, and the tutorials for fdisk on the net suck.

I don't know how to delete things, and I can't download anything because of my hdd space.

I just need a way where I can nuke everything and have one partition, and have DSL linux on that one partition.

Norton Partition magic was easy enough when I used it on windows 98, so I tried to nuke dsl and go back to windows 98, but it gave me errors when I tried to format the drive.

So now I'm stuck... any ideas?
 
Old 12-20-2006, 01:30 AM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Use gparted liveCD http://gparted.sourceforge.net/livecd.php
 
Old 12-20-2006, 01:36 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The developers of fdisk recommends cfdisk to be used first. Try using cfdisk. After you deleted and make the partitions, type hdparm -z /dev/hda assuming /dev/hda is the drive that you recently created the partitions.

Partition Magic is a great utility to resize and split partitions, but I do not recommend using it to create partitions and formatting them. The best tools to use for creating partitions is the utilities that comes with the OS.
 
Old 12-20-2006, 01:49 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Most Linux installers will give you the option of taking over the whole disk.
But then you say something about going back to Windows 98.....

How exactly do you want to have things setup?
 
Old 12-21-2006, 01:12 PM   #5
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
Well DSL linux doesn't have the option of taking over the disk, so I think that's where thinks get messed up.

All I really want is to be able to use all 20gigs for one OS. I don't want to dual boot.

And I don't want a bunch of partitions floating around.

I also want to be able to uninstall DSL linux and go back and install windows 98 again, and vice versa.

The error I got in fdisk when I went fdisk /dev/hda was

"no valid partition tables"

I think i'm in trouble...
 
Old 12-21-2006, 02:41 PM   #6
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
that gparted live cd looks fantastic.

Unfortunately I don't think it will work, because the computer that has the partition tables messed up, is an older one.

Sigh...
 
Old 12-21-2006, 08:18 PM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You're not in trouble at all. Unless the drive is physically damaged, any install disk can blank the partition table and create its own. It will probably warn you like 4 times that you will lose all data on the disk, but that is exactly what you want to do! Just toss the qtpared disk in, and blank the whole disk. Then install DSL.

Peace,
JimBass

Last edited by JimBass; 12-22-2006 at 01:19 PM.
 
Old 12-22-2006, 12:51 PM   #8
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
I did try the gpart live cd just to make sure that it didn't work, and it did work!

There were quite a few errors I had to fix, but it was soo easy to fix em.

Thanks a ton guys.
 
  


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
windows killed my partitions! no linux partitions found on this computer. The MJ Linux - Software 10 01-05-2007 09:31 AM
e2fsck: root partitions and ro mounted partitions Clemente Linux - General 4 11-06-2006 10:32 PM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 07:15 PM
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 02:11 PM
Kernel nuking instructions..... CaptainInsane Red Hat 2 12-09-2003 08:18 AM


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