Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Installation > Shrinking NTFS partition more than it wants to

Forgot Password?
 Installation   Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-16-2005   #1 (permalink)
Just Joined!
 
TruthSeeker's Avatar
 
Join Date: May 2005
Location: 127.0.0.1
Posts: 58
Shrinking NTFS partition more than it wants to

Well I've finally gotten my laptop on which I'm attempting to install Debian. It's a Toshiba Satellite A65-s126 with a 60 GB hd. I want to leave a small Windows XP partition, just in case I ever need it. Naturally it comes with a restore disk rather than an OS disk, and my understanding is that this means you can't just install the OS into a small partition, it has to restore factory settings. (I don't actually have the disk, but I will soon.) So the partition must be shrunk nondestructively.

I've read that it's good to do a defrag first to compact the data as much as possible prior to resizing, so I did that. The defragger's legend showed data extending to about 15 GB, with a lot of blank space in between. I figured, great, this should be able to bring it down to about 5 or 10 GB. Instead, the defragger plopped down a hunk of data right in the middle of the drive, and refused to move it to the beginning. (Ah, the user-friendliness of Windows...) So when I tried to shrink the partition with the Debian installer (which uses Partman, which uses ntfsresize), I couldn't get it any smaller than about 32 GB.

So is there any way to move, or get Windows to move, that bit of data to the beginning of the drive, so it can be shrunk more? (And no I'm not buying PartitionMagic.) Or is there some way of using the restore disk to reinstall Windows onto a small partition (though maybe I shouldn't ask that on a Linux forum)?
TruthSeeker is offline  



Reply With Quote
Old 08-16-2005   #2 (permalink)
Linux Engineer
 
d38dm8nw81k1ng's Avatar
 
Join Date: Mar 2005
Location: Newcastle
Posts: 793
Send a message via AIM to d38dm8nw81k1ng Send a message via MSN to d38dm8nw81k1ng Send a message via Yahoo to d38dm8nw81k1ng
well, the best way is to have an OS CD (like me) but in this case, like you said, it ain't happening.
i'm not sure if the restore CD will work, but if it doesn't have the OS on it (which i imagine it doesn't) then there is no chance. you could try getting your hands on a copy of the windows OS CD (legally or illegally, you choice). i had a problem where i needed to reinstall windows when i first installed SuSE so i know the situation you are in.
__________________
Here's why Linux is easier than Windows:
Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?
d38dm8nw81k1ng is offline   Reply With Quote
Old 08-16-2005   #3 (permalink)
Just Joined!
 
TruthSeeker's Avatar
 
Join Date: May 2005
Location: 127.0.0.1
Posts: 58
I don't want an illegal CD because I don't want to take the risk, plus it gives a bad reputation to Linux users. But I definately don't want to pay the MS Tax twice. I don't actually need to reinstall, if that bit of data could just be moved to the beginning of the drive. Maybe there's some proprietary freeware program that can do it? If it can't be done, I suppose I could do a restore, which would at least reduce the used space on the partition back to about 15 GB... maybe I could use the space for read-only stuff like music.
TruthSeeker is offline   Reply With Quote
Old 08-16-2005   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,076
If it comes to installing linux with a disc procured using "questionable" means, remember it's not the disc that's illegal, it's the use of it. You have a licence for Windows already. A recovery CD is only good for so much, I would say for most serious problems you need an OS disc. Everyone knows a reinstall every six months is almost necessary!
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 08-17-2005   #5 (permalink)
Linux Engineer
 
d38dm8nw81k1ng's Avatar
 
Join Date: Mar 2005
Location: Newcastle
Posts: 793
Send a message via AIM to d38dm8nw81k1ng Send a message via MSN to d38dm8nw81k1ng Send a message via Yahoo to d38dm8nw81k1ng
^^what he said. it's worth noting that most people here have not paid for windows in a loooooooong time. we either get them with our PCs or transfer the license from an old PC (which is illegal but the EULA is bs). technically, since you've paid for the license (with you PC), using a different CD to "refresh" that license (as long as you use your own CD-Key) is not illegal
__________________
Here's why Linux is easier than Windows:
Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?
d38dm8nw81k1ng is offline   Reply With Quote
Old 08-18-2005   #6 (permalink)
Just Joined!
 
Join Date: May 2004
Posts: 8
The debian installer includes an older ntfsresize which couldn't relocate yet fragmented Master File Table. Use the latest ntfsresize, currently 1.11.2, and your problem is gone. See here more: http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html

In other words, you don't need to use and care about defragmentation at all if you're using ntfsresize 1.11.2.
irgu is offline   Reply With Quote
Old 08-21-2005   #7 (permalink)
Just Joined!
 
TruthSeeker's Avatar
 
Join Date: May 2005
Location: 127.0.0.1
Posts: 58
Quote:
Originally Posted by d38dm8nw81k1ng
technically, since you've paid for the license (with you PC), using a different CD to "refresh" that license (as long as you use your own CD-Key) is not illegal
But isn't that impossible? i.e. if I use my key, doesn't it have to be my (nonexistant) OS CD in order to install? And if I were to obtain a working CD/key combo from someone, I couldn't "activate" it since the key would be in use by that person.
TruthSeeker is offline   Reply With Quote
Old 08-22-2005   #8 (permalink)
Linux Engineer
 
d38dm8nw81k1ng's Avatar
 
Join Date: Mar 2005
Location: Newcastle
Posts: 793
Send a message via AIM to d38dm8nw81k1ng Send a message via MSN to d38dm8nw81k1ng Send a message via Yahoo to d38dm8nw81k1ng
nah, that's a load of crap. the CD key will work with any disc so don't worry about that. the CD key is transmitted to MS HQ and they have no way of knwoing whether you used the CD they gave you or not.
__________________
Here's why Linux is easier than Windows:
Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?
d38dm8nw81k1ng is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:45 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1