I wanted to use the distribution Parted Magic to have something user friendly to resize my Windows XP partition. Unfortunately, the live USB I created didn't worked, so I used a Gentoo Minimal Live USB to resize.
Before explaining how I resized the NTFS partition, let's see how to create a live USB. The process is really simple : under a gentoo box, emerge netbootin, and execute it. Aside from that, download the ISO image you want to place on your USB key, and mount your key (usually, WMs like Gnome or KDE mount it automatically). Now you have all the elements to create your Live USB key with netbootin. After booting the key on your NC20 (F2 to enter BIOS setup and change boot order), you will have your live linux.
Now, the resizing. first of all, you need to place all the data of the partition at the beginning. If it is unmounted, use something like this :
ntfsresize -s 9G /dev/hda2which will give you a ntfs partition with all its data in the ten first gigas. After that we need to redimension the partition, and to do so you must use fdisk :
fdisk /dev/hda: p (to print the partition table)
: d then
2 (to delete the partition /dev/hda2)
: n then
2 then
XXX (number of the Start cylinder shown for hda2 by "p") then
+10G (to recreate the partition with a little more space than the resize operation took, just to be sure)
: w (to write the partition table and exit)
You can now reboot to unsure windows is still operationnal (it will check the ntfs partition, so let it do it, it's needed after ntfsresize).
Here I am : I have a 160Gb HDD with 16Gb for Windows, and plenty of room for Gentoo !!