Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

resizing partition space on linux

Posted on 2010-08-19
5
Medium Priority
?
633 Views
Last Modified: 2013-12-16
hello,

I am just wondering how do you go about resizing a partition on linux.  In the attached image you can see that /dev/sda2 has a size of 3.2G and /dev/sda3 has a size of 69G, when I start trying to extract some iso files into a folder as part of another setup I am running out of space.  To that end, is it possible to reduce /dev/sda3's space and give some of it to /dev/sda2?

Thanks in advance,

Michael
linux-df-h.bmp
0
Comment
Question by:MichaelT_
5 Comments
 

Expert Comment

by:ZeBriD
ID: 33472831
0
 
LVL 11

Expert Comment

by:yarwell
ID: 33472940
Boot into a LiveCD version of most distros and you will have a partition editor like GParted available. Or use GParted Live CD ISO or bootable USB image from http://gparted.sourceforge.net/livecd.php

you then use the Resize option, see screen shots at http://gparted.sourceforge.net/screenshots.php
0
 
LVL 11

Accepted Solution

by:
Pieter Jordaan earned 2000 total points
ID: 33472970

It will be simpler to just create a soft link in the partition where want to install the application, to a folder on sda3

mkdir /var/ovs/mount/8C74A7Bsomething/application
ln -s /var/ovs/mount/8C74A7Bsomething/application /application
0
 
LVL 35

Expert Comment

by:torimar
ID: 33473158
Get the Parted Magic Live CD: www.partedmagic.com
It's only ~120mb and will be of invaluable use to you in the future for all sorts of tasks related to system maintenance, backup, and recovery. But it started out as a live distro created around GParted.

Here's a step by step illustrated guide on using GParted on Parted Magic: http://partedmagic.com/documentation/119-using-gparted.html
0
 
LVL 5

Author Closing Comment

by:MichaelT_
ID: 33481891
Thanks a lot :)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 3 hours left to enroll

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question