GRUB Problems On Installing Windows After Ubuntu!!!
UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
title Microsoft Windows
root (hd0,0)
savedefault
makeactive
chainloader +1
* Save the edited file
Does this mean, that in order to Restore the GRUB into MBR, i have to make a separate /boot partition???
Wat if i make only 3 partitions ===> / & swap & /home...??
Please help!!
This problem is really driving me crazy.., cause Windows is messed up(As Always) & i need to re-install it.
And after that i dont want to re-install UBUNTU as always...!!
It's not clear what your problem actually is.
Is the machine booting? Do you get a boot menu?
If not, what does happen?
Can you start Ubuntu?
Can you start Windows?
If not, what happens when you try?
What have you tried to do to fix the problem?
Does this mean, that in order to Restore the GRUB into MBR, i have to make a separate /boot partition???
No - what the instructions mean is to use that command on the partition containing the /boot partition. In your case, this would be the root (/) partition. Using the grub-install command on that partition should make it work normally again after reinstalling Windows - and, to save yourself some hassle later on, make a backup of your current menu.lst (or grub.conf), and then after the 'grub-install' later all you will have to do is replace the new menu.lst with the backed up one
Does this mean, that in order to Restore the GRUB into MBR, i have to make a separate /boot partition???
You do not have to create a separate /boot partition. Just follow what is mentioned in the guide, that you quoted in the post, after re-installing Windows.
1.Do i need to remember the location of my / (like /dev/hda)??
2.Wat option shud i choose after booting in RESCUE mode using the Ubuntu Install CD.
3.When i'll reinstall Windows, will the location of Windows Partition change in fstab??
1.Do i need to remember the location of my / (like /dev/hda)??
'fdisk -l' will print your partition list - just jot down what partition / is on to save yourself a bit of difficulty later on..
Quote:
2.Wat option shud i choose after booting in RESCUE mode using the Ubuntu Install CD.
I can't remember off the top of my head - but booting into rescue mode should take you to a console anyway. What you're aiming to do is get to a console so that you can type the commands in the guide - it doesn't matter how you get there
Quote:
3.When i'll reinstall Windows, will the location of Windows Partition change in fstab??
No, it won't, as you will presumably be reinstalling it on the same partition, so the physical location will not change.
ok, so when i issue this command the system will pop up the GRUB MENU like always on BOOT UP??
& i have to replace the menu.lst wid a backup copy to get the windows in the GRUB??
I suggested making a backup so that you wouldn't have to find out which partition Windows is on later on, and then add the lines to your menu.lst - all you would have to do is replace the new menu.lst with the old one (which you backed up).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.