LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-09-2007, 09:17 PM   #1
sixsidepentagon
Member
 
Registered: Sep 2007
Posts: 41

Rep: Reputation: 15
Installing Ubuntu - How to partition?


I've finally decided to install Ubuntu on my computer, so I'll dual boot Windows XP and Fiesty Fawn. Trouble is, once I got to the partitioning part of the wizard, I got stumped. I tried the first option, which was supposed to automatically partition my hard drive, but then things got a bit confusing. I have a 37 gb hard drive, with about 20 of it being used right now. So I figured that giving about 12 to linux would be a fair idea, but the lowest I could go on the first option's slide was 17.5! Also, the slider could have gone up to 35gb, had I been crazy enough.

I'm now very paranoid that I'll accidentally write over Windows (which I absolutely need for certain things). Am I supposed to partition first or something?

Thanks in advance,
Sixside.
 
Old 09-09-2007, 09:37 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
open up garted, system>administration>Gnome Parition Editor and make you paritions from there, might be easier
 
Old 09-09-2007, 09:48 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,871

Rep: Reputation: 87
You have said you have free space on your hard drive but how many partitions do you have?

If you have the single partition that is usual to an OEM Windows install you need to resize it before you can create additional partitions to install Linux.

I usually turn off my Windows swap file, defrag, resize, then create additional partitions.

Last edited by 2damncommon; 09-09-2007 at 10:01 PM.
 
Old 09-09-2007, 10:02 PM   #4
sixsidepentagon
Member
 
Registered: Sep 2007
Posts: 41

Original Poster
Rep: Reputation: 15
So, use this gparted tool, okay.

Is it self-explanatory? Is there any fancy technique I need to know about before I go and mess up my hard drive? I've heard the word 'mount' thrown about when it comes to partition, do I need to know about it?
 
Old 09-09-2007, 10:32 PM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,871

Rep: Reputation: 87
I have preferred to use the proprietary Acronis partitioning tool to resize NTFS partitions but I see people post good results using gparted.
Following instructions I read about resizing NTFS I would in either case, 1) Turn off the Windows swap file, 2) Run Windows defrag, 3} Resize the Windows partition, 4) Turn the swap file back on. The free space can be partitioned before or during the install as you prefer.

Good Luck.

EDIT: I use 10GB for my prefered Linux partitions but have a partition for large file backup and storage.

Last edited by 2damncommon; 09-09-2007 at 10:48 PM.
 
Old 09-09-2007, 10:34 PM   #6
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by sixsidepentagon View Post
So, use this gparted tool, okay.

Is it self-explanatory? Is there any fancy technique I need to know about before I go and mess up my hard drive? I've heard the word 'mount' thrown about when it comes to partition, do I need to know about it?
You don't need to worry about mounting when you parition
 
Old 09-10-2007, 04:43 PM   #7
sixsidepentagon
Member
 
Registered: Sep 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Hope I don't sound like a complete idiot, but what is the Windows swap file?
 
Old 09-10-2007, 07:27 PM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
where windows puts stuff when it runs out of memory, Linux can use a swap file instead of a partition but most people use a swap partition
 
Old 09-10-2007, 09:30 PM   #9
sixsidepentagon
Member
 
Registered: Sep 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Aha! I think I found my problem. When I went to defrag my computer again in WIndows (figured it couldn't hurt), I found a couple of files lingering in the midst of my free space! In other words, while most of my files where on the left of the display, a couple were in the middle of the right! No matter how times I defrag, I can't get them to go and join their Windows friends. Is there any way of coaxing them to cluster with the other files?
 
Old 09-10-2007, 09:58 PM   #10
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,871

Rep: Reputation: 87
Quote:
Originally Posted by sixsidepentagon View Post
Hope I don't sound like a complete idiot, but what is the Windows swap file?
Start -> Control Panel -> Performance and Maintenance -> System ->Advanced Tab -> Performance; Settings -> Advanced Tab -> Virtual Memory; Change.
Choose no paging file then defrag.
Reset to the default System Managed Size after resizing.
 
Old 09-10-2007, 10:08 PM   #11
sixsidepentagon
Member
 
Registered: Sep 2007
Posts: 41

Original Poster
Rep: Reputation: 15
I just tried that, unfortunately didn't work. I'm convinced its those stray files that I have in my free space that are preventing the resize. Everytime I tried it, it said that their was an error in the resizing of hard drive. So how do I get those stray files in the right place?
 
Old 09-10-2007, 10:29 PM   #12
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,871

Rep: Reputation: 87
How much are you trying to shrink the partition?
 
Old 09-10-2007, 10:45 PM   #13
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
did you use the windows defragmenter or a third-party one
 
Old 09-10-2007, 10:59 PM   #14
sixsidepentagon
Member
 
Registered: Sep 2007
Posts: 41

Original Poster
Rep: Reputation: 15
I'm using the Windows defragmenter.
And I'm trying to shrink the Windows partition to about 27 gb, which will give Linux about 10.
 
Old 09-10-2007, 11:12 PM   #15
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Rep: Reputation: 30
so tell me again why you dont just backup all important files and dive head first into linux???
 
  


Reply


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
Is ubuntu or fedora supports installing on GPT-based partition? gabeyg Linux - General 1 08-19-2007 07:58 PM
Installing Ubuntu from hard drive partition icronk Linux - Newbie 2 08-08-2007 08:57 PM
Partition problem installing Ubuntu Studio Patrick K Ubuntu 1 05-16-2007 10:04 PM
installing Ubuntu with existing /home partition lobo78 Ubuntu 4 10-13-2006 04:46 PM
Installing ubuntu on existing Linux partitions (partition magic) markses Linux - Newbie 5 04-28-2006 12:50 AM


All times are GMT -5. The time now is 02:39 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