Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 :D 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 :)

share|improve this question
    
if you dont have a ubuntu cd create one using remastersys –  Tachyons Mar 17 '12 at 14:52
    
if really want to remove ubuntu ,remove the ubuntu partition from windows and repair your windows using windows repair cd/dvd –  Tachyons Mar 17 '12 at 14:56
    
download it from here neosmart.net/blog/2009/windows-7-system-repair-discs –  Tachyons Mar 17 '12 at 14:57
    
Thank you... now i through its inposible to restore only boot loader without repain the whole windows :D i will try to find an usb image :P –  floopy Mar 17 '12 at 19:48

2 Answers 2

It is possible to install grub in to it's own partition (ext2+) without the need for a full Ubuntu installation. Simply create a 100 MB partition, format it to ext2, then make an Ubuntu live USB to install grub from. Delete Ubuntu, extend Windows, then install Grub from the USB.

I can add more details if you need. Just comment.

share|improve this answer

Sorry I am not sure if I understood the problem correctly. You want to get rid of Ubuntu, but zou want to keep GRUB as you dont know how to recover the MBR for windows use only. If this is the problem setting my solution would be: Download easy bcd while being in a window session, install it and use this programm to rewrite the MBR and than delete the partitions used for ubuntu.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.