Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub - stage1 not read correctly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Tue Dec 23, 2008 11:15 am    Post subject: grub - stage1 not read correctly Reply with quote

Hi, I am trying to install grub, so i type grub-install /dev/sda

It returns: The file /boot/grub/stage1 not read correctly

My grub.conf is 100% fine. It's only a grub reinstallation after moving / partition using partition manager. The file /boot/grub/stage1 exist.

Should I post something more? Please help.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Tue Dec 23, 2008 12:06 pm    Post subject: Reply with quote

Hi, can you post this :

Code:

# fdisk -l
# cat /boot/grub/grub.conf

_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Tue Dec 23, 2008 12:08 pm    Post subject: Re: grub - stage1 not read correctly Reply with quote

qubaaa wrote:
Hi, I am trying to install grub, so i type grub-install /dev/sda

It returns: The file /boot/grub/stage1 not read correctly

My grub.conf is 100% fine. It's only a grub reinstallation after moving / partition using partition manager. The file /boot/grub/stage1 exist.

Should I post something more? Please help.


Try running grub from command line and enter:
Code:

root (hd0,0) # or whatever partition the stage{1,2} files are
setup (hd0)

If all went well, GRUB will report finding its files in /boot/grub. So type "quit" to quit the grub shell and that's all to it.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Tue Dec 23, 2008 11:00 pm    Post subject: Re: grub - stage1 not read correctly Reply with quote

qubaaa wrote:
It's only a grub reinstallation after moving / partition using partition manager.

Your partition manager may have corrupted the files that grub needs.

Just boot with a LiveCD, chroot, and re-emerge grub. Then you should be able to install it without errors.
Back to top
View user's profile Send private message
mayhew
n00b
n00b


Joined: 25 Feb 2013
Posts: 18

PostPosted: Tue Apr 02, 2013 10:23 pm    Post subject: Gentoo cant grub Reply with quote

I am trying to boot a fresh gentoo install. its /boot is in / on sda3. grub-install returns stage1 read incorrectly.

would the fact that sda3 is a LVM(id:8e) have anything to do with the problem?
_________________
Its only not worth doing, if you don't want or need to do it.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31993
Location: 56N 3W

PostPosted: Tue Apr 02, 2013 10:53 pm    Post subject: Reply with quote

mayhew,

You may not put /boot inside LVM if you use grub1 as it won't boot, even it it installs.
Grub2 is reported to work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum