Linux - GeneralThis 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
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.
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.
I've just moved from Mandrake 9.1 to Redhat 9. I don't like mandrake, but I love redhat. However I'm having a problem:
I've lost 2gb of disk space.
There is 5gb of space allocated to linux - I found the redhat partitioning program very complicated compared to mandrakes, so I just told it to install over the top and partition automatically.
Now when I use Kdiskfree, it shows 2 linux partitions, /dev/hda2 and /dev/hda3. (/dev/hda1 is my windows one). Now, /hda2 is 100mb and is mounting at '/boot'. /dev/hda3 is 2.5gb is mounted at /. Now that adds up to nearly 3gb. However, I have allocated 5gb of space to linux. I'm guessing that the 2gb is unpartitioned, anyone have any ideas on how to claim it back?
should skow all partitions. If you have 2 gb's extra left over - you can either use Parted to resize hda3, or create a seperate partition hda4 and mount it as /usr, /home, or whatever you need. BTW, I'm assuming you have no swap - you didn't mention it. If you do (most likely), maybe that is hda4, so just create a hda5
edit: When I used mandrake, my third partition was /home. If I mount it to there, will my current files inside there be moved over or will I have to start again?
/dev/hda1 * 1 4462 35840983+ 7 HPFS/NTFS
/dev/hda2 4463 4475 104422+ 83 Linux
/dev/hda3 4476 4810 2690887+ 83 Linux
/dev/hda4 4811 5005 1566337+ f Win95 Ext'd (LBA)
/dev/hda5 4811 5005 1566306 82 Linux swap
So there is a linux swap partition, but for some very odd reason hda4 is formatted (with my 2gb of spcae one it) as FAT32?! Why on earth would the redhat partitioner do that?
What's even funnier is that hda4 and hda5 seems to be the same partition - look at the starts and ends.
; )
The simplest way to solve this?
Probably remove hda4 and hda5.
then re-partition hda4 creating a 100-200mb swap. Then use the rest to create a hda5 partition with /home, or something.
OTOH, if you want to do a little more work, remove 4 and 5. Then resize hda3 to whatever size you want with parted, creating possibly a hda4 for swap.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
an extended partition is considered a type of primary
partition. just one that you can split up.
turn your swap off, delete 5 and 4.
use diskdrake to make 3 bigger, if you want.
You can have up to 4 primary partitions on a drive.
One of the primary partitions can be used as an extended partition. An extended partition is basically a container for logical drives. You can have up to 64 logical drives.
To make hda3 bigger you will need to boot from the 1st install CD and select rescue mode. You don't want it to be mounted. Delete partitions 4 & 5 and then resize 3. You can use parted but it has limitations depending on what kind of filesystem it is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.