Welcome to the most active Linux Forum on the web.
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 08-10-2009, 01:49 PM   #1
LQ Newbie
Registered: Aug 2009
Location: Concord CA
Posts: 4

Rep: Reputation: 0
Installed Ubuntu twice

Dear All,

I have installed the Ubuntu OS in my system; but the partition created for this OS was 2.5 GB, I felt it was very low to work. so I have tried to increase the memory in that particular partition, by booting the system with the Ubuntu bootup CD, Unknowingly I have installed the Ubuntu again. so I have got another partition with 18.5 GB.

Now I have two partitions with Ubuntu OS, how to merge these two partition and make use it for single Operating system(Ubuntu)?

Senthil S
Old 08-10-2009, 02:33 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Welcome to LQ!!

You cannot "merge" partitions---you can only delete, add, or re-size. Please post the complete partition list for the drive, and how you are using them. (e.g. do you have another OS installed, or maybe Windows?) You can open a terminal and enter "sudo fdisk -l" (that's an ell, not a one.) and post the results here.
Old 08-10-2009, 03:28 PM   #3
LQ Newbie
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Senthil S

If your new to Linux, your first encounter w/ it's partition tools can be scary. So I'm going to describe a way to fix your problems w/ a 3rd party partitioning application. So let's get started. You need to download Bootit NG and either burn it to a CD, put it on a floppy or SD card if your bios allows you to boot from one.


Instruction Videos!

Now reboot into Bootit (making sure the device/CD/floppy is first in order of bios, if it fails to boot on first try).

1. When Bootit menu screen comes up, choose "Cancel" (you don't need to install this to do what you need done).

2. It'll direct you to it's Desktop and hopefully your mouse will be enabled to make it easier. You'll see an icon to the left that says "Partition Work" (if not, use tab key to cycle thru choices). Click on that one!

3. All your drives and partitions will show up (make note of where your two Ubuntu installs are beforehand). Depending on which one you want to keep (ref the size) you can simply delete the partition you don't want.

4. After deleting it, you'll have an empty space there. You can then change the size of the partition either before or after the space left by the delete if you click "Resize" while that partition is hi-lighted.

5. You can also slide and reduce the size of partitions easily with this tool.

So lets say you wanted to keep that first install. Even though it's small, you can resize it to take the empty space left by the deleting of your second install (if you installed them side by side). You're Done!

Now this isn't going to fix your Boot Loader. But only one install in it, is going to work now. You can fix that, after you learn more about the linux tools. This will at least get you into a larger partition and delete the one you don't want. Once you reboot after removing the disc/floppy/SD card (since you haven't fooled w/ the MBR), you will have the same boot list. Then once booted back into Ubuntu you should be able find the boot editor, to delete the one you don't have anymore. I use Gentoo and Sabayon Linux, so this is all the futher I can instruct you.

(ok just notice a mod has answered since I was a little slow posting after logging in)
You can either choose to wait for an answer from someone who knows Ubuntu from the inside out or give this a try. I have used Linux and Bootit NG for well over 12yrs and it is a remarkable tool that can restore deleted or lost partitions, format and reorder both drives and partitions along with more than I could ever explain here. Hopefully it can help you out!


Last edited by Monark; 08-10-2009 at 03:39 PM.
Old 08-11-2009, 08:40 AM   #4
LQ Newbie
Registered: Aug 2009
Location: Melbourne, Australia
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 1
You don't need to spend $35 on a partition editor. You can use your Ubuntu live CD, or if you're feeling extravagant you can download and burn the open source GParted Live, or System Rescue CD.

Let's assume you are going to use your Ubuntu Live CD. Boot it up, then go into System>Administration>Partition Editor. GParted will boot up and show you the partitions on your hard drive(s) (you can switch between drives using a button on the top right). You will see your 2.5 GB partition, your 18 GB partition, and your linux-swap partition, and also a table listing them with some further info to help identify which is which.

-Get rid of your 2.5 GB partition - right click on it and select 'delete'.
-Then expand your 18 GB partition to use the extra space - right click and select Resize/Move, then increase the size to max. available.
-Then click the big 'apply' button.

Simple, right? No need to fork out $35 (unless of course you want to). Gparted is on pretty much every live linux CD out there.
Old 08-11-2009, 10:51 AM   #5
Senior Member
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
Or forget about partitioning at all, remove the contents of the smaller partition, and use it to store some data.



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
dual booting XP and ubuntu with ubuntu being installed first kajangmarc Linux - General 6 01-30-2009 02:06 PM
I Installed Office 2003 In Ubuntu, But It Installed All Apps, NOT Some davidx Linux - Software 1 10-19-2008 04:21 PM
How Do I Dual Boot XP and Ubuntu? (Ubuntu Is Installed First) taurusx5 Linux - Software 5 04-04-2008 09:40 AM
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM
Cannot boot already installed ubuntu on newly installed win xp abhi_337 Ubuntu 1 07-13-2006 03:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 PM.

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