LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-05-2011, 10:11 AM   #1
ashu2188
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, 10:25 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

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

Original Poster
Rep: Reputation: Disabled
Quote:
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, 12:01 PM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,667

Rep: Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730
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 12:03 PM.
 
Old 07-05-2011, 12:27 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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").

Markus

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


Reply

Tags
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 03:07 AM
Extend ext3 Partition Using Unpartitioned Space On Same Hard Drive - Fedora Core 6 aaron4katie Linux - Hardware 9 01-11-2007 05:20 AM
Not enough free space on hard drive with 50g of free space??? auoq Suse/Novell 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM


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