LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-14-2008, 08:57 AM   #1
dave247
Member
 
Registered: May 2004
Posts: 204

Rep: Reputation: 30
Question GRUB Hard disk error on XP/Linux install


Hey. I googled around on this problem for a bit, but I cant find the right solution.

First I have XP on hda and then I just now installed Linux on hdd. I chose to install linux on hdd because I have XP on hda and I still want to use that.

After reboot I get "GRUB hard disk error."

I dont understand why it isnt working. Each drive has a single partition. The Windows drive is on Primary Master. Linux is on Secondary Slave. I know this probably doesnt matter since GRUB is put on the MBR of the Primary Master, right? But I'm thinking I did something wrong.

Anyway I need to get GRUB working or restore the NT boot loader.

Any help is appreciated!

Last edited by dave247; 02-14-2008 at 09:03 AM.
 
Old 02-14-2008, 09:24 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,638
Blog Entries: 3

Rep: Reputation: 221Reputation: 221Reputation: 221
well what I think you will need to do is from windows boot disk or a rescue disk type fdisk mbr this will clear out the mbr on drive c. or you can re-install grub. Grub is put there by default when installing a O/S.
and some distros like xubuntu does it even if you do not want to.
I found pclinux like all the other O/S i use ask if you want it and where some times. grub also works fine from the root super block also.
I have had this problem a few times the mbr was corrupted and you can reload grub or fdisk the mbr.
you should try to remember to make a grub boot floppy also when installing after that it should ask to put one on the hda.
another thing about grub it sees hard drives like this. (hd0,0) is hda1
(hd0,1) is hda2 if you have a usb drive or sata sda1 is (hd0,0)
so as you can see grub starts at 0 I know you didnt ask for this but in the future this may save your system if you boot any grub floppy and need to edit the commands on a fly for booting different partitions and kernel.
 
Old 02-14-2008, 09:37 AM   #3
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
Alright, I fixed my mbr. yay.

So now I will try reinstalling linux wilst having my xp drive unplugged.

thanks for the ehlp
 
Old 02-14-2008, 09:47 AM   #4
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
Oh wait. Now I am confused...

I put in my XP disk and did fixmbr and rebooted and XP loaded fine and desktop came up. So I took my XP cd out and then rebooted and now it cant find an operating system. So.... Im not sure what I need to do to fix my mrb for good. Maybe something in mmc but I dont know.

I know this is a Linux forum, but what should I do about this new windows problem? I need to fix my mbr and start over to install linux

crap
 
Old 02-14-2008, 10:29 AM   #5
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
oops, nevermind. my mbr is actually fixed, grub was just not working. reinstalling linux
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Hard disk error santana Linux - Embedded & Single-board computer 5 01-17-2008 11:30 PM
GRUB hard disk error NinjaGeek Linux - Software 2 04-11-2007 10:57 AM
GRUB hard disk error 0perat0r Linux - Newbie 3 02-24-2005 12:17 AM
GRUB Hard Disk Error joe_wilkins2001 Linux - Newbie 1 01-25-2004 04:29 PM
GRUB Hard Disk Error joe_wilkins2001 Linux - General 1 01-25-2004 02:49 PM


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