Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB error
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
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 11:29 am    Post subject: GRUB error Reply with quote

Hi, i've installed gentoo 2007 but...i've a boot error and i don't find any doc about it.

I've one hd p-ata master so it's hda !

my partitions are:

/boot /dev/hda1
/swap /dev/hda2
/ /dev/hda3


I've installed grub with this grub.conf:

default 0
timeout 10

title=Gentoo
root (hd0,0)
kernel /boot/kernel root=/dev/hda3

In grub:

root (hd0,0)
setup (hd0)

All it's ok!

So...i reboot and....my pc is blocked with:

GRUB Loading stage1.5Read Error


There is not the error number ! It's blocked. I've reinstalled gentoo 5 times!! but...i don't resolve :(

help please!
Back to top
View user's profile Send private message
Jason5876
n00b
n00b


Joined: 06 Sep 2007
Posts: 6

PostPosted: Tue Sep 18, 2007 11:44 am    Post subject: Reply with quote

baldomax,

Are you sure your kernel's name in /boot is "kernel". It may be something else if you used genkernel to install it. If you are unsure, enter

# ls -l /boot

to see what your kernel is named.
Back to top
View user's profile Send private message
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 12:27 pm    Post subject: Reply with quote

Jason5876 wrote:
baldomax,

Are you sure your kernel's name in /boot is "kernel". It may be something else if you used genkernel to install it. If you are unsure, enter

# ls -l /boot

to see what your kernel is named.


Yes i'm sure! I have do:

cp arch/i386/boot/bzImage /boot/kernel

and i've verified it!

any suggestion?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Sep 18, 2007 12:49 pm    Post subject: Reply with quote

baldomax wrote:
Jason5876 wrote:
baldomax,

Are you sure your kernel's name in /boot is "kernel". It may be something else if you used genkernel to install it. If you are unsure, enter

# ls -l /boot

to see what your kernel is named.


Yes i'm sure! I have do:

cp arch/i386/boot/bzImage /boot/kernel

and i've verified it!

any suggestion?


I name my kernel like this: cp arch/i386/bzImage /boot/kernel_2_6_20_v_7

I assume you have a mismatch with your /lib/modules directory because of don*t doing my way.

My suggestion for you is to name your kernel proper in the kernel config, make && make modules_install; copy to boot; add a new kernel entry in grub.conf and try again.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Sep 18, 2007 12:51 pm    Post subject: Reply with quote

Hi,

May you post your /etc/fstab. Check if your boot partition is mounted all the time. Mount it and reinstall grub.
Back to top
View user's profile Send private message
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 1:09 pm    Post subject: Reply with quote

:(

I've tried with genkernel and i've the same error:
GRUB Loading stage1.5Read Error.

I have used howto http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10 step by step

i'm blocked ! :(
Back to top
View user's profile Send private message
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 1:16 pm    Post subject: Reply with quote

tw04l124 wrote:
Hi,

May you post your /etc/fstab. Check if your boot partition is mounted all the time. Mount it and reinstall grub.


/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto 0 0
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Sep 18, 2007 1:39 pm    Post subject: Reply with quote

baldomax wrote:
tw04l124 wrote:
Hi,

May you post your /etc/fstab. Check if your boot partition is mounted all the time. Mount it and reinstall grub.


/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto 0 0



remove the noauto statement from the line with /boot, thx
Back to top
View user's profile Send private message
Habbit
Apprentice
Apprentice


Joined: 01 Sep 2007
Posts: 237
Location: 3.7137 W, 40.3873 N

PostPosted: Tue Sep 18, 2007 1:42 pm    Post subject: Reply with quote

Did you completely and succesfully install GRUB into your /boot partition? Seems that GRUB is unable to locate its stage2 components in _its_ root filesystem. Try to boot from the CD, chroot into your Gentoo environment as you did during the install and do the following:
Code:

root@machine: ~ # mount /boot
root@machine: ~ # grub-install --recheck /dev/hda1

Adjusting the device name as needed to point to your /boot partition
_________________
Code:
~ $ objdump -d ./habbit_mind
90      xchg %rax, %rax
EB FD   jmp $-3
Back to top
View user's profile Send private message
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 2:14 pm    Post subject: Reply with quote

I've deleted noauto but i've the same error.



grub-install --recheck /dev/hda1 :

(fd0) /dev/fd0
(hd0) /dev/hda

So...it seem correct.

i can modify grub.conf with


I've also tried with

kernel (hd0,0)/boot/kernel ......

but....error error error :(

It's possible hd broken?
Back to top
View user's profile Send private message
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 3:56 pm    Post subject: Reply with quote

Any other suggestion? :(
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Sep 18, 2007 7:44 pm    Post subject: Reply with quote

Is your ide/ sata /pata controller build in the kernel?
Back to top
View user's profile Send private message
baldomax
n00b
n00b


Joined: 08 Oct 2005
Posts: 8

PostPosted: Tue Sep 18, 2007 8:04 pm    Post subject: Reply with quote

tw04l124 wrote:
Is your ide/ sata /pata controller build in the kernel?


Yes. I've also used genkernel and i've the same error.

Now i've tried with another new disk and .....i've the same error.

I don't know what i can do now.
:(
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Sep 18, 2007 8:09 pm    Post subject: Reply with quote

Hi, may I ask you to use google; e.g. keyword: GRUB Loading stage1.5Read Error

It gives me a hole list; You will have to go through each of them, like this:

http://www.linuxquestions.org/questions/showthread.php?threadid=262858
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Wed Sep 19, 2007 3:03 am    Post subject: Reply with quote

That error is usually caused by the stage 2 files (anything under /boot/grub) not being readable by GRUB. This could be because you don't have a
Code:
boot → .
symlink in /boot, or because GRUB can't read the filesystem the stage 2 files are on, or - and this is probably most likely - because you havn't mounted your boot partition before installing grub.
Back to top
View user's profile Send private message
centaurus
n00b
n00b


Joined: 12 Aug 2007
Posts: 13

PostPosted: Wed Sep 19, 2007 9:40 pm    Post subject: Reply with quote

I was going to post about it but was busy with other things. Anyway, last weekend I installed Gentoo, dual boot with other Linux distros in my new AMD64 machine and did a grub-install --no-floppy /dev/hdb. Yet, it seems to be unbootable since grub appeared to have not been installed - I only got my old grub from the other O/S. When I tried to boot Gentoo by adding the portion relevant to Gentoo in the current grub, I received a kernel panic message:
Code:

title          Gentoo Linux 2.6.22-2-gentoo-r5
root           (hd1,5)
kernel         /boot/kernel-2.6.22-gentoo-r5 root=/dev/hdb6 ro

The /boot is in a separate partition (extended logical). I followed the handbook instruction closely, so there shouldn't be any error.
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