Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 have windows and linux on separate partitions, and i was resizing a partition from windows using PartitionMagic and allocating the new space to a new partition. After the resize i got an error. The new space is unallocated, and the program crashed everytime i tried to reallocate it.
I switched to Linux (RH9) and using fdisk, tried to add a new partition.
BUT
when i try to add, i get the message: No free sectors available
when i choose verify partition table i get: 3903919 unallocated sectors
here is my partition table:
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 4 32098+ de Dell Utility
/dev/hda2 * 5 1457 11671222+ 7 HPFS/NTFS
/dev/hda3 1701 2368 5365710 83 Linux
/dev/hda4 2369 2432 514080 f Win95 Ext'd (LBA)
/dev/hda5 2369 2432 514048+ 82 Linux swap
Basic partition information:
Primary partitions are labeled 1-4. Logical partitions are labeled >=5.
An extended partition is the method for creating more then 4 partitions and is a container for logical partitions.
In your case you already have 4 primary partitions and your extended partition is full because the swap file is using all of its space ie. extend = swap size. With your present configuration even though you have unallocated space you can not create anymore partitions.
I have never tried this but you could attempt to resize the extended partition and then create a logical. Or since the logical is only a swap file you can delete the extended and swap partitions Then create an extended to fill the entire unallocated space, then create a new swap partition and any additional partitions you want. You will have to format the swap partition and then change the fstab file if the partition ID is not the same as the original. To format swap: mkswap /dev/hdax where x is the partition ID.
I don't know why Partition Magic crashes, except it isn't perfect and might be trying something that can't be done.
It would be best if you used the 1st CD and booted into rescue mode. You really do not want the OS to be running on the same disk that your changing the partition table on or try to change a mounted partition. After you change the partitions you will want to reboot.
I have never had any problems with PM but you will find lots of post where it has screwed everything up. Always backup important data before making any changes.
i solved the problem by deleting the 32M partition that Dell has on the laptop and so then i have 3 primaries instead of 4, and reallocated the 2G free space as a new primary partition!
i hope i will never need whatever was on that 32M partition!
I hope so too. That partition was hidden and contained all of the recovery information for your system. If you every need to restore your windows OS your going to be SOL.
I have windows and linux on separate partitions, and i was resizing a partition from windows using PartitionMagic and allocating the new space to a new partition. After the resize i got an error. The new space is unallocated, and the program crashed everytime i tried to reallocate it.
I switched to Linux (RH9) and using fdisk, tried to add a new partition.
BUT
when i try to add, i get the message: No free sectors available
when i choose verify partition table i get: 3903919 unallocated sectors
here is my partition table:
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 4 32098+ de Dell Utility
/dev/hda2 * 5 1457 11671222+ 7 HPFS/NTFS
/dev/hda3 1701 2368 5365710 83 Linux
/dev/hda4 2369 2432 514080 f Win95 Ext'd (LBA)
/dev/hda5 2369 2432 514048+ 82 Linux swap
any ideas how to solve this?
thanks so much,
yzman
=====================
i think u may have damaged your partition table, and partition magic was not successful in modifying your partition info. U have to reinstall linux again with the option of not reformatting your needed partition (where your data reside).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.