Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-21-2006, 04:21 PM   #1
LQ Newbie
Registered: Jan 2006
Location: Rolla MO
Distribution: Fedora Core 4
Posts: 11

Rep: Reputation: 0
Grub install error 31 while setting up stage1.5

Greetings all,
I'm not new to linux but I am new to Fedora 4 and Grub and I have been having some issues. I found out that the reason my Grub wont load is because of an error with stage 1.5. When I go into recue mode I entered
grub> setup ....and got

Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists.. yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0,2)"... failed(this is not fatal
Running "embed /grub/e2fs_stage1_5 (hd0,2)"... failed(this is not fatal
Running "install /grub/stage1 (hd0,2) /grub/stage2 p /grub/grub.conf"... succeeded

After this I tried :

grub> install (hd0,2)/grub/stage1 d (hd0,2) (hd0,2)/grub/e2fs_stage1_5 p (hd0,2)/grub/stage2

All I get in return is:

Error 31: File is not sector aligned

Any and all help would be appreciated, thanks.
Old 01-21-2006, 04:51 PM   #2
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Try to do it like this;
grub> root (hd0,0)          (Specify where your /boot partition resides)
grub> setup (hd0)           (Install GRUB in the MBR)
grub> quit                  (Exit the GRUB shell)


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 04:13 AM
grub error 21 stage1.5 wxman2 SUSE / openSUSE 2 08-27-2005 11:45 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 09:13 PM
grub Error 6:Mismatched o corrupt version of stage1/stage 2 mikmok Linux - General 2 03-02-2004 12:52 PM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration