Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was installing Gentoo when I ran into problems with the bootloader. Whether I used the automatic or manual installation method, GRUB always threw the following error:

The file /boot/grub/stage1 not read correctly.

I checked out the file with nano, but it was mostly unreadable and garbled as if it were using the wrong character encoding. All the other files in that directory suffered the same fate.

Are these files supposed to be human-readable? Will the problem fix itself if I try installing again? If not, what can be done to correct it?

share|improve this question
1  
Most probably you point GRUB to the wrong partition. What's your partition layout (post your /etc/fstab)? What's the content of /boot/grub/menu.lst? What's the command you used to install? –  phunehehe Jun 5 '11 at 14:05
add comment

1 Answer

up vote 2 down vote accepted

No, they're not supposed to be human readable, most of the files in /boot/grub are binaries that grub executes in it's loading process. menu.lst (versions older than grub 2) or grub.cfg are for human editing.

You should specify what version of grub you're running.

You should also note down the exact error. "Something similar" is not good enough to give meaningful advice in majority of cases.

share|improve this answer
    
I'm assuming it's the latest version of GRUB, since it was installed through emerge (as per the Gentoo handbook's instructions). The full error states "the file /boot/grub/stage1 not read correctly." –  Maxpm Jun 5 '11 at 1:54
2  
The current version of GRUB in Gentoo is 0.97. –  cjm Jun 5 '11 at 4:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.