LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 03-17-2012, 09:28 AM   #1
floopy1962
LQ Newbie
 
Registered: Jul 2010
Location: Bulgaria
Distribution: Ubuntu, Kubuntu
Posts: 25

Rep: Reputation: 0
Remove Ubuntu and keep Grub.


Hi there.. here is the deal... i have 3partitions and swap... one big for space one windows 7 and one Kubuntu.
Here is table
SDA1 >NTFS >System Reserved >100mb
SDA2 >NTFS >Windows7 >40gb
SDA3 >Extended >260gb
in SDA3>>>
>SDA6 >SWAP >2gb
>SDA7 >EXT4 >Ubuntu >40gb
>SDA8 >NTFS >[no os]just for stuff >220gb
Now what i want is to remove linux becouse i have realise that windows 7 need more space to work better and don't use linux that mutch.I want to completely remove Ubuntu, format the ubuntu and the swap partitions and then extend the windows7 partitions but the question i ask is:
how to keep GRUB after remove the linux partition?
You may think its a stupit question but i couldn't ask if it was so easy... here is the issue I HAVE NO CD OR DVD I'm now running Linux.. it work everythink is fine for now but how can i install grub in the big partition sda8 from my running linux without liveCD ?
Thank you
 
Old 03-17-2012, 09:55 AM   #2
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
You don't have CD or DVD, but if you have a USB host port and your BIOS can boot from USB, then simply use GParted Live on USB http://gparted.sourceforge.net/liveusb.php.

You can then delete Ubuntu and the swap partition, and extend your Windows partition with the free space.
 
Old 03-17-2012, 10:09 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,695

Rep: Reputation: 286Reputation: 286Reputation: 286
I have to ask why do you want to keep grub as a boot loader if you are removing Linux?

It would only slow the process of booting into windows and serves no purpose that I can discearn. The windows bootloader would be a better choice.
 
Old 03-17-2012, 10:42 AM   #4
McPhart
LQ Newbie
 
Registered: Mar 2012
Location: The Netherlands
Distribution: Debian Sarge, Ubuntu and BackTrack
Posts: 6

Rep: Reputation: Disabled
I don't see why you'd want to keep grub, but you could do the following:
- Boot a Gparted-CD
- create some free space (50MB will do)
- move partitions, so the free space is in the primary part
- boot into Linux
- create a new partition (EXT3) on the created free part
- flag it bootable
- move /boot to the newly created partition
- Edit boot.list and run grub-install

This way you'll have Grub as bootloader, but updating it when Ubunutu is uninstalled might be a problem
 
Old 03-17-2012, 02:36 PM   #5
floopy1962
LQ Newbie
 
Registered: Jul 2010
Location: Bulgaria
Distribution: Ubuntu, Kubuntu
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bigrigdriver View Post
I have to ask why do you want to keep grub as a boot loader if you are removing Linux?

It would only slow the process of booting into windows and serves no purpose that I can discearn. The windows bootloader would be a better choice.
is it possible to restore to windows 7 boot loader without cd ?
 
Old 03-17-2012, 02:48 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
You can at least give it a try: Open a terminal as administrator and launch the command
Code:
bootrec.exe /fixmbr
If it works it will restore the original bootloader.
 
  


Reply

Tags
boot loader, grub, harddrive, partition, windows 7


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Grub Customizer Lets You Reorder, Add Or Remove GRUB 2 (Or BURG) Menu Entries LXer Syndicated Linux News 0 10-09-2010 05:20 PM
How to remove GRUB svt11 Debian 2 12-25-2008 02:54 PM
GRUB Error 17 after trying to remove Ubuntu treythomas123 Linux - General 4 01-31-2008 11:04 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
how to remove grub from the grub prompt haroon110 Fedora - Installation 7 12-22-2005 11:57 AM


All times are GMT -5. The time now is 07:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration