On Sunday 30 October 2005 03:48 am, DR GM SEDDON wrote:
> Karol Krizka wrote:
> >On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
> >>my grub.conf:
> >>' default 0
> >>timeout     5
> >>splashimage=(hd0.0)/grub/splash.xpm.gz
> >>
> >>title=linux-2.6.13
> >>root (hd0.0)
> >>kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> >>ramdisk-8193 real_root=/dev/hda3 udev
> >>initrd /initrd'
SNIP
> >
> >>>>I noticed your files are in / not /boot where mine  are.  Should I
> >>>>mv them?
> >>>
> >>>They're in / only on the boot partition ie they are in the root of
> >>>(hd0,0).
> >>>
> >>>If you are specifying your files as living in /boot on the boot
> >>>partition then this could stop your system booting fully.
> >>>
> >>>Perhaps you could post your grub.conf?
SNIP

I've been using gentoo for 3 yrs now and using a grub.conf exactly as follows 
for all that time.  It has <never> failed to work.  I did not create 
the /boot dir with mkdir, that was done when I cp'd my bzImage 
from /usr/src/linux/arch/x86_64/boot/bzImage to /boot, and I did it that way 
because that's how the docs said to do it.

[EMAIL PROTECTED] ~ $ cat /boot/grub/grub.conf
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo (linux kernel 2.6.11-gentoo-r10)
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/sda1

If you, when you installed gentoo in the first place, placed /boot in its own 
partition, then anything you copy to that partition is going to start with 
"/boot...".  How else are you going to tell the kernel to copy something to 
the boot partition when /boot is all you've mounted there?  If you, as root, 
tell the system to mount the partition where you've installed grub.conf, how 
else do you specify it except as "mount /boot".  I don't mean to belabor the 
point, but....

So tell grub to look on "(hd0,0)/boot/bzImage" for the kernel to boot, 
only,since you don't have a bzImage but a genkernel, change it accordingly: 
(hd0,0)/boot/genkernel-*.  I assure you that this <does not> "stop your 
system from booting fully."

Also, since you're getting error code 15, what you have in /etc/fstab is 
completely immaterial.  Grub can't even find your kernel, and grub's interest 
stops at finding the kernel, so take care of grub's errors first, then worry 
about whether your fstab is properly set up.

Bill Tetrault
Madison, WI
-- 
[email protected] mailing list

Reply via email to