LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   increasing the size of / (https://www.linuxquestions.org/questions/linux-newbie-8/increasing-the-size-of-790459/)

rahulkya 02-20-2010 04:12 PM

increasing the size of /
 
I have dual partition window and linux(ubuntu).Gave 20gb to ubuntu but now it seems less for me,so want to increase the size of my ubuntu /.I have also 30gb of unpartitioned space rather than other partitions please help.
Thanks in advance
YoursAlways
Rahul Kumar

serafean 02-20-2010 04:28 PM

Hi,

Do I understand correctly that your disk is partitioned : Windows/Ubuntu(20G)/Unpartitioned(30G)? No separate partitions for Linux?

If you want to repartition your drive, just insert a Linux LiveCD (such as Ubuntu) and use the partition editor thats on it.

However, since you already have 30GB of unpartitioned space, may I suggest you make it your /home partition? that is create a filesystem on it, copy everything from your /home directory into it, and add a /home line to fstab. This ensures that if somehow your system stops booting, you could reinstall without having to worry about losing your personal data. (this would also free up any space used by data in /home on your / partition). [if the prospect of this operation scares you, just ignore this paragraph]

Serafean

Mohtek 02-21-2010 08:14 AM

If you are daring, I like serafean's advice, but would like to add something
 
If you do make a home partition on the free 30 gig space, you can choose the filesystem. If you choose FAT32 then that space can be your "My Documents" for Windows and "Home" for Linux.

The CD which I like to use for this is called Knoppix. It is a live CD, which means it runs the operating system off your CD ROM instead of your hard drive. It comes with a program called gparted, which will give you an easy to use program to move/make partitions.

rahulkya 02-23-2010 04:13 PM

yeah I know that,anyway thanks. But want to increase the size of my root partition i.e / . This is because I have installed so many packages so my / partition,which is about to get fill.

chrism01 02-23-2010 04:50 PM

Can you get into Ubuntu, then

sudo fdisk -l

(that's a lowercase L switch)

and also

df -h


All times are GMT -5. The time now is 10:35 PM.