LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2008, 04:35 PM   #1
Mac_09
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
Exclamation Trying to install Xubuntu with windows xp and I couldn't resize the first partition.


I already have windows XP installed on a 30GB hard drive. I tried to install Xubuntu on a dual boot just a few minutes ago. Everything worked well, even checked for problems before install, that went fine. Install was working until the partitioning part. I chose the option to resize the first partition (windows XP) and install Xubuntu in the free space and got the following message:

[!!] Partition disk
The resize operation is impossible
Because of an unknown reason it is impossible to resize this partition.

Check /var/log/syslog or see virtual console 4 for the details.

How do I fix this?

If this can't be fixed then I wouldn't mind having a linux only machine, but will I be able to keep my same outlook e-mail address from when I had windows XP?

Last edited by Mac_09; 05-11-2008 at 07:07 PM.
 
Old 05-11-2008, 04:45 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,659
Blog Entries: 56

Rep: Reputation: Disabled
Have you defragmented your XP? If not, first disable the page file, reboot, defragment. Then try resizing.
 
Old 05-11-2008, 06:29 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,001

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
ntfsprogs doesn't require the any of that anymore, but it does require the partition to be error-free. That can only be fixed from windoze.
Go back to windoze and run "chkdsk /f" from a command window. Reply "y" to the reboot query, and reboot - twice.

If the errors are all corrected, then try the resize again. Otherwise, you are out of luck.
The email client determines the user name you expose, so yes you should be o.k. if you decide to change completely.
 
Old 05-11-2008, 08:14 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,659
Blog Entries: 56

Rep: Reputation: Disabled
From what I've read, ntfsprogs will resize the filesystem, but not the partition. The page file (shows up as a green band in the XP defrag GUI, designated as "cannot be moved"), still needs to be disabled before resizing the partition.

http://linux.die.net/man/8/ntfsresize

Last edited by brianL; 05-11-2008 at 08:18 PM.
 
Old 05-11-2008, 08:39 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,001

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
Should have been more specific - these days all the NTFS resizing tools use ntfsprogs "under the covers". The GUI typically handles the partition resizing separately for you - usually (always ???) using libparted.
I've never had to disable a windoze page file to do any resizing - when done from Linux. And I do this a lot. Of course, it also can't hurt, so by all means try it.
 
Old 05-11-2008, 09:04 PM   #6
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Have you tried gparted.
It is a live cd and is very easy to use.
http://gparted.sourceforge.net/

I have never run into any problems with it.
 
  


Reply

Tags
boot, dual, xubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Suse 10.0 and Windows XP partition resize AustinMarton Linux - Newbie 7 05-17-2007 05:53 AM
How can I resize windows/Linux and do a automatic partition happydog500 SUSE / openSUSE 8 03-12-2007 05:50 PM
cannot resize Windows partition (fat) timsch75 Linux - Newbie 6 06-23-2004 10:45 AM
unable to resize windows partition with YAST timsch75 Linux - General 2 03-19-2004 10:46 PM
trying to resize the linux partition from Windows havitush99 Linux - Software 2 02-18-2002 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration