Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I deleted win7 by formating partition#2 and I reinstalled Windows 7. The problem is that now Grub doesn't work. I thought Grub always resides on Partition#1 but I guess I was wrong.
How can I fix Grub?
Any help is greatly appreciated!!!
Thanks
Your MBR may have been overwritten by Windows 7. In which case u have to re-install Ubuntu 10.04. Or try the Live cd of ubuntu 10.04 and see if u can install grub.
Did you reinstall windows 7 on the same partition?
If so, then the problem is likely that stated above. Any windows installation overwrites the master boot entry without asking or informing the user so you will just need to reinstall Grub.
Open a terminal in Ubuntu and run the command: sudo fdisk -l (lower case Letter L) and check the output to be sure sda2 is an ntfs partition. If you don't understand the output, post it here and someone should be able to help.
I reinstalled Windows 7 on that partition. I thought the Winxp partition would have the MBR.
I ran Ubuntu Live but I didn't see any options to reinstall Grub.
I haven't google anything yet but I will as soon as I get home.
Thanks for your quick response.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.