Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-05-2011, 11:11 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 18

Rep: Reputation: Disabled
use free space to extend the space of a drive

hi guys...

My system is dual boot with win7 and ubuntu.
I have free space of around 10 gb.
I want to add this free space to my ubuntu drive.

How can i do that?
Old 07-05-2011, 11:25 AM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
use gparted or qtparted to see how the partions are.
Post the same.
Old 07-05-2011, 12:09 PM   #3
LQ Newbie
Registered: Jun 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
Originally Posted by amani View Post
use gparted or qtparted to see how the partions are.
Post the same.

gparted or qtparted didn't work for me...i tried this

sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x75c9ea72

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 14454 75137228 f W95 Ext'd (LBA)
/dev/sda5 5100 10198 40957686 7 HPFS/NTFS
/dev/sda6 10199 13846 29296640 83 Linux
/dev/sda7 13846 14454 4881408 82 Linux swap / Solaris
Old 07-05-2011, 01:01 PM   #4
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406
If you want to increase the size of your Ubuntu partition and not create another partition for it, use a GParted, Parted Magic or Linux CD. Do not use GParted from a running system as this can create problems. Your Extended partition does not go to the end of the drive.

Boot the CD, delete swap (sda7).
Resize the Extended partition (sda2) to the end of the disk.
Resize Ubuntu (sda6) by increasing it. Leave 1-2GB at the end and create a swap partition there.
This is one way of doing it.

Last edited by yancek; 07-05-2011 at 01:03 PM.
Old 07-05-2011, 01:27 PM   #5
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Windows 7 comes with a tool which can decrease (or increaes) the partition (even drive c. I would recommend to use this as a first step and then use Ubuntu and create another Linuxparititon in the free space.

On Windows 7 go to: "Start"->"Computer"->"Administration"->"Volume Management" (I'm not really sure with the english menuentries, but you may look at "help and support").


Last edited by markush; 07-05-2011 at 01:27 PM. Reason: typo


increase, space, 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
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 04:07 AM
Extend ext3 Partition Using Unpartitioned Space On Same Hard Drive - Fedora Core 6 aaron4katie Linux - Hardware 9 01-11-2007 06:20 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 09:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 01:44 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration