LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-21-2006, 03:21 PM   #1
netadptr0719
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
Done

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, 03:51 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

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


Reply


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


All times are GMT -5. The time now is 10:27 AM.

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