RustyOrbit
September 1st, 2009, 05:36 AM
Hello, First of all, I will describe my computer knowledge level, I know my way around windows, and can bluff DOS, but am not an enthusiast (though i did assemble my current PC). I have had a passing interest in Linux, but never really put the time into learning or installing it.
to start at the begining, I bought an HP Pavillion a few years ago with a preinstalled win XP Media center edition, I then realized that Integrated graphics sucked, and needed to upgrade, so i saved the processor (P4 3.06 GHz) Ram (1GB ddr2 400) and HD (200GB seagate) and replaced the MOBO and PSU and added a GFX card (nvidia 7600gt)
Windows then installed Genuine advantage and told me that i had pirated windows. I called Microsoft tech support and they were able to bypass that, but i dont think that the same routine would work again.
anyway fast forward a year: I reboot windows and i get NTLDR is missing error, only fix involves boot CD that I don't have. anyway I say screw it, I've always wanted to learn Linux, now's as good a time as any, and get Ubuntu 9.04. I boot it from CD and am attempting to install to my 200GB HD
Problem is that I have an 8GB Fat32 "Recovery" Partition (useless) and a 178.3 GB NTFS partition with all my files on it. I dont have anything that I absolutely can't lose on my HD, but i would much prefer not to wipe the thing.
so i did some googleing, booted up GParted, freed up just shy of 50 Gigs, and attempted to shrink the 178 GB NTFS partition by about 40 GBs, then create an ext3 partition for Ubuntu and a small swap Partition. But GParted returns an error when I tried to execute the resizing. some more googleing suggests that defraging my NTFS partition may help, but i cand find a utility to do it from within linux and I cant access windows.
I guess that the point of this novel is that I don't know what to do next.
also, here is logfile of GParted
GParted 0.4.3
Libparted 1.8.8
Move /dev/sda2 to the right and shrink it from 178.30 GiB to 139.78 GiB 00:01:28 ( ERROR ) calibrate /dev/sda2 00:00:00 ( SUCCESS ) path: /dev/sda2
start: 16798320
end: 390715919
size: 373917600 (178.30 GiB) calculate new size and position of /dev/sda2 00:00:00 ( SUCCESS ) requested start: 16803990
requested end: 309942044
requested size: 293138055 (139.78 GiB) new start: 16803990
new end: 309942044
new size: 293138055 (139.78 GiB) check file system on /dev/sda2 for errors and (if possible) fix them 00:00:11 ( SUCCESS ) ntfsresize -P -i -f -v /dev/sda2 ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 140432 MB (73.4%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 183838 MB 0
Multi-Record : 190769 MB 77382
$MFTMirr : 1 MB 1
Compressed : 191405 MB 22159
Sparse : 191346 MB 233777
Ordinary : 191446 MB 144682
You might resize at 140431781888 bytes or 140432 MB (freeing 51014 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink file system 00:01:05 ( ERROR ) run simulation 00:01:05 ( ERROR ) ntfsresize -P --force /dev/sda2 -s 150086684159 --no-action ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
New volume size : 150086676992 bytes (150087 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 140432 MB (73.4%)
Collecting resizing constraints ...
Needed relocations : 6896840 (28250 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
ERROR: Extended record needed (1048 > 1024), not yet supported!
Please try to free less space.
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:11 ( SUCCESS ) ntfsresize -P -i -f -v /dev/sda2 ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 140432 MB (73.4%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 183838 MB 0
Multi-Record : 190769 MB 77382
$MFTMirr : 1 MB 1
Compressed : 191405 MB 22159
Sparse : 191346 MB 233777
Ordinary : 191446 MB 144682
You might resize at 140431781888 bytes or 140432 MB (freeing 51014 MB).
Please make a test run using both the -n and -s options before real resizing!
grow file system to fill the partition 00:00:01 ( SUCCESS ) run simulation 00:00:01 ( SUCCESS ) ntfsresize -P --force /dev/sda2 --no-action ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
New volume size : 191445807616 bytes (191446 MB)
Nothing to do: NTFS volume size is already OK.
real resize 00:00:00 ( SUCCESS ) ntfsresize -P --force /dev/sda2 ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
New volume size : 191445807616 bytes (191446 MB)
Nothing to do: NTFS volume size is already OK.
========================================
to start at the begining, I bought an HP Pavillion a few years ago with a preinstalled win XP Media center edition, I then realized that Integrated graphics sucked, and needed to upgrade, so i saved the processor (P4 3.06 GHz) Ram (1GB ddr2 400) and HD (200GB seagate) and replaced the MOBO and PSU and added a GFX card (nvidia 7600gt)
Windows then installed Genuine advantage and told me that i had pirated windows. I called Microsoft tech support and they were able to bypass that, but i dont think that the same routine would work again.
anyway fast forward a year: I reboot windows and i get NTLDR is missing error, only fix involves boot CD that I don't have. anyway I say screw it, I've always wanted to learn Linux, now's as good a time as any, and get Ubuntu 9.04. I boot it from CD and am attempting to install to my 200GB HD
Problem is that I have an 8GB Fat32 "Recovery" Partition (useless) and a 178.3 GB NTFS partition with all my files on it. I dont have anything that I absolutely can't lose on my HD, but i would much prefer not to wipe the thing.
so i did some googleing, booted up GParted, freed up just shy of 50 Gigs, and attempted to shrink the 178 GB NTFS partition by about 40 GBs, then create an ext3 partition for Ubuntu and a small swap Partition. But GParted returns an error when I tried to execute the resizing. some more googleing suggests that defraging my NTFS partition may help, but i cand find a utility to do it from within linux and I cant access windows.
I guess that the point of this novel is that I don't know what to do next.
also, here is logfile of GParted
GParted 0.4.3
Libparted 1.8.8
Move /dev/sda2 to the right and shrink it from 178.30 GiB to 139.78 GiB 00:01:28 ( ERROR ) calibrate /dev/sda2 00:00:00 ( SUCCESS ) path: /dev/sda2
start: 16798320
end: 390715919
size: 373917600 (178.30 GiB) calculate new size and position of /dev/sda2 00:00:00 ( SUCCESS ) requested start: 16803990
requested end: 309942044
requested size: 293138055 (139.78 GiB) new start: 16803990
new end: 309942044
new size: 293138055 (139.78 GiB) check file system on /dev/sda2 for errors and (if possible) fix them 00:00:11 ( SUCCESS ) ntfsresize -P -i -f -v /dev/sda2 ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 140432 MB (73.4%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 183838 MB 0
Multi-Record : 190769 MB 77382
$MFTMirr : 1 MB 1
Compressed : 191405 MB 22159
Sparse : 191346 MB 233777
Ordinary : 191446 MB 144682
You might resize at 140431781888 bytes or 140432 MB (freeing 51014 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink file system 00:01:05 ( ERROR ) run simulation 00:01:05 ( ERROR ) ntfsresize -P --force /dev/sda2 -s 150086684159 --no-action ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
New volume size : 150086676992 bytes (150087 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 140432 MB (73.4%)
Collecting resizing constraints ...
Needed relocations : 6896840 (28250 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
ERROR: Extended record needed (1048 > 1024), not yet supported!
Please try to free less space.
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:11 ( SUCCESS ) ntfsresize -P -i -f -v /dev/sda2 ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 140432 MB (73.4%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 183838 MB 0
Multi-Record : 190769 MB 77382
$MFTMirr : 1 MB 1
Compressed : 191405 MB 22159
Sparse : 191346 MB 233777
Ordinary : 191446 MB 144682
You might resize at 140431781888 bytes or 140432 MB (freeing 51014 MB).
Please make a test run using both the -n and -s options before real resizing!
grow file system to fill the partition 00:00:01 ( SUCCESS ) run simulation 00:00:01 ( SUCCESS ) ntfsresize -P --force /dev/sda2 --no-action ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
New volume size : 191445807616 bytes (191446 MB)
Nothing to do: NTFS volume size is already OK.
real resize 00:00:00 ( SUCCESS ) ntfsresize -P --force /dev/sda2 ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 191445807616 bytes (191446 MB)
Current device size: 191445811200 bytes (191446 MB)
New volume size : 191445807616 bytes (191446 MB)
Nothing to do: NTFS volume size is already OK.
========================================