Discussion:
grub: error 8
Bill Jenkins
2004-02-26 21:36:08 UTC
Permalink
How in the world did all you guys get gentoo working??? I can' t get it to
boot.
Grub gives me "error 8: kernel must be loaded before booting"
I've posted my grub.conf, /etc/fstab, output of parted. I've compiled the
scsi driver for my card,
an adaptec 2940u2w, directly into the kernel. I even went into my /boot dir
and made a simlink:
ln -s /boot/kernel-2.4.22-gentoo-r7 /boot/bzImage because I thought it
might be looking for something by that name.
(I may have it backward, but the link was named bzImage.) I've been doing
this long enough to know that it's something simple
but I can't figure it out.

I'm about ready to throw up my hands and go back to redhat/debian/bsd, or
something that's merely difficult but not impossible.

many thanks,

Bill Jenkins
***@airmail.net


--
gentoo-***@gentoo.org mailing list
Andrew Gaffney
2004-02-26 21:39:22 UTC
Permalink
Post by Bill Jenkins
How in the world did all you guys get gentoo working??? I can' t get it to
boot.
Grub gives me "error 8: kernel must be loaded before booting"
I've posted my grub.conf, /etc/fstab, output of parted. I've compiled the
scsi driver for my card,
an adaptec 2940u2w, directly into the kernel. I even went into my /boot dir
ln -s /boot/kernel-2.4.22-gentoo-r7 /boot/bzImage because I thought it
might be looking for something by that name.
(I may have it backward, but the link was named bzImage.) I've been doing
this long enough to know that it's something simple
but I can't figure it out.
I'm about ready to throw up my hands and go back to redhat/debian/bsd, or
something that's merely difficult but not impossible.
What does your /boot/grub/grub.conf look like?
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


--
gentoo-***@gentoo.org mailing list
Barry Marler
2004-02-26 21:42:47 UTC
Permalink
On Thu, 26 Feb 2004 15:36:08 -0600
Post by Bill Jenkins
How in the world did all you guys get gentoo working??? I can' t get
it to boot.
Grub gives me "error 8: kernel must be loaded before booting"
I've posted my grub.conf, /etc/fstab, output of parted. I've compiled
the scsi driver for my card,
an adaptec 2940u2w, directly into the kernel. I even went into my
ln -s /boot/kernel-2.4.22-gentoo-r7 /boot/bzImage because I thought
it might be looking for something by that name.
<snip>

Did you post your grub.conf to this list? If so, I missed it. Please
post it again. Did you mount /boot before installing the kernel? You
don't need a symlink to bzImage; you can call the kernel anything you
like, as long as you pass it to grub correctly in grub.conf.
--
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
gentoo-***@gentoo.org mailing list
Bill Jenkins
2004-02-26 21:44:53 UTC
Permalink
----- Original Message -----
From: "Bill Jenkins" <***@airmail.net>
To: <gentoo-***@lists.gentoo.org>
Sent: Wednesday, February 25, 2004 6:23 AM
Subject: Re: [gentoo-user] GRUB. i think...
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
root (hd0,0)
kernel (hd0,0)/kernel-2.4.22-gentoo-r7 root=/dev/ram0 real_root=/dev/sda2
init=linuxrc vga=0x317 splash=verbose
initrd (hd0,0)/kernel-2.4.22-gentoo-r7
I'm writing this on paper and walking it from one room to another, so
there
may be typos. I also tried it with the kernel path set to
(hd0,0)/boot/kernel........ /dev/sda2 is the root partition on my scsi
drive, but maybe i should have called it /dev/hda1? I get confused. I
originally tried to set up with lilo, but couldn't get lilo to find a
kernel. I'd just get rolling screens of 101010101.
Thanks for the help. I'd really like to make this work.
Bill
----- Original Message -----
Sent: Wednesday, February 25, 2004 12:51 AM
Subject: Re: [gentoo-user] GRUB. i think...
I've been trying to load up gentoo for a while, and every time I think
I
get
closer. This is my fourth try, a GRP and three stage ones. This time
it's
a stage one, and I can actually get the grub splash on boot, but it's
just
the prompt, and whatever command I try, I get the message that the
kernel
must be loaded first. What am I missing?
Sleepily,
Bill Jenkins
Can you post your grub.conf for us to look at?
Sam
--
--
--
gentoo-***@gentoo.org mailing list
Linus harling
2004-02-26 23:08:38 UTC
Permalink
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
root (hd0,0)
Is your system a SCSI only system?
Are you sure that /dev/sda1 really is (hd0,0) in GRUB-speak (you have
tab-completion in the grub-shell so you can fiddle around in there to
find out)?
kernel (hd0,0)/kernel-2.4.22-gentoo-r7 root=/dev/ram0 real_root=/dev/sda2
What is the root=/dev/ram0 parameter for? I've never seen it before... I
tried finding real_root in the online manual for grub, but I can't, what
is it supposed to do?
Have you tried just putting root=/dev/sda2 instead?
init=linuxrc vga=0x317 splash=verbose
I think you can remove this line too and just go with (I'd skip the
splash part too):

kernel (hd0,0)/kernel-2.4.22-gentoo-r7 root=/dev/sda2 vga=0x317
initrd (hd0,0)/kernel-2.4.22-gentoo-r7
Don't you mean: initrd (hd0,0)/initrd-2.4.22-gentoo-r7?

My grub.conf would probably look something like this in your case:

#grub.conf for scsi-dude
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz

Title= Linux 2.4.22
root=(hd0,0)
kernel (hd0,0)/kernel-2.4.22-gentoo-r7 root=/dev/sda2 vga=792
initrd (hd0,0)/initrd-2.4.22-gentoo-r7
#end grub.conf

Regards
Linus (no not *that* one ;-) )

--
gentoo-***@gentoo.org mailing list
Sami Samhuri
2004-02-27 02:30:31 UTC
Permalink
On Thu, 2004-02-26 at 15:08, Linus harling wrote:
<snip>
Post by Linus harling
Regards
Linus (no not *that* one ;-) )
May as well take the credit if someone mistakes you for Torvalds. =)

Sam


--
gentoo-***@gentoo.org mailing list
Rudmer van Dijk
2004-02-26 21:50:08 UTC
Permalink
Post by Bill Jenkins
How in the world did all you guys get gentoo working??? I can' t get it to
boot.
Grub gives me "error 8: kernel must be loaded before booting"
IIRC there was a change for grub from /boot/grub/grub.conf
to /boot/grub/menu.lst

after an emerge I got into trouble booting, linking (ln -s) grub.conf to
menu.lst solved it.

Rudmer
Post by Bill Jenkins
I've posted my grub.conf, /etc/fstab, output of parted. I've compiled the
scsi driver for my card,
an adaptec 2940u2w, directly into the kernel. I even went into my /boot dir
ln -s /boot/kernel-2.4.22-gentoo-r7 /boot/bzImage because I thought it
might be looking for something by that name.
(I may have it backward, but the link was named bzImage.) I've been doing
this long enough to know that it's something simple
but I can't figure it out.
I'm about ready to throw up my hands and go back to redhat/debian/bsd, or
something that's merely difficult but not impossible.
many thanks,
Bill Jenkins
--
--
gentoo-***@gentoo.org mailing list
Bill Jenkins
2004-02-26 22:24:20 UTC
Permalink
I'll try anything, but let me be sure i have it exactly right.

ln -s /boot/grub/grub.conf /boot/grub/menu.1st

is that it?

I know the system just can't find the kernel, but i don't know why

many thanks

bill
----- Original Message -----
From: "Rudmer van Dijk" <***@legolas.dynup.net>
To: <gentoo-***@lists.gentoo.org>
Sent: Thursday, February 26, 2004 3:50 PM
Subject: Re: [gentoo-user] grub: error 8
Post by Rudmer van Dijk
Post by Bill Jenkins
How in the world did all you guys get gentoo working??? I can' t get it to
boot.
Grub gives me "error 8: kernel must be loaded before booting"
IIRC there was a change for grub from /boot/grub/grub.conf
to /boot/grub/menu.lst
after an emerge I got into trouble booting, linking (ln -s) grub.conf to
menu.lst solved it.
Rudmer
--
gentoo-***@gentoo.org mailing list
David Hart
2004-02-26 23:46:30 UTC
Permalink
Post by Bill Jenkins
I'll try anything, but let me be sure i have it exactly right.
ln -s /boot/grub/grub.conf /boot/grub/menu.1st
is that it?
Change the number 1 (one) above to lower case l
--
David Hart
***@klutz.org.uk

--
gentoo-***@gentoo.org mailing list
Robert Crawford
2004-02-27 15:28:03 UTC
Permalink
There was a problem recently with several grub updates, 0.93 and 0.94, and
they wouldn't boot. You had to type in at the grub prompt something like:

grub > /boot/grub/grub.conf

or something like that- I forget exactly what the command was- check the forum
sticky on grub if this doesn't work, and there are posts with the exaft
command. Anyway, then you will get the grub splash screen, ands can boot.
Then you need to emerge sync, and get the last version of grub, 0.94, which
finally fixed it.

So- if you happen to have a version of grub that had that problem, the above
is the soulution.

Robert Crawford

--
gentoo-***@gentoo.org mailing list

larryB
2004-02-26 23:07:40 UTC
Permalink
You will find this is not the only error to give such problems. I have
been unsuccessfully attempting to create a gentoo system for over a
week - many faults. I believe it is too close to the cutting edge with
its standard download distribution. Even after I got a system
quasi-working on another box (which I am using now), emerging new
applications broke old ones (e.g., sound).

I too am about ready to revert to a distribution which is more reliable
- Linux From Scratch. Sorry I can not aid you with your problem.
Post by Bill Jenkins
How in the world did all you guys get gentoo working??? I can' t get
it to boot.
Grub gives me "error 8: kernel must be loaded before booting"
I've posted my grub.conf, /etc/fstab, output of parted. I've
compiled the scsi driver for my card,
an adaptec 2940u2w, directly into the kernel. I even went into my
ln -s /boot/kernel-2.4.22-gentoo-r7 /boot/bzImage because I thought
it might be looking for something by that name.
(I may have it backward, but the link was named bzImage.) I've been
doing this long enough to know that it's something simple
but I can't figure it out.
I'm about ready to throw up my hands and go back to
redhat/debian/bsd, or something that's merely difficult but not
impossible.
many thanks,
Bill Jenkins
--
--
gentoo-***@gentoo.org mailing list
Kathy Wills
2004-02-26 22:39:52 UTC
Permalink
Post by Bill Jenkins
I'm about ready to throw up my hands and go back to
redhat/debian/bsd, or something that's merely difficult but not
impossible.
many thanks,
Bill Jenkins
That's funny to me. I am not having that much trouble with gentoo. The
problems I do run into, I can usually find my answers either here, in
the forum, or http://bugs.gentoo.org. The time I tried Linux from
scratch, I ran into problems compiling some of the basics and never did
find an answer to solve it. I'll stick with Gentoo.
--
Kathy Wills

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Genealogy Web Site: http://www.brannanorwills.com +
+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


--
gentoo-***@gentoo.org mailing list
larryB
2004-02-27 02:43:48 UTC
Permalink
Post by Kathy Wills
Post by Bill Jenkins
I'm about ready to throw up my hands and go back to
redhat/debian/bsd, or something that's merely difficult but not
impossible.
many thanks,
Bill Jenkins
That's funny to me. I am not having that much trouble with gentoo.
The problems I do run into, I can usually find my answers either
here, in the forum, or http://bugs.gentoo.org. The time I tried Linux
from scratch, I ran into problems compiling some of the basics and
never did find an answer to solve it. I'll stick with Gentoo.
My problems are now solved, thanks to this list.

Kathy, thanks for the additional tip to check bugzilla. There was
nothing so useful when I was creating my Linux From Scratch (LFS) over
a year ago (although there may be now). I also had problems compiling
some of LFS, but was able to resolve the problems myself with the
configure or makefiles (sometimes using trial and error). My LFS
distro served me well until several hard disk crashes forced a new
distro. I chose Gentoo, and was rather frustrated with many hours of
fruitless attempts using different install methods. Thanks to this
list, and the other help sources you have clued for me, my confidence
is somewhat restored.

Thanks, Larry


--
gentoo-***@gentoo.org mailing list
Collins Richey
2004-02-27 04:43:24 UTC
Permalink
On Thu, 26 Feb 2004 16:39:52 -0600
Post by Kathy Wills
Post by Bill Jenkins
I'm about ready to throw up my hands and go back to
redhat/debian/bsd, or something that's merely difficult but not
impossible.
many thanks,
Bill Jenkins
That's funny to me. I am not having that much trouble with gentoo. The
problems I do run into, I can usually find my answers either here, in
the forum, or http://bugs.gentoo.org. The time I tried Linux from
scratch, I ran into problems compiling some of the basics and never
did find an answer to solve it. I'll stick with Gentoo.
Good luck with LFS. I'm just too lazy to appreciate it. Gentoo
provides everything I need, and it's reliable. Most problems arise for
one of two reasons:

1. You didn't read the install (and other) documentation carefully, or
you decided to take some shortcuts.

2. You have strange hardware. I find it hard to believe that LFS would
be any better than Gentoo in this respect.

Enjoy,
--
Collins Richey - Denver area
gentoo testing 2.6.3 nptl udev

--
gentoo-***@gentoo.org mailing list
Bill Jenkins
2004-02-27 03:38:40 UTC
Permalink
Post by Bill Jenkins
I'm about ready to throw up my hands and go back to redhat/debian/bsd, or
something that's merely difficult but not impossible.
OK, boys and girls, in the true spirit of linux, I figgered it out by
fiddling around. At the grub prompt, I entered
grub> boot (hd0,0)/boot/bzImage
where bzImage was a symlink to linux-2.4.22-etcetera, and I actually got,
GUESS WHAT??? Half a freakin' boot.
Kernel panic at the root filesystem mount with the following message:

kernel panic: VFS unable to mount root fs on 8:02
spurious 8259A interrupt: IRQ7

linux is such a tease,

bill


--
gentoo-***@gentoo.org mailing list
Collins Richey
2004-02-27 05:37:20 UTC
Permalink
On Thu, 26 Feb 2004 21:38:40 -0600
Post by Bill Jenkins
Post by Bill Jenkins
I'm about ready to throw up my hands and go back to
redhat/debian/bsd, or something that's merely difficult but not
impossible.
OK, boys and girls, in the true spirit of linux, I figgered it out by
fiddling around. At the grub prompt, I entered
grub> boot (hd0,0)/boot/bzImage
where bzImage was a symlink to linux-2.4.22-etcetera, and I actually
got, GUESS WHAT??? Half a freakin' boot.
kernel panic: VFS unable to mount root fs on 8:02
spurious 8259A interrupt: IRQ7
Unable to mount the root partition is almost always due to failure to
compile the appropriate fs code as builtin rather than module. If you
are using ext3, you need ext3 builtin, if reiserfs.reiserfs builtin,
etc.

Not sure about the spurious interrupt. What hardware (CPU, motherboard,
chipset, disk drives, etc.) are you using? Maybe you missed kernel
support for your specific chipset.
--
Collins Richey - Denver area
gentoo testing 2.6.3 nptl udev

--
gentoo-***@gentoo.org mailing list
Andrew Gaffney
2004-02-27 05:54:15 UTC
Permalink
Post by Collins Richey
On Thu, 26 Feb 2004 21:38:40 -0600
Post by Bill Jenkins
Post by Bill Jenkins
I'm about ready to throw up my hands and go back to
redhat/debian/bsd, or something that's merely difficult but not
impossible.
OK, boys and girls, in the true spirit of linux, I figgered it out by
fiddling around. At the grub prompt, I entered
grub> boot (hd0,0)/boot/bzImage
where bzImage was a symlink to linux-2.4.22-etcetera, and I actually
got, GUESS WHAT??? Half a freakin' boot.
kernel panic: VFS unable to mount root fs on 8:02
spurious 8259A interrupt: IRQ7
Unable to mount the root partition is almost always due to failure to
compile the appropriate fs code as builtin rather than module. If you
are using ext3, you need ext3 builtin, if reiserfs.reiserfs builtin,
etc.
Not sure about the spurious interrupt. What hardware (CPU, motherboard,
chipset, disk drives, etc.) are you using? Maybe you missed kernel
support for your specific chipset.
I bet that spurious interrupt is for the NIC. Its probably one of those cheap generic
ones. I've had a few of those and got messages like that in my kernel log all the time. It
never really seemed to affect anything.
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


--
gentoo-***@gentoo.org mailing list
Grendel
2004-02-27 05:53:29 UTC
Permalink
On Thu, 26 Feb 2004, Andrew Gaffney uttered the following immortal words,
Post by Andrew Gaffney
I bet that spurious interrupt is for the NIC. Its probably one of those cheap generic
ones. I've had a few of those and got messages like that in my kernel log all the time. It
never really seemed to affect anything.
You usually get this with the rtl8139 based cheap NIC's.

Grendel
--
Grendels annoyance filter is so advanced it puts people to the killfile
even before they have posted.

--
gentoo-***@gentoo.org mailing list
Continue reading on narkive:
Loading...