LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-27-2005, 10:03 AM   #1
bookmonger
LQ Newbie
 
Registered: Dec 2005
Location: Oregon USA
Posts: 8

Rep: Reputation: 0
Exclamation Grub in MBR no Linux installed can't access hard drive


AAAAAGGGHHH!!!
Grub is in the MBR. There is no Linux installation for it to boot into, therefore error 17. It hangs there and will not access the WinXP installation. Machine has no floppy. CD ROM is set to boot first in BIOS. Using Linux LIVE CD, Linux installation CD, or WinXP Install CD at boot it goes directly to Grub.

How can I change, fix, or eliminate Grub with a CD I could burn, or how do I get it to recoginise any of the aforementioned CDs, or is there something else to try ?

Machine is an IBM T21 900Mhz P3 256MB RAM 20GB drive DVD/CD ROM USB port Ethernet card.
 
Old 12-27-2005, 10:08 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Boot with the Windows XP Installation CD* and use the recovery console to issue the 'fixmbr' and maybe 'fixboot' commands.

* This is truly a Windows XP Installion CD and not one of the nasty recovery CD's correct???

Last edited by Lenard; 12-27-2005 at 10:10 AM.
 
Old 12-27-2005, 10:58 AM   #3
bookmonger
LQ Newbie
 
Registered: Dec 2005
Location: Oregon USA
Posts: 8

Original Poster
Rep: Reputation: 0
The WinXP Pro full install CD, just like the Linux install CDs and Linux LIVE CDs, does nothing. The machine goes directly to Grub, and thence error 17.

Attempted Linux install CDs:
SuSE 10.0
Mandriva Free 2006
Ubuntu 6.04
Attempted LIVE CDs:
Adios
Santa Fe
Knoppix
Slax 5.0.6
 
Old 12-27-2005, 11:00 AM   #4
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Also try this command at DOS prompt:
fdisk /mbr
fixmbr had at once erased all of my harddisk before I could realize what was happening.
Take care! It is window world.
 
Old 12-27-2005, 11:04 AM   #5
bookmonger
LQ Newbie
 
Registered: Dec 2005
Location: Oregon USA
Posts: 8

Original Poster
Rep: Reputation: 0
There is no DOS prompt. There is only a black screen, then Grub 1.5, and finally Error 17.
 
Old 12-27-2005, 11:19 AM   #6
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
boot from the Windows installion disc and access the recovery console. It is a Dos prompt
 
Old 12-27-2005, 11:21 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by TruongAn
boot from the Windows installion disc and access the recovery console. It is a Dos prompt
Seriously, have you not read any of bookmonger's posts? His problem is that he CAN'T boot from CD :/.
 
Old 12-27-2005, 11:29 AM   #8
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Quote:
Originally Posted by Nylex
Seriously, have you not read any of bookmonger's posts? His problem is that he CAN'T boot from CD :/.
Oh, so sorry.
The you can do it that way:
Boot from a win98 startup flopy disk.
Replace the disk content with the file in C:\ folder.
Then you can use that disk to boot into windows XP
Inside window you can open a dos prompt.
 
Old 12-27-2005, 12:09 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,316

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
Sounds like it isn't recognising the CD drive.
Pull the hard disk out (just pull out the cable or power).

Then see if it boots the CD - if not, well your problem is larger than grub in the MBR.
 
Old 12-27-2005, 12:38 PM   #10
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
OK, re-read the post, no floppy no booting from the CD/DVD drive got it.

Hopefully when grub fails you are left at the grub prompt; grub>

If yes, then try typing each line below one at a time pressing the 'Enter' key after each line;

rootnoverify (hd0,0)
chainloader +1
makeactive
boot

If this does not work try using (hd0,1) instead and repeat the commands.

If no, then as an experiment, remove the hard drive (unplugging the IDE cable is good enough) from the system and try booting with a known bootable CD, does this CD boot?

Does any known bootable CD boot the system with or without the hard drive in place?
 
Old 12-28-2005, 09:26 AM   #11
bookmonger
LQ Newbie
 
Registered: Dec 2005
Location: Oregon USA
Posts: 8

Original Poster
Rep: Reputation: 0
Where I am so far:
You can disable the hard drive from BIOS on this machine. No help, but not the same as physically removing the drive. That was problematic - it was very "stiff" and required far more "firmness" than was comfortable. With the drive removed, nothing, but then - duh - put back the battery !

The WinXP CD produced nothing but chatter. The Linux LIVE CDs simply wouldn't boot. The Linux install CDs were interesting - they all ended with the message: No Operating System Found. I'm stumped at the moment, but with the hard drive extricated, I'll hook it up to my main machine. I'll let you know. <crosses fingers>
 
Old 12-28-2005, 12:26 PM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,316

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
Quote:
Originally Posted by bookmonger
The WinXP CD produced nothing but chatter.
???? - noise or text "chatter". I presume the former.
Quote:
The Linux LIVE CDs simply wouldn't boot. The Linux install CDs were interesting - they all ended with the message: No Operating System Found.
That sounds like a BIOS message. Means that the box *isn't* using the CD for boot.
Is this a laptop by any chance ??? - may need a special key to boot the CD. My Dell uses F12 to create a "one-time" boot menu including the CD, my old Toshiba needs the <C> held down during reboot.
See the user guide.
 
Old 12-28-2005, 11:07 PM   #13
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Did my cheat with floopy work?
I see it on a window magazine to recovery windows when It get MBR problem.
And also, Did Lenard suggestion work?
 
Old 02-14-2006, 08:06 AM   #14
cougar44
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Get Hirens boot cd and goto partion tools and smart fdisk. tell it to fix mbr and it will ask you what you want to load.
Have the same problem . Now fixed
 
  


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
Installed GRUB on MBR or First Sector of boot zillah Fedora 6 06-16-2005 12:46 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 10:34 AM
Using pre-installed Linux hard drive on another laptop bayoumama Linux - Laptop and Netbook 11 07-22-2004 06:09 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
Easy way to clone linux installed hard drive mobassir Linux - Software 6 01-12-2004 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 PM.

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