LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 8.04 on dual boot Grub does not find Windows XP (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-8-04-on-dual-boot-grub-does-not-find-windows-xp-639253/)

ronmettler 05-01-2008 10:10 PM

Ubuntu 8.04 on dual boot Grub does not find Windows XP
 
A friend updated from 7.10 Ubuntu to 8.04. After the online download and updates completed, Grub only finds Ubuntu. Trying to boot into XP no longer works. I suspect that Grub needs to be edited, but I do not know what parameters to change. Can I do the edits to the menu.lst file from Ubuntu using- sudo gedit /boot/grub/menu.lst?

sntnlz 05-01-2008 11:57 PM

Yes. That's actually the easiest way to do it. Just make sure you point Grub to the right slice.

Larry Webb 05-02-2008 06:46 AM

From the live cd
As root (type sudo)
fdisk -l
If linux (Ubuntu) is at hda2, type 'grub' and then hit enter. At the grub prompt
type root (hd0,1) and hit enter
type setup (hd0) enter
type quit

That should restore your mbr if Ubuntu is on the second partition of the hd

Larry Webb 05-02-2008 07:23 AM

I am sorry disregard my earlier post, it is too early this morning.

Back to your original problem

Once you get the menu lst see if there is any type of 'Windows' entry and if not you will have to make one

title Windows

root (hd0,0)

chainloader +1

Save then that should fix the problem

ronmettler 05-02-2008 08:38 AM

Will try the suggestions
 
Thank you for the suggestions. I will visit my friend and try the fixes and let you know what happens.


All times are GMT -5. The time now is 12:56 AM.