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-2010, 07:20 AM   #1
hervebags
LQ Newbie
 
Registered: Oct 2010
Location: Cape Town, South Africa
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Repartitioning my hard drive


I have windows vista and ubuntu on my laptop.
Vista is the primary partition.
I would like to install a big big program on ubuntu (the MATLAB 2009 package).
In order to do that i need to change my hard drive partition. I only have 1.5 gigs left in the ubuntu partition but, i need more than 10 gigs.

Can anyone, please, tell me how i can repartition my hard drive?

Thanks in advance

Last edited by hervebags; 11-03-2010 at 08:40 AM.
 
Old 11-03-2010, 07:24 AM   #2
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
to resize existent partitions, use gparted
Code:
sudo apt-get gparted
* or use synaptic, or Ubuntu Software Center

After the install, an icon for it will show on the System > Administration menu

https://help.ubuntu.com/community/GParted

Last edited by fbobraga; 11-03-2010 at 08:42 AM. Reason: forget this post: all partitions need to be unmounted to resize...
 
1 members found this post helpful.
Old 11-03-2010, 08:04 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
There are 2 possibilities:
First backup your files.

Then download the live cd from gparted, burn it to cd, and boot from the cd
http://gparted.sourceforge.net/livecd.php
Partition you drive according to your needs,
First install windows then linux.
Or use gparted to decrease the windows partition, then increase the linux partition.
Before shrinking the windowspartition, you first need to defrag the partition.
Please note this can cause dataloss, so backup first.

Kind regards
 
1 members found this post helpful.
Old 11-03-2010, 08:26 AM   #4
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
forget my post: all partitions need to be unmounted to resize...

Last edited by fbobraga; 11-03-2010 at 08:32 AM. Reason: forget my post: all partitions need to be unmounted to resize...
 
Old 11-03-2010, 08:42 AM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,796

Rep: Reputation: 213Reputation: 213Reputation: 213
Use Vista...

You are advised to use the Vista Disk Management partitioning tool to shrink your Windows partition. Otherwise, Vista may well not boot. As mentioned, don't forget to defragment Vista before you begin.

This defragmenter will show you all the files on the Vista partition, including those that cannot be moved and limit how much you can reduce the size of the partition.

http://www.auslogics.com/en/software/disk-defrag/

Last edited by thorkelljarl; 11-03-2010 at 11:18 AM.
 
1 members found this post helpful.
Old 11-03-2010, 11:07 AM   #6
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
You can use Gparted from the Ubuntu LiveCD:

https://help.ubuntu.com/community/Li...ot+gparted.gif

Last edited by fbobraga; 11-03-2010 at 11:18 AM.
 
Old 11-03-2010, 01:21 PM   #7
hervebags
LQ Newbie
 
Registered: Oct 2010
Location: Cape Town, South Africa
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
This is my first thread in this forum.
I got 5 replies!! I think i love this forum

Thanks a lot fbobraga, repo and thorkelljarl.

The first thing i will do is purchase a cd.

From what i understand, doing it from a gparted live cd is the safest option.
 
Old 11-03-2010, 02:09 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
gparted-live-cd actually will resize and move files & check existing fs while resizing.
 
Old 11-03-2010, 02:21 PM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
you still need to defrag windows
 
  


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
Does anyone know about repartitioning a hard drive with windows 98? sondl509 Linux - Newbie 5 01-01-2009 01:39 PM
Repartitioning the Hard Drive......... bijit Linux - General 2 07-23-2007 10:34 AM
Hard Drive Repartitioning lazeeboy Linux - Newbie 8 03-13-2006 01:35 PM
Hard Drive Repartitioning C&C Freak 2K Linux - General 1 05-20-2005 12:29 PM
repartitioning hard drive nicomon Linux - General 4 11-26-2002 09:40 PM

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

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