LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 05-01-2008, 10:10 PM   #1
ronmettler
LQ Newbie
 
Registered: Jan 2008
Location: Colorado, USA
Distribution: Ubuntu 8.04
Posts: 5

Rep: Reputation: 0
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?
 
Old 05-01-2008, 11:57 PM   #2
sntnlz
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: openSUSE 12.3 / Debian 6.0.6
Posts: 34

Rep: Reputation: 17
Yes. That's actually the easiest way to do it. Just make sure you point Grub to the right slice.
 
Old 05-02-2008, 06:46 AM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
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

Last edited by Larry Webb; 05-02-2008 at 06:48 AM.
 
Old 05-02-2008, 07:23 AM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
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
 
Old 05-02-2008, 08:38 AM   #5
ronmettler
LQ Newbie
 
Registered: Jan 2008
Location: Colorado, USA
Distribution: Ubuntu 8.04
Posts: 5

Original Poster
Rep: Reputation: 0
Will try the suggestions

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 03:54 AM
Ubuntu/Windows dual boot Grub problems ryanxav Linux - Newbie 14 10-21-2007 01:00 PM
XP won't boot, loops back to GRUB: dual-boot XP and Ubuntu dan2010 Linux - Newbie 4 08-08-2007 12:09 PM
grub dual boot ubuntu/windows dellcom1800 Linux - General 1 01-25-2007 06:02 AM
Grub will not load Windows XP with Ubuntu dual boot Alex4R Linux - Software 1 03-26-2005 11:29 AM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration