LinuxQuestions.org
Visit Jeremy's Blog.
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 11-03-2009, 10:47 PM   #1
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Rep: Reputation: 0
Adding Ubuntu to WinXP dual boot


I have found directions for installing Ubuntu after WinXP, but the partitioning instructions require functions that are not presented to me in the Sherline Ubuntu installation. I have an 80 GB Windows partition but my Ubuntu installer won't let me resize it. Is this a "feature" of the Sherline installer that would not exist in some other download?

My only choices are
1) Use the entire disk
2) Use the largest free space (there is no free space)
3) Manual .... but manual has no "resize" function
 
Old 11-04-2009, 02:27 AM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
There is no "resize" function in your installer, yes, that's correct.

To resize a Windoze partition, you need to unscramble sectors on that partition, first. That process is sort of an art; booting into non-graphical mode, turning off all the swap space, multiple reboots, etc., etc. Are you at all familiar with what I'm saying?

Then use the 'parted' utility from Ubuntu. 'qtparted' is the program I prefer. Once you've resized the partition, you can begin your Ubuntu install.
 
Old 11-04-2009, 06:13 AM   #3
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, BT5, Slackware 12.0
Posts: 207

Rep: Reputation: 29
backup your windows partition before you resize it or tears could ensue
 
Old 11-04-2009, 06:34 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
Before you do anything to windows from Ubuntu, make sure you have the backup and you have defragmented all the partitions.
 
Old 11-04-2009, 10:38 AM   #5
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wfh View Post
There is no "resize" function in your installer, yes, that's correct.

To resize a Windoze partition, you need to unscramble sectors on that partition, first. That process is sort of an art; booting into non-graphical mode, turning off all the swap space, multiple reboots, etc., etc. Are you at all familiar with what I'm saying?

Then use the 'parted' utility from Ubuntu. 'qtparted' is the program I prefer. Once you've resized the partition, you can begin your Ubuntu install.
I have no experience with these things. I defragged but am left with a few files at the top end.
 
Old 11-04-2009, 10:54 AM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by bdmsb View Post
I have no experience with these things. I defragged but am left with a few files at the top end.
I do not use windows since a very long time any more.
Out of my memory there are 2 possibilities :
1) you have not turn off the swap file of windows before defrag or page file as they called it
2) They do have files with you can not be moved.
 
Old 11-04-2009, 11:39 AM   #7
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
I do not use windows since a very long time any more.
Out of my memory there are 2 possibilities :
1) you have not turn off the swap file of windows before defrag or page file as they called it
2) They do have files with you can not be moved.
I rebooted with no swap file and the files in the upper end of the partition did not move in defragmenting. They are not immovable file types.
 
Old 11-04-2009, 12:23 PM   #8
Yaro
Member
 
Registered: Nov 2008
Posts: 41

Rep: Reputation: 21
You can do the partitioning you need from the Ubuntu LiveCD, which comes with GPartEd preinstalled. Be sure to defragment Windows first.
 
Old 11-05-2009, 02:34 PM   #9
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by bdmsb View Post
I rebooted with no swap file and the files in the upper end of the partition did not move in defragmenting. They are not immovable file types.
This is not unexpected. There are often sectors left up high on the disk. The trick is to re-run the defragment process *REPEATEDLY*, booting in between trials. Boot into safe-mode, no swap, no graphical interface, etc, etc.

I have spent as much as two days defragmenting a Widoze disk before I re-partition with qtparted (or some other variant), with lots of defrag attempts.

Repeat, recapitulate, redo, and then do it one more time. You might see movement in those troublesome sectors.
 
Old 11-06-2009, 02:13 AM   #10
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wfh View Post
This is not unexpected. There are often sectors left up high on the disk. The trick is to re-run the defragment process *REPEATEDLY*, booting in between trials. Boot into safe-mode, no swap, no graphical interface, etc, etc.

I have spent as much as two days defragmenting a Widoze disk before I re-partition with qtparted (or some other variant), with lots of defrag attempts.

Repeat, recapitulate, redo, and then do it one more time. You might see movement in those troublesome sectors.
That was too tedious. I ordered a new HD for $60, installed Windows on half and had a clean half for Ubuntu. I have my dual boot now, but I can't get the wifi to fly under Ubuntu. Seems that there's always another obstacle!
 
Old 11-07-2009, 10:31 AM   #11
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
If you have time, you don't need money. If you have money, you don't need time. Seems to work that way in all endeavors : )

Congratulations on your dual-boot machine!
 
Old 11-07-2009, 10:56 AM   #12
clayb226
Member
 
Registered: Sep 2007
Location: Missouri
Distribution: CentOS, and many others
Posts: 34

Rep: Reputation: 16
I have used the GParted live cd for this kind of thing before.
 
  


Reply

Tags
acer, aspire, installing, ubuntu


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
How to make XP boot as default OS in WinXP-Ubuntu dual boot system svin Ubuntu 14 11-04-2009 05:49 PM
Uninstalling Ubuntu on a machine with WinXP Dual-Boot battle_scarred Linux - General 15 05-30-2007 01:51 AM
trying for dual boot after adding linux to WinXP Hotchips Linux - Newbie 14 02-08-2007 01:03 AM
Problem with Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 4 09-08-2005 08:27 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM


All times are GMT -5. The time now is 09:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration