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'd like to add more space to my SUSE partition as it became my main distro over Windows. Is there any way to do this? (NTFS being proprietary, Linux cannot write to it so could it resize it?) When I hit resize in YaST's partitioner, it complains about windows being mounted.
(What about ntfsresize?)
Here's the fdisk -l output:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 6 48163+ de Dell Utility
/dev/hda2 * 7 3257 26113657+ 7 HPFS/NTFS
/dev/hda3 3258 7295 32435235 f W95 Ext'd (LBA)
/dev/hda5 3258 3385 1028128+ 82 Linux swap / Solaris
/dev/hda6 3386 6199 22603423+ 83 Linux
SuSE can resize the NTFS partition, but it must not be mounted. You should also defragment the NTFS partition from Windows, and you have to make sure that there are no files at the end of it - SuSE can only take actual free space from the end of the partition, so if there is even one bit at the end, it won't work. Trouble is that XP occasionally puts some files at the end of a partition and leaves them there. You cannot get rid of them with Windows tools, but here's a trick I used:
With Norton System Works, you can set certain file extensions to be moved to the end of a partition. I did that with *.iso files, and had NSW sort several GB worth of *.iso files to the end of the partition during defragmentation, and then deleted those. After that I could resize the Windows partition with SuSE.
Originally posted by bitpicker SuSE can resize the NTFS partition, but it must not be mounted. You should also defragment the NTFS partition from Windows, and you have to make sure that there are no files at the end of it - SuSE can only take actual free space from the end of the partition, so if there is even one bit at the end, it won't work. Trouble is that XP occasionally puts some files at the end of a partition and leaves them there. You cannot get rid of them with Windows tools, but here's a trick I used:
With Norton System Works, you can set certain file extensions to be moved to the end of a partition. I did that with *.iso files, and had NSW sort several GB worth of *.iso files to the end of the partition during defragmentation, and then deleted those. After that I could resize the Windows partition with SuSE.
Robin
SUSE 9.2 uses ntfsresize 1.9 that is capable of safely moving around anything. No need for tricks, defrag, deleting files, turning off paging file, hibernation, system recovery, etc: http://mlf.linux.rulez.org/mlf/ezaz/...tml#fragmented
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.