12-08-2005
Grub can't find Windows XP
grub was working beautifully on my old hard drive. I cloned my drive, and reinstalled
grub. My linux partition loads fine, but when I click on Windows, grub simply sends me
back to the grub prompt with no error message. On investigating, it appears that grub
hasn't loaded the windows kernel. (I typed boot and it said you have to load the
kernel first). Here's the relevant portion of menu.lst
title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1
The windows partiition is indeed on /dev/hda2, cloned from my old hard
drive. The only difference between my new hard drive and old one is
that the number of sectors per track is much smaller, so that now
/dev/hda2 starts at cylinder 145, while before it started at 10. I don't
know if this could make the difference, but everything else is identical
Any advice would be most appreciated. In particular, since grub is giving me no error
message, I can't do any more diagnosis! Is there any way to get grub to be more
verbose about what's going on?
Any help would be most appreciated!
7 More Discussions You Might Find Interesting
1. Linux
After playing a bit with GRUB I got it to boot my windows XP and my Fedora (yeay!). But now my windows became awfully slow (hd seems to be the problem).
Does anybody have an idea what could cause this?
settings:
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora... (1 Reply)
Discussion started by: Micky
1 Replies
2. Windows & DOS: Issues & Discussions
Hi all!
How would you do the equivalent of find ! -type f..... under windows?
Meaning, how under a directory could you find all files except those named *.mp3 for example?
the command under linux would be:
find $DIR ! -name "*.mp3" what would be that under windows?
Thanx for any ideas... (3 Replies)
Discussion started by: penguin-friend
3 Replies
3. UNIX for Dummies Questions & Answers
Ok, here's the thing... I have a computer that has both Fedora Core 3 Linux and Windows XP Pro. I have it so the MBR loads in the Windows style (black screen with a 30 second pause to choose either Fedora Core or Windows) Now if I select Fedora Core, it starts its own OS selector (I believe it's... (11 Replies)
Discussion started by: mattzway
11 Replies
4. UNIX for Dummies Questions & Answers
Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem:
The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies
5. Linux
hi,
in my pc linux and windows was there with 2 hdd in raid.i removed linux partititons.Now my ps is not booting giving grub error 22.Nothing works.I hace my data in windows.Hard disks are RAID.when tried to go to recovery mode from windoes boot cd,it says hard disk not detected.when tried with... (2 Replies)
Discussion started by: pankajd
2 Replies
6. UNIX for Advanced & Expert Users
Hello,
I am using debian-5.0.0(lenny) . I installed windows xp(a hacked version) on a usb stick. this stick works perfectly well and boots off a windows system successfully.
but on linux it is finding problems to do so.
So I finally decided to put a grub entry to boot off the usb HDD.
... (8 Replies)
Discussion started by: gaurav1086
8 Replies
7. Red Hat
Hi,
Can we specify which grub.conf to use while installing grub on RHEL.
We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf.
Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies
GRUB(8) FSF GRUB(8)
NAME
grub - the grub shell
SYNOPSIS
grub [OPTION]...
DESCRIPTION
Enter the GRand Unified Bootloader command shell.
--batch
turn on batch mode for non-interactive use
--boot-drive=DRIVE
specify stage2 boot_drive [default=0x0]
--config-file=FILE
specify stage2 config_file [default=/boot/grub/menu.lst]
--device-map=FILE
use the device map file FILE
--help display this message and exit
--hold wait until a debugger will attach
--install-partition=PAR
specify stage2 install_partition [default=0x20000]
--no-config-file
do not use the config file
--no-curses
do not use curses
--no-floppy
do not probe any floppy drive
--no-pager
do not use internal pager
--preset-menu
use the preset menu
--probe-second-floppy
probe the second floppy drive
--read-only
do not write anything to devices
--verbose
print verbose messages
--version
print version information and exit
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
update-grub(8), grub-install(8).
The full documentation for grub is maintained as a Texinfo manual in the grub-legacy-doc package. If the info and grub programs are prop-
erly installed at your site, the command
info grub
should give you access to the complete manual.
grub (GNU GRUB 0.97) January 2013 GRUB(8)