Visit Jeremy's Blog.
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 09-06-2010, 08:55 AM   #1
LQ Newbie
Registered: May 2010
Posts: 1

Rep: Reputation: 0
remove a Linux partition

Hi All,

I have a PC with 3 installations:
1 windows install
2 Linux install

And I would like to remove one of the Linux partitions, but the grub2 loader is in the installation I'd like to remove. How can I modify my installation so that the booting process starts in the other Linux installation (it had grub 2 as well)

Sorry if that is a obvious question but I can't find info on that...

Old 09-06-2010, 09:14 AM   #2
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 98

Rep: Reputation: 21
You will have to install the grub of your Linux partition(which you want to keep) into the MBR.
Old 09-06-2010, 10:09 AM   #3
Fred Caro
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
moving grub

I think this will work, ie using a live cd to boot from the 'first hard drive', if the desired partition becomes your first drive after removal.Grub2 might override windows as the bootloader if installed from a recent live disk, and include a choice, but make sure first.
Old 09-06-2010, 10:30 AM   #4
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29

When you are in the grub menu, boot from the linux you want to retain.
After it boots, open a terminal window.

#grub-install /dev/sda or /dev/hda depending on the type of hard drive.

This will install grub in the MBR and the default linux will be the one you want to keep. Then delete the linux partition you don't want to keep.
1 members found this post helpful.


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
Best way to Resize Linux partition ? + kernel remove question -=Graz=- Slackware 19 05-25-2008 06:08 PM
How Do I: Remove a linux partition & GRUB bootloader. jkillah1 Linux - Newbie 11 06-09-2007 11:07 AM
Remove windows partition, enlarge linux candyman123 Linux - General 3 07-08-2006 09:24 AM
I am using windows and linux i one partition now ia m awnt remove the linux partition sathish80 Linux - Newbie 2 01-23-2006 10:55 PM
Remove linux partition juanb Linux - Newbie 1 08-14-2004 02:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:16 AM.

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