Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-08-2005, 10:29 PM   #1 (permalink)
Broken In
 
Join Date: May 2005
Location: Bangalore
Posts: 102
Default " GRUB file not read properly " Error


Hi,
First some background....
I installed RH 8.0 in my old system without a glitch during installation(text only no GUI)....
Before this I was using Vector Linux 4.3 with LILO as bootloader.
Now even after installing GRUB LILO refused to go away.
So i used fdisk /mbr using a floppy disk.

Now i tried installing GRUB from rescue mode by the usual chroot /mnt/sysimage etc (as explained in the sticky thread)
But it said some permission error and stuff.
So ,I booted from a boot disk and under root and gave the following command...
Code:
grub-install /dev/hda
.
It gave /boot/grub/stage1 not read properly.

I even checked grub.conf file .
Details are k there.

So please help me solve this.
Thanks for reading such a looong post
__________________
\"Cogito,Ergo Sum\"
whim_gen is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-08-2005, 10:41 PM   #2 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

Did you ensure to chroot to your linux partition before running grub-install?

The GRUB installer will look for the files it needs under /boot/grub, and store their physical address in the actual bootloader. If the installer does not find the required files, you will get the error message.

I assume that

/dev/hda1 - Redhat /boot partition (if present)
/dev/hda2 - Redhat / partition

1. Boot into your boot disk and mount the / partition (mount /dev/hda2 /mnt/lin)

2. chroot to this directory (chroot /mnt/lin), mount the /boot partition at the appropriate place (mount /dev/hda1 /boot)

3. Now run grub-install
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 06-08-2005, 11:26 PM   #3 (permalink)
Broken In
 
Join Date: May 2005
Location: Bangalore
Posts: 102
Default

/dev/hda1 is my / partition...no seperate partition for /boot

Cud u please elaborate what u meant by "Mount /boot at appropriate place"??

Thanks in advance...
__________________
\"Cogito,Ergo Sum\"
whim_gen is offline  
Old 07-08-2005, 07:41 AM   #4 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

If you don't have a seperate /boot partition, you can leave that part. I mentioned it as I thought redhat creates a seperate /boot partition by default.
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2