Search This Blog

Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Friday, December 30, 2011

Expand your Root partition in Linux. [Tutorial]



Here is a demo of how to expand the size of any partition in Linux. It could be either Root or Home or any other partition.

Prerequisites:
=> An empty partition just before or after your partition that needs to get expanded.
=> A separate installation of Linux in case you are expanding the root partition. Since the drive getting expanded needs to be un-mounted at the time of expansion.
=> Gparted Partition Editor. (usually comes pre-installed with Ubuntu)

My Laptop has 80GB of hard disk and currently has 4 OS installed. The pic below shows the scheme.
34GB for Windows
10 GB for ubuntu B
10 GB for Ubuntu N
and remaining 20 GB partitioned between swap, home and root partitions of my another Ubuntu installation that i generally use.
I realized that i was running out of space on my Ubuntu B partition while i was rarely using Ubuntu N. So, i decided to format the Ubuntu N installation and allocate the free space to Ubuntu B.

To format a partition, right click on the partition and format it. Gparted doesn't format it rightaway, but queues the action. Now the Free space is being shown as "unallocated".

To re-size the partition, right click on the partition to be modified and click on "resize".
This would prompt the box as shown in the above pic. you can either change the values or drag and shift the blue bar position to increase the size according to your requirement.

This is how it looks when the partition has been re-sized. I allocated the complete space to my partition.


Now it shows the new size of my Ubuntu B partition and 2 operations as pending.

Click on the green "tick" button to apply the operations. All the changes made till this point can be reversed as these are only the queued operations. Once the changes are applied, they will be permanent on the hard-disk.





Voila!!! The task is done. Now my Ubuntu B partition is of approx 20GB, without formatting the installation of Ubuntu B.

Saturday, December 24, 2011

Expand Linux Partition.


I started off using Linux as a hobby and eventually fell in love with it over the due course of time. Now my Linux partition has solution to all my computing problems. But, when i started, i wasn't sure if i would be using Linux full-time. So, i allotted the resources which were just enough to get my system running, i.e. just 5 GB of hard disk space to my Ubuntu's "/" partition(root partition). Recently, i realized that i was totally out of space on my root partition and needed to expand it. The advice from friends and Google was to "Format and re-install with new partition scheme". But that meant, me loosing all my installed softwares and their settings that i have used during past year and a half. Also, the Ego of a Computer Engineer was not allowing me to simply format the system. My efforts paid off and I was able to successfully expand the size of partition.


For demo, i expanded the size of my Ubuntu 8.10(Ubuntu B) after deleting a different version of Ubuntu (Ubuntu N) that i had once installed for testing purposes. Here is the tutorial showing how to safely Expand your Linux partition.

Friday, June 24, 2011

No Synaptic Package Manager for Ubuntu 11.10

This news may come as a shock for the users of Ubuntu that the advanced system packaging tool ‘Synaptic Package Manager’ has been dropped from the latest builds of Ubuntu 11.10 Oneiric Ocelot.

The removal of Synaptic Package Manager is not unexpected, having been planned since the inception of the Ubuntu Software Center. Since Software Center provides the same features along with allowing users to install debian packages(.deb files) and listing the softwares categorically in a very nice GUI. Many of the advanced features Synaptic currently provides are ear-marked for inclusion in the Ubuntu Software Centre.

Synaptic will still remain easily installable from the Ubuntu Software Center as a Utility.

Due to the development nature of Ubuntu 11.10 decisions and actions are subject to evaluation and change.

Wednesday, June 8, 2011

Restore Panels back to Default Configuration in Gnome..



Many times due to some mis-click or other reasons, we find that some essential Applet has gone missing from our Desktop panel. Once removed, it is hard to place them back as we don't know where to find them. So, here is an easy method to get the panel back with DEFAULT SETTINGS.
Be careful, because it will remove all the settings you have made to the panel in order to customize it and bring it to default. You will have to reconfigure it according to your needs.
Open the Terminal window and enter the following command at the prompt:

gconftool-2 --shutdown

(Note: There should be no spaces between the two dashes before shutdown.)

gconftool-2 -recursive-unset /apps/panel


Then enter the next command:

rm -rf ~/.gconf/apps/panel

And enter one more command:

pkill gnome-panel

That's it!

Both top and bottom panels will appear (if missing) with their default settings. Now you can customize them to your preference and get on with using Ubuntu.