Fedora Linux Support Community & Resources Center
  #1  
Old 13th February 2010, 06:55 PM
crosbytr Offline
Registered User
 
Join Date: Jan 2009
Posts: 20
linuxfedorafirefox
Remove Triple boot?

I am currently have a boot choice of Win 7, Fedora 11, and Ubuntu 9. They were installed in that order. Everyone told me how great ubuntu was and I wanted to try it. I do not like it, I prefer Fedora. I would like to remove Ubuntu, but still want to keep Fedora and Windows. Any help would be appreciated. I'm still a linux novice, so please be specific. Thanks.
Reply With Quote
  #2  
Old 13th February 2010, 08:10 PM
farfromhome Offline
Registered User
 
Join Date: Jun 2009
Posts: 9
linuxfedorafirefox
Here are the steps:

1) Boot into Fedora
2) Install GParted if it's not already installed
3) Run GParted, and write down (on paper, or in gedit, kwrite, or wherever) what partitions exist and where on the drive that you are interested in.

If you don't have any volume labels, it might be a bit harder to discern which is which, but mounting and rummaging around those partitions should give you the answer. (To help you start, look at the partition formats: NTFS = Windows, ext2/3/4 = Linux, swap is obvious.) Be very careful to note any purely-data partitions; you don't want to destroy your /home partition if you have one, for example!

4) Copy any data from the Ubuntu partition you want to save back to your Fedora partition (in Nautilus, Dolphin, the command-line, or however else you like.)

5) In Fedora, reinstall the boot-loader by going to the command-line (aka terminal), and typing:
su -c '/sbin/grub-install /dev/sda'
Give it your root password when it asks for it.
IMPORTANT NOTE: Replace /dev/sda with whatever drive your OS partitions are on if needs be.

6) Unmount the Ubuntu partition, and then use GParted to delete the Ubuntu partition. You may now expand the Fedora partition to take up the space that Ubuntu used to, assuming that the Fedora partition is immediately preceding the Ubuntu one.

That should be it! There are a couple of caveats though:

Since you installed Ubuntu after Fedora, it shouldn't be an issue, but if you had to delete a partition that wasn't the last one, you'll have to update GRUB with your new partition numbers. To do you, you need to edit /boot/grub/grub.conf root. The specifics of doing so are beyond the scope of this tutorial, but if you need to do so, feel free to ask how.

This is all assuming that you have a normal partition layout; if you installed Fedora into a LVM, as it might if you let it do the partitioning for you when you installed it, it might be a bit more complicated.
Reply With Quote
  #3  
Old 13th February 2010, 09:23 PM
crosbytr Offline
Registered User
 
Join Date: Jan 2009
Posts: 20
linuxfedorafirefox
Thanks.
I have nothing in Ubuntu that I want to keep and it was the last OS installed. I will give it a shot this week end, and post the results. Thanks again.
Reply With Quote
  #4  
Old 13th February 2010, 09:46 PM
farfromhome Offline
Registered User
 
Join Date: Jun 2009
Posts: 9
linuxfedorafirefox
Hope it works out well! BTW, one thing I forgot: If you're going to expand the Fedora partition, you're going to need to do so from a live CD (or theoretically, a different OS ideally on another drive). A Fedora live CD would work wonderfully for this; you should be able to install GParted while on the live CD with no problem.
Reply With Quote
  #5  
Old 14th February 2010, 03:45 PM
crosbytr Offline
Registered User
 
Join Date: Jan 2009
Posts: 20
linuxfedorafirefox
My computer is still booting into the ubuntu boot loader. I did not delete the partition yet, but I figured it should boot into the original fedora boot loader. here are my partitions:

/dev/sda1 Windows Storage partition (d:\)
/dev/sda2 Windows Main partition (c:\)
/dev/sda3 Extended partition
/dev/sda6 ext4 Ubuntu partition
/dev/sda7 linux-swap
/dev/sda5 ext3 Fedora partition

I used this command since I want to use the fedora boot loader:
su -c '/sbin/grub-install /dev/sda5'

The only reason I have not removed the ubuntu partition is to ensure it will continue to boot.
Thanks again.
Reply With Quote
  #6  
Old 14th February 2010, 05:13 PM
farfromhome Offline
Registered User
 
Join Date: Jun 2009
Posts: 9
linuxfedorafirefox
Quote:
Originally Posted by crosbytr View Post
/dev/sda1 Windows Storage partition (d:\)
/dev/sda2 Windows Main partition (c:\)
/dev/sda3 Extended partition
/dev/sda6 ext4 Ubuntu partition
/dev/sda7 linux-swap
/dev/sda5 ext3 Fedora partition

I used this command since I want to use the fedora boot loader:
su -c '/sbin/grub-install /dev/sda5'
Close, but not quite. That installed the bootloader onto the Fedora *partition*, not to the drive itself. You need to leave off the 5 at the end in order for it to install to the MBR (Master Boot Record) of the drive.

su -c '/sbin/grub-install /dev/sda'
Reply With Quote
Reply

Tags
boot, remove, triple

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple Boot - Triple Drives guns90 Installation, Upgrades and Live Media 3 11th March 2009 06:18 PM
Triple Boot kicon_kijin Installation, Upgrades and Live Media 6 31st May 2007 11:15 AM
How to triple boot, adding xp home to 3rd disk, keeping boot sectors safe voam Installation, Upgrades and Live Media 5 9th March 2006 04:28 AM
Triple Boot XP 98 FC4 andygaley EOL (End Of Life) Versions 10 29th June 2005 05:13 PM
triple boot XP FC3 FC4 terry_g EOL (End Of Life) Versions 13 29th June 2005 12:24 PM


Current GMT-time: 10:19 (Monday, 28-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat