LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 11-03-2009, 10:47 PM   #1
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0
Adding Ubuntu to WinXP dual boot


[Log in to get rid of this advertisement]
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
macos bdmsb is offline     Reply With Quote
Old 11-04-2009, 02:27 AM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 162
Thanked: 26
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.
linuxubuntu wfh is offline     Reply With Quote
Old 11-04-2009, 06:13 AM   #3
themanwhowas
Member
 
Registered: Nov 2005
Distribution: Slackware 12.0
Posts: 131
Thanked: 5
backup your windows partition before you resize it or tears could ensue
windows_xp_2003 themanwhowas is offline     Reply With Quote
Old 11-04-2009, 06:34 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Ubuntu Karmic, CentOS 5.4
Posts: 2,487
Thanked: 158
Before you do anything to windows from Ubuntu, make sure you have the backup and you have defragmented all the partitions.
linuxubuntu linuxlover.chaitanya is offline     Reply With Quote
Old 11-04-2009, 10:38 AM   #5
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0

Original Poster
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.
macos bdmsb is offline     Reply With Quote
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.1 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 1,832
Thanked: 56
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.
linuxubuntu ronlau9 is offline     Reply With Quote
Old 11-04-2009, 11:39 AM   #7
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0

Original Poster
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.
macos bdmsb is offline     Reply With Quote
Old 11-04-2009, 12:23 PM   #8
Yaro
Member
 
Registered: Nov 2008
Posts: 30
Thanked: 0
You can do the partitioning you need from the Ubuntu LiveCD, which comes with GPartEd preinstalled. Be sure to defragment Windows first.
linux Yaro is offline     Reply With Quote
Old 11-05-2009, 02:34 PM   #9
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 162
Thanked: 26
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.
linuxubuntu wfh is offline     Reply With Quote
Old 11-06-2009, 02:13 AM   #10
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0

Original Poster
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!
macos bdmsb is offline     Reply With Quote
Old 11-07-2009, 10:31 AM   #11
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 162
Thanked: 26
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!
linuxubuntu wfh is offline     Reply With Quote
Old 11-07-2009, 10:56 AM   #12
clayb226
Member
 
Registered: Sep 2007
Location: Missouri
Distribution: CentOS, and many others
Posts: 31
Thanked: 2
I have used the GParted live cd for this kind of thing before.
windows_xp_2003 clayb226 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 06:23 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration