LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "Grub Loading stage2read error" (https://www.linuxquestions.org/questions/linux-newbie-8/grub-loading-stage2read-error-616237/)

Anujcasd 01-25-2008 06:07 AM

"Grub Loading stage2read error"
 
Hi, My self Anuj I am very new to this forum, greetings to all of you.
I've a problem with Linux Shell GRUB.

i've just installed AsteriskNOW, installation went smoothly but then when the system reboots to run asterisk, it stops with a "Grub Loading stage2read error".
I reinstalled grub but that didnt fix it..I also tried rescue mode but from there also I am still unable to correct it.
My System Information is as :
Hardware: HDD 80 GB IDE
RAM: 256 MB DDR
Processor: 2.66 GHz
Mother board: ASUS P5GLMX

Sys Info (GRUB CONFIG):
ROOT hda1
Kernel: /vimlinuz-version ro root=//dev/hda2
initrd: /inetrd-version.img
Boot= /dev/hda
default=0
timeout=10
spalshImage=(hd0,0)/grub/asteriskNOW-splash.xpm.gz
title AsteriskNOW(2.6.19.7-0.4.gcc3.4.x86.i686)
Root (hd0,0)
Kernel /vmlinuz-2.6.19.7-0.4.gcc3.4.x86.i686 ro Root=LABEL=/quiet
initrd /initrd-2.6.19.7-0.4.gcc3.4.x86.i686.img

if it helps can anybody explain what problem is it and how can I rectify it?

Cheers!

TigerOC 01-25-2008 06:48 AM

Quote:

Originally Posted by Anujcasd (Post 3034812)
Sys Info (GRUB CONFIG):
ROOT hda1
Kernel: /vimlinuz-version ro root=//dev/hda2
initrd: /inetrd-version.img
Boot= /dev/hda
default=0
timeout=10
spalshImage=(hd0,0)/grub/asteriskNOW-splash.xpm.gz
title AsteriskNOW(2.6.19.7-0.4.gcc3.4.x86.i686)
Root (hd0,0)
Kernel /vmlinuz-2.6.19.7-0.4.gcc3.4.x86.i686 ro Root=LABEL=/quiet
initrd /initrd-2.6.19.7-0.4.gcc3.4.x86.i686.img

Hi Anuj, Welcome to the forums. I hope enjoy the company and help as much as most of us do.

Looking at your problem. The error literally means it cannot read the file at the chosen destination. There are some obvious errors in the directions above and I hope you follow the reasoning;

Quote:

Kernel: /vimlinuz-version ro root=//dev/hda2
This should be;

Kernel: /vimlinuz-version ro root=/dev/hda2

The location of the drive (dev) is below / and is hda2 = /dev/hda2

also;

Quote:

Root (hd0,0)
This should be

Root (hd0,1)

Grub numbers from zero so the the device is located on the primary connector (0) and partition 2 (1)

Edit menu.lst in your /boot/grub and that should solve the problem.


All times are GMT -5. The time now is 11:36 AM.