LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-12-2007, 03:07 PM   #1
bnations
LQ Newbie
 
Registered: Oct 2006
Distribution: Fedora Core 6 & 7
Posts: 19

Rep: Reputation: 0
Trouble Resizing Partition


I have a HP pavilion ze5500 with a 60GB Fujitsu MHS2060AT HDD that is filled up with one NTFS partition. I am trying to resize it and free up about 20GB of space for FC6 but I keep running into problems apparently because I have a bad sector. I have been using NTFS resize program from the GPARTED live CD, and from a couple of other live cd's but they all complain about I/O errors. I ran chkdsk /r many times but nothings working. I need to keep XP on here so what else can I do to shrink down the partition?

Thanks
 
Old 02-12-2007, 04:10 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
All those tools use ntfsresize, and as you found it generally won't allow the resize if it finds inconsistencies.
It can be forced, but I wouldn't advise that personally.

Go have a look at the doco on linux-ntfs.org
 
Old 02-12-2007, 05:22 PM   #3
Sintu
LQ Newbie
 
Registered: Jun 2006
Distribution: Ubuntu, Knoppix, any I can get my hands on!
Posts: 24

Rep: Reputation: 15
I doubt this is the issue, but just to throw it out there, I know that you have to properly shut down Windows to resize the partition, you can't just press the power button. Gotta click "start, "turn off computer" then hit restart, and let it do it's thing.
 
Old 02-12-2007, 06:59 PM   #4
bnations
LQ Newbie
 
Registered: Oct 2006
Distribution: Fedora Core 6 & 7
Posts: 19

Original Poster
Rep: Reputation: 0
Heres what I just did

After backing up data, running Chkdsk /f, Chkdsk /f /r, and rebooting twice, I went into GPARTED and using
ntfsresize -b -f -s 20G /dev/hda1
I get something like this:

Error reading $Mft records : I/O error
failed to open extent inode: I/O error
failed to map extent inode: I/O error
100% completed
accounting clusters
cluster accounting failed at #### (Hex): extra cluster in $bitmap
filesystem check failed: Totally 5689 cluster accounting mismatches
Error NTFS file system is inconsistent
Then is says to use chkdsk /f

HELP!!!

Last edited by bnations; 02-12-2007 at 07:01 PM.
 
Old 02-12-2007, 08:05 PM   #5
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
I also planning to shrink down my windows partition in order to install another linux distribution but i have no idea how to do it?

Hope anyone who know this issues can help those who don't know.


Your help is greatly is appreciated.
 
Old 02-12-2007, 09:10 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
@Peter_APIIT the mentioned GParted liveCD is probably as the best option.
 
Old 02-13-2007, 03:26 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
I don't understand what u mean. Sorry for my stupidness.
 
Old 02-13-2007, 03:38 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Have a look here - download the liveCD and burn it as an image.
Boot that, and it'll look very similar to Partition Magic. The reason for using a liveCD is that it ensures you aren't using (or mounting) the partition(s) you are going to resize.
 
Old 02-13-2007, 12:25 PM   #9
bnations
LQ Newbie
 
Registered: Oct 2006
Distribution: Fedora Core 6 & 7
Posts: 19

Original Poster
Rep: Reputation: 0
Does anyone know how to work around the bad sector problem???
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 12:21 PM
? on resizing partition eroica Mandriva 0 05-11-2004 11:50 AM
Resizing the / partition lacerto Linux - General 1 03-18-2004 12:48 PM
XP, NTFS, Partition Resizing, and a whole lot of trouble. Please help me people! liquidwonders Linux - Software 7 08-26-2003 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration