LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 11-14-2005, 05:07 AM   #1
chris boyce
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Fedora Install GRUB geom error


I am trying to install Linux to dual boot with Windows XP. My PC already has Windows XP installed and has 2 Hard Drives.

When I first tried to install Lunux I used the auto partition option to set up the Linux partitions on the second hard drive, leaving the first for Windows.

The install seemed to work correctly, but when the system needed to reboot as part of the install, the system went straight into Windows XP.

I tried reinstalling and set the auto partitioning to use free space on both hard drives (see details below). I chose the default options for the grub bootloader, which I think tries to set it up on the /dev/hda MBR.

When the system reboots, I now get the following error

GRUB Geom Error

I have used linux rescue on the install disk and can see the Linux file system and the original Windows XP partition and files. I have also had a look at the grub.conf file (see Below) but am not really sure what I am looking for.

If possible I would still like to get both Linux and Windows up and running, but at the moment would settle for getting the original Windows system back without having to reinstall everything.

Any help much approciated!

Auto Partition Details

Device Mount Point/ Type Size
RAID/Volume

Hard Drives
/dev/hda
/dev/hda1 Vfat 150281
Free FreeSpace 7
/dev/hda2 /boot ext3 94
/dev/hda3 VolGroup00 LVM PV 2243

/dev/hdb
/dev/hdb1 VolGroup00 LVM PV 152625

grub.conf

# grub.conf generated by anaconca
#
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,1)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhg quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Other
rootnoverify (hd0,0)
chainloader +1
 
Old 11-14-2005, 10:45 AM   #2
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
You have to run
grub > root (hd1,1) // disk2, part2
grub > setup (hd0)
grub > quit
 
Old 11-14-2005, 04:10 PM   #3
chris boyce
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the help.

When I go into grub and type in

root (hd1,1)

I get an "Error 22 : No such partition" message - is this trying to find a /dev/hdb2 partition? If so I don't think this was set up by the default autopartitioning.

what do the root and setup commands actually do?

From browsing around other support areas I have found an article on a "Disk Geometry Problem" that affected Fedora Core 2. As the version of Fedora I am trying to install is core 4 release, I don't think this is the same problem but could it be the same issue?
 
Old 11-14-2005, 08:36 PM   #4
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
root (hd?,?) means where is your boot directory
setup (hd?) where is your loader
 
Old 11-15-2005, 03:32 PM   #5
chris boyce
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the info.

I have tried using the root (hd0,1) and setup (hd0).

When I now boot I am getting the following message

GRUB Loading stage 1.5
GRUB Loading, please wait...
Error 17

From looking at other problems I found the following

"error 17" occurs when there is something mismatching b/w your "grub.conf" and the entries which "fdisk -l" shows. so compare them. otherwise post them.

When i do fdisk -l I get the following it seem to be saying that the /dev/hda1 is the boot directory rather than hda2.

Should this say hda2? Is this what is causing my problem? If so what do I need to do to reset it?
 
Old 11-18-2005, 10:25 PM   #6
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.
 
Old 03-09-2008, 11:32 PM   #7
MBallenger
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Check the status of your SATA drives in BIOS

I ran into exactly the same error last evening, and found the fix this morning.

Conflict comes from having multiple SATA drives, and which ones your BIOS recognizes at startup. Go into your BIOS and make sure all of your SATA drives are "on" so they can be recognized on boot.
 
  


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
Grub geom error jordban Linux - General 25 01-15-2006 10:43 PM
grub "drive geom error" (unusual) Jottt Linux - Software 1 07-10-2005 06:57 PM
GRUB Geom Error lothario Linux - Hardware 2 06-27-2005 07:52 AM
GRUB geom error alesis_ho Linux - Laptop and Netbook 1 04-19-2005 02:58 AM
"GRUB Geom Error" on boot...What does this mean? arctic123 Linux - Software 1 03-07-2005 06:53 PM


All times are GMT -5. The time now is 02:12 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