LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2010, 01:00 AM   #1
prasanna
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Rep: Reputation: 0
unable to load windows xp from the grub menu..


i have windows xp operating system ......yesterday i installed ubuntu9.10... dual boot...
when the grub gets loaded it gives me four options as follows
1) linux......
2) linux......recovery...
3) mem test...
4) windows...
when 1) linux is selected it loads ubuntu properly but...
but when i select 4) windows .....a black page with GRUB written on the top left corner of the page is displayed and will not take any command... the only option i can do is hardboot...
so someone please help me out....i want both ubuntu and windows xp working......thank u.

Last edited by XavierP; 08-27-2010 at 05:05 AM. Reason: Moved to Linux-Newbie
 
Old 08-27-2010, 08:55 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
You are running Ubuntu 9.10 .
If you do not change you use GRUB 2.
First option ask in Ubuntu for a terminal , onthe command line run the command sudo update-grub , sudo's password.
If it will not work post the contents of /boot/grub/grub.cfg
 
Old 08-27-2010, 11:17 AM   #3
prasanna
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Original Poster
Rep: Reputation: 0
firstly thanks for replying.....
and it did not work...the contents of /boot/grub/grub.cfg is..
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 53914534-7d34-4ff1-a83e-ec098025403f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 53914534-7d34-4ff1-a83e-ec098025403f
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=53914534-7d34-4ff1-a83e-ec098025403f ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 53914534-7d34-4ff1-a83e-ec098025403f
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=53914534-7d34-4ff1-a83e-ec098025403f ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sdb1)" {
insmod fat
set root=(hd1,1)
search --no-floppy --fs-uuid --set f814-6e7e
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
 
Old 08-27-2010, 03:55 PM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
To be clear how many HD do you have ?
Sd1 suggest that you have a second HD and that windows is installed on the second HD .
Normally windows is installed on the first HD being SDA
In the original post you stated that you are running windows xp .
The entry in grub.cfg said you are running windows 7 using fat as a file system .
You can use fat as a file with windows xp although more common is to use ntfs as a file system.
So what file system do you use windows
 
Old 08-28-2010, 09:09 AM   #5
prasanna
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Original Poster
Rep: Reputation: 0
i have 2 harddisk one is 500gb and the other is 80 gb...
i have installed windows xp in the 80 gb harddisk (fat32).......and windows 7 in the 500gb harddisk but it was too slow so i removed it and installed ubuntu in the same place where windows 7 was present ......

ok yesterday i totally messed up the first hard disk so i completely formatted the 80 gb harddisk and installed xp (ntfs)(~=80gb)....so now it directly boots xp ......now give me a best way to recover the 75gb alloted to ubuntu in the 500gb harddisk and to install ubuntu (where and how) so that both the operating system will work properly....(pardon me if my english is not proper and also pardon me for formating and installing xp without your consent).......and i have connected 80gb harddisk as slave.....and 500gb as master.......(to the motherbord).......thank you......
 
Old 08-28-2010, 02:13 PM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
As you are new to linux .
Start up from you're Ubuntu media .
The installer will give you some options where to install UBUNtu .
Chose the option : Specify the partition Manually (Advance )
Using this option you decide where to install UBUNTU .
In you're case UBUNTU old place .
On the next screen you find a option called Advance
Using this option you can choose where to install GRUB.
If you do not use this option GRUB is by default installed in MBR of SDA , what is mostly done by the most people
Ubuntu should find you're windows XP
 
Old 08-28-2010, 10:19 PM   #7
prasanna
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Original Poster
Rep: Reputation: 0
okay thank you.....
 
  


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
[SOLVED] lost grub menu after windows installation & forgot to backup menu.lst jesman1 Linux - Kernel 4 08-13-2010 12:57 AM
Grub Doesn't Load Menu.lst CaptainMorgan Linux - Newbie 2 11-23-2007 02:50 AM
Grub menu does not load hobz Linux - General 2 08-09-2006 06:04 AM
During load got GRUB concolse but no Menu jenshen Linux - Software 2 11-18-2005 11:35 PM
Unable to load Windows XP using GRUB TheDevo Fedora - Installation 11 11-04-2004 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration