Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm trying to make a new partition to install Slackware on my computer, which already has three partitions (Windows, Ubuntu, and swap). I'm going to use fdisk, but everytime I do, I type "n", but it gives me an error saying there are no more available sectors left. I thought that you could have four, and I only have three, so what's the problem? Thanks!
How about the output of "fdisk -l"? This information is relevant.
There're only have 4 primary partitions and up to 16 partitions if config extended paritions instead of a primary paritition. for example, assume exist four primary partitions(/dev/hda1, /dev/hda2, /dev/hda3, /dev/hda4), you'll be warned as continute create new partition("n"). So, it's better backup the data of last primary parition, then remove it and create new extended partition to add more logical partitions. First of all, please check "fdisk -l" carefully.
Good luck,
--Phillip
Last edited by PhillipHuang; 01-09-2007 at 10:09 PM.
Would you review the harddisk capacity? Check the Block column of "fdisk -l" output, it seems that the disk is full and no space left.
40957686+35841015+1325362=78124063, depend on the harddisk geometry, it would be 80GB as marked.
1. Drop a given partition(s), then recreate >1 partition in the space it used to occupy. For example, you could delete /dev/sda3 and /dev/sda2, then redefine that space into multiple smaller partitions. Note: you would lose any existing data in those partitions.
2. You could use a tool such as BootIT NG to resize your Windows partition. Note that you currently are allocating ~42G of your 80G drive to Windows, and even if half that space is empty/unused, it's all still in a partition that has been allocated to Windows (and thus is unavailable to Linux). To rectify this situation, delete any and all obsolete files in Windows, then run a defrag, then use a partitioning utility to shrink the existing Windows parition and thus make space available to Linux. (The purpose of the defrage is to maximize the amount of contiguous free space, which is helpful when you are resizing) If you shrank your 42G Windows partition down to, say, 30G, you could allocate the remaining 12G to Slack.
3. Do you have a spare hard drive that you could install into your PC? This would permit you to retain your existing installations, while allowing you to install Slack on that second drive.
4. Take the plunge, dump Windows, install Slack in /dev/sda1
Regardless of your decision, be aware that repartitioning work can be risky, so make backups of any important data. Good luck with it, welcome to LQ! As a long-time Slack user, it still remains my #1 distro choice, and I applaud your desire to install it
Thank you very much for your help! I think I'm going to go with option two right now, and shrink my Windows partition. I'm gradually becoming a Linux-only user, but I occassionaly use XP. Anyway, thanks again for your help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.