LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-09-2003, 10:43 AM   #1
pagey77
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
XP RH9 Grub problem


Heres the deal:

I had an existing RH9 installation. Installed XP. Grub disappeared. Run RH9 disc1. Linux-rescue. chroot /mnt/sysimage. grub-install /dev/hda1 (a mistake) .Remembered that I should install it on /dev/hda instead. Did it again. Restarted the computer. In Grub lInux is ok, but XP doesnt start up.
I get this message:

Windows XP

rootnoverify (hd0,0)
chainloader +1

GRUB 2 ....something

My grub.conf looks like this:

default=3
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-19.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-19.9 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-19.9.img

title Windows XP Professional Edition
rootnoverify (hd0,0)
chainloader +1

What am I doing wrong????

Please help me I really need to get into XP.

Thanks
 
Old 09-09-2003, 11:31 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Where is the winXP partition located ?
The following command displays your partition table.
Code:
fdisk -l
If winXP is on /dev/hda1, you may have corrupted your winXP partition.
 
Old 09-09-2003, 11:37 AM   #3
croakofonix
LQ Newbie
 
Registered: May 2003
Location: Melbourne, Victoria, Australia
Distribution: RH9.0, Fedora Core 1, Fedora Core 2
Posts: 19

Rep: Reputation: 0
pagey77,

Change the default entry to 1. Save and exit the grub.conf file. Reboot. XP should be the default option. Press Enter. You'll get into XP. It should work. ( I'm hoping it will.....)

-Akshar
 
Old 09-09-2003, 12:44 PM   #4
pagey77
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
My partition table:

Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/hda2 1913 12160 82317060 f Win95 Ext'd (LBA)
/dev/hda5 1913 4462 20482843+ 7 HPFS/NTFS
/dev/hda6 4463 9561 40957686 7 HPFS/NTFS
/dev/hda7 9562 9574 104391 83 Linux
/dev/hda8 9575 10849 10241406 83 Linux
/dev/hda9 10850 11486 5116671 83 Linux
/dev/hda10 11487 11868 3068383+ 83 Linux
/dev/hda11 11869 12160 2345458+ 83 Linux

Disk /dev/hdb: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 288 2313328+ 82 Linux swap
/dev/hdb2 289 5005 37889302+ 83 Linux

If I have corrupted it what do I do next?
 
Old 09-09-2003, 01:25 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Since winXP is on /dev/hda1, you may have corrupted your winXP partition.

You can try using the windowsXP CD in order to repair the installation.
If that does not work, you will have to re-install windowsXP.
 
Old 09-09-2003, 02:07 PM   #6
pagey77
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
My errors are displayed like this:

GRUB loading stage 2

GRUB loading please wait ...

Error 18

Then nothing more happens
 
Old 09-09-2003, 06:46 PM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote from the GRUB manual.
Quote:
Error 18 : Selected cylinder exceeds maximum supported by BIOS.

This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).
First, you installed GRUB on /dev/hda1 (windowsXP),
Then you installed GRUB in the MBR.
When you try using GRUB (MBR) to boot winXP, GRUB ends up booting the GRUB which is on /dev/hda1

The winXP partition is most likely corrupted.

You can try using the windowsXP CD in order to repair the installation.
However this will probably not work.
You will have to re-install windowsXP.
 
Old 09-10-2003, 02:05 AM   #8
pagey77
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Youre most probably right. The repair didnt work out. It didnt find anything on C but if found all files on D and E. WHat Ive got to do now is to save all my files by mounting my partitions in RH. If oy come up with anything else please let me know.

Thanks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting from Grub XP/RH9 hoffman Linux - Newbie 4 11-11-2003 09:41 PM
(not so common) RH9/xp grub boot problem bubbles Linux - General 5 09-22-2003 07:52 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM
RH9 grub problem jkarnes Linux - Distributions 2 08-19-2003 04:58 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:55 AM.

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
Open Source Consulting | Domain Registration