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.

At the moment I have Ubuntu and Windows 7 installed on my hard drive. Since I don't want to split my memory I want to remove Windows, but I have no idea how to do it since I am new to Linux.

Another problem I had after installing Ubuntu was that the Grub bootloader didn't work so I googled for a bit of advice, and now I think I have an older version of Grub. Is there a way to update it?

This is how my drive looks like at the moment:

enter image description here

share|improve this question
    
But is Grub working right now? Normally it auto-updates with the OS, so you don't need to worry about that. –  João André Jul 29 '13 at 13:46

1 Answer 1

up vote 0 down vote accepted

The first thing you should do is to back up any files you want to keep from the My Documents Folder.

You may need to repair your GRUB which can be done by following these guidelines

Next, in gparted, the programme you used in your screen shot in your question, Right click on the Windows 7 partition /dev/sda2 and select unmount next right click on the same partition and select delete to remove the partition. This will completely wipe windows ad ALL files on the windows partition

Now you will have a blank space on your hard disk where Windows used to be. Next you will want to resize the partition with Ubuntu on it to reclaim the unused disk space.

I have never done this, so you may need to format it first. I'm afraid that you will have to either look it up or work it out with trial and error. Please see Jez W's comment below

share|improve this answer
1  
He mentioned having trouble with grub. If grub isn't correctly installed, he might have problems booting into Ubuntu (but it is unlikely). I'd suggest he also re-installs grub with boot-repair just to avoid such problems. –  João André Jul 29 '13 at 13:47
    
@JoãoAndré That could be a good idea, and worth a try. I'll edit my answer. Thanks –  SimplySimon Jul 29 '13 at 13:52
1  
If I remember correctly from doing something similar, when extending the partition the space needs to be free rather than formatted. Also, when extending leftwards it's generally a good idea to back up anything important on the partition being extended - if extending to the right the extra space just gets appended, whereas the data is actually moved when resizing leftwards (so that things at the start of the old partition are now at the start of the new) - it takes a while and there's a (rather small) risk involved, hence backup - but it should work. –  Jez W Jul 29 '13 at 14:09
1  
Wow! Thank you all for the great help. My solution was to create a Ubuntu bootable USB and just delete everything and install Ubuntu new (extending just would not work). Now everything works great. –  Daniel Jul 31 '13 at 21:46

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.