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 |
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.
|
|
04-09-2005, 05:33 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23
Rep:
|
help with re-arranging hard disk partitions
Hello,
I would like to install another linux distro on my system, but the way I set up my partitions in the beginning seems to be holding me back. Partitions look something like this:
hda1 20G NTFS (win XP)
hda2 10G FAT32 (shared linux/windows)
hda3 100M /boot
hda4 extended
hda5 17G /root
hda6 1G /swap
Essentially, I want to take ~7Gb from the FAT partition for the new install. I tried just resizing it to 2.5 G, leaving 7.5G of free space afterwards, but discovered that it wouldn't install in any free space unless it was at the end of the disk. This led me to try to move all my data to fill the empty space, but I then discovered (I thought) that qtparted didn't deal with ext3 very well. I used tune2fs to convert to ext2, but qtparted still wouldn't move my boot partition or anything after into that space.
Here's the question: what can I do to make room for a new installation?
BTW: adding a new hard drive is not an option, since this is all on a laptop.
Thanks,
matt
|
|
|
04-09-2005, 09:35 PM
|
#2
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,332
|
After you resized that 10GB partition to 2.5GB and leaving 7.5GB free space, did you partition that free space?
You can't install anything to free disk space. You will have to partition it and format the partition. Linux can be installed to any disk partition that is large enough for all that you want to put on it.
You'll also want to think about the boot loader to boot that installation. If you already have lilo or grub installed you can edit it to reflect the new install.
|
|
|
04-09-2005, 11:45 PM
|
#3
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23
Original Poster
Rep:
|
It won't let me format the space for some reason, I suspect because I already have 3 primary partitions. I seem to remember reading something about a limit on the number of primary partitions one can put on a drive before having to go into extended partitions.
|
|
|
04-10-2005, 09:31 AM
|
#4
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,332
|
Yes you can only have 3 primary parts on a drive but Linux will install to an extended part.
You could delete that 10GB part and make new partitions out of the free space if it is complaining about trying to separate that primary part. Back up the data on that partition and delete it. One way of fixing it.
|
|
|
04-10-2005, 05:13 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23
Original Poster
Rep:
|
I tried deleting the 10G partiton like you said, but it would only let me create another primary partition there. It wouldn't let me create an extended partition in that space. That would allow me to put a new root partition there, but I still need a new boot partition, right?
I suppose I could put that there and squish my existing root partition to add new boot and shared partitions, but if I could, I'd like to have things a little more organized than that. Do you have any insight on why I can't just move ext2 partitions? my partition editor doesn't have a problem moving NTFS or FAT, why is ext2 special?
|
|
|
All times are GMT -5. The time now is 01:46 PM.
|
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
|
|