• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

GRUB...can't boot XP

CurtisBilly

Senior member
I'm a graduate student at MIT (I'm an aero/astro guy, so don't give me a hard time!) and just tried to set up my PC with both an XP and "Athena" install. The current version of Athena is essentially a customized RHEL4 version. So I installed XP first. There is one physical 80 GB hard drive in the machine. I first installed Windows XP with a 60 GB partition, leaving ~20 GB free.

The Athena RHEL4 network install then had an option for "dual-boot" on unpartitioned space which I chose. I then specified I wanted Windows as the default. Now when I select Windows all I get is a screen stuck on:

rootnoverify (hd0,0)
chainloader +1

I've been trying with Google for the last couple of hours. The following output may be of help:

>more grub.conf
# grub.conf created by Linux Athena installer
default=2
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Linux-Athena
root (hd0,6)
kernel /boot/vmlinuz-2.4.21-27.0.1.EL ro root=/dev/hda7
initrd /boot/initrd-2.4.21-27.0.1.EL.img
title Linux-Athena (single user mode)
root (hd0,6)
kernel /boot/vmlinuz-2.4.21-27.0.1.EL single ro root=/dev/hda7
initrd /boot/initrd-2.4.21-27.0.1.EL.img
title windows
rootnoverify (hd0,0)
chainloader +1

> fdisk -l /dev/hda

fdisk -l /dev/hda

Disk /dev/hda: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 7650 9732 16731697+ 5 Extended
/dev/hda5 7650 7715 530113+ 82 Linux swap
/dev/hda6 7716 7781 530113+ 83 Linux
/dev/hda7 7782 9732 15671376 83 Linux

>more device.map
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb

>df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda7 15425056 3017624 11623864 21% /
/dev/hda6 521748 4932 490312 1% /usr/vice/cache
none 255872 0 255872 0% /dev/shm
AFS 9000000 0 9000000 0% /afs


I think I should be seeing /boot from the >df command; but I think it is on /dev/hda7

>cd /boot
>df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda7 15425056 3017620 11623868 21% /

If anyone can help me get my XP install to boot...I'd be MOST appreciative.
 
Try setting the boot flag on the Windows partition with fdisk.

Whoawhoawhoa! There's something very bizarre about
Device Boot Start End Blocks Id System
/dev/hda1 * 7650 9732 16731697+ 5 Extended
/dev/hda5 7650 7715 530113+ 82 Linux swap
/dev/hda6 7716 7781 530113+ 83 Linux
/dev/hda7 7782 9732 15671376 83 Linux

I don't see a FAT32 or NTFS partition there.
 
Back
Top