LinuxQuestions.org
Review your favorite Linux distribution.
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 01-15-2009, 01:47 AM   #1
kashifkamyana
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
error loading operating system after installation of Linux AS4


Hi,

I have Hardware HP DL580 G3 server attached with SAN.

I just installed Linux AS4, installation went fine and successufly installed, upon rebooting of server it is giving following error.

--------------------------------------------------------------------------------
attempting from Hard Drive (C
Error Loading Operating system

--------------------------------------------------------------------------------

Please help me out
 
Old 01-15-2009, 03:24 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Make sure your BIOS boot priority is set to boot from your ROM drive.
Was there other OS running or its fresh machine?
 
Old 01-17-2009, 01:03 PM   #3
kashifkamyana
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
GRUB Hard disk Error

Hi,

I just installed Redhat Linux AS4, after installation upon rebooting it is giving an error,
GRUB: Hard disk error.

How i can fix this issue, please help me out.

Regards
 
Old 01-17-2009, 05:16 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,497

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
Hard Disk Error
The stage2 or stage1.5 is being read from a hard disk, and the attempt to determine the size and geometry of the hard disk failed.
Might be useful to post the output of the "fdisk -l" command to show your partition information. Do you have the installation disk or a Live CD you can use to log in as root and run the command?
 
Old 01-18-2009, 11:33 AM   #5
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
In order to get better idea of what might be causing the Grub error, how about downloading the Boot Info Script to the desktop of a Live CD, and then do the following as root user, but replace <username> with your username:
Code:
bash /home/<username>/Desktop/boot_info_script*.sh
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of that file to your next post. That will help clarify your setup and hopefully what your problem might be.
 
Old 01-18-2009, 04:00 PM   #6
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Rep: Reputation: 30
I had a similar problem. Found Super Grub (search for "Super Grub") & downloaded a free version. Set my BIOS to boot from the CD, inserted the CD, booted up, followed the prompts until I was going in a circle, removed the CD, shut down the computer, booted up the computer, & it's worked perfectly every time. Proceed at your own risk. I was re-installing Ubuntu server and always coming up with the "stage 1.5" error, and it wouldn't let me boot. I thought it was a problem with the installation, so I tried it again. After the 3rd install yielded the same results, I went searching for something to fix a "Grub boot error" & found the Super Grub boot disk. It did a wonderful job for me. I THOUGHT I had saved a link, but didn't. However, if you search for "Super Grub" you should be able to find it.

Hope this helps.
 
Old 01-18-2009, 04:57 PM   #7
ElLunchbox
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by kashifkamyana View Post
Hi,

I just installed Redhat Linux AS4, after installation upon rebooting it is giving an error,
GRUB: Hard disk error.

How i can fix this issue, please help me out.

Regards
How old is the Hardware that you have installed the OS on, and how big is the Harddrive? If you did not specify a small (<100MB) /boot partition when installing Redhat, and your HD is sufficiently large then that can cause a grub error with old hardware.
 
Old 01-19-2009, 04:28 AM   #8
WW125599
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Rep: Reputation: 0
dear usr,

This is becouse you are installing the grub in somewere else rather than the mbr of the harddisk..Install the grub in MBR this problem will get solved..
 
Old 01-20-2009, 10:20 AM   #9
kashifkamyana
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I booted through Linux rescue and

df command is showing following details:
/dev/cciss/c0d0p1 /boot 698MB
/dev/cciss/c0d0p2 / 10Gb
/dev/cciss/c0d0p3 swap 10Gb
/dev/cciss/c0d1p1 /stage 68Gb
/dev/sdc1 /oradb 104Gb

What id did till now:
choroot /mnt/sysimage

grub-install /dev/cciss/c0d0

installation finished. no errors reported.
this is the contents of the device map /boot/grub/device.map check if this is correct or not, if any of the lines is inncorrect, fix it and re-run the script grub-install.
(fd0) /dev/fd0
(hd3) /dev/cciss/c0d0

Now what should i do, i am on the same stage GRUB harddisk error.
Please advise further
 
Old 01-21-2009, 01:58 AM   #10
kashifkamyana
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
the output of this command
grub-install --root-directory=/boot /dev/cciss/c0d0


(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/cciss/c0d0
(hd3) /dev/cciss/c0d1

any further suggestion
 
Old 01-21-2009, 01:07 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I've merged two similar threads.
 
  


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
Error Loading Operating System--Linux Ubuntu--Help jadehe Linux - Newbie 10 03-15-2008 08:08 PM
Error Loading Operating System--Linux Ubuntu--Help jadehe Linux - Software 1 03-14-2008 04:43 AM
' Error Loading Operating System ' mercuryone Ubuntu 2 04-06-2005 12:30 AM
error loading operating system juvell Fedora - Installation 3 02-01-2005 03:56 AM
error loading operating system ziggie216 Linux - General 5 12-29-2003 07:15 PM

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

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