On Tue, 2008-01-01 at 10:20 +0000, Mick wrote:
> Happy New Year!

so far :) 1 almost down and 365 to go!

> BRM wrote:
> 
> > The system is set to boot off of /dev/hdb2 (ext2) and use /dev/hdb1 as
> > the root. I believe the boot device is hd1,1 in grub terminology.
> 
> Yes.
> 
> > The system has 3 hard drives: hda, hdb, and sda; as well as a dvd drive
> > (hdc).
> 
> Check your /boot/grub/device.map to make sure that devices correspond to the
> expected grub nomenclature.  Use <tab-completion> after you run # grub for
> root to find out where Grub thinks its root fs resides.

in my experience, it is not enough just to run grub from within linux -
you have to boot to grub.  YMMV.

> > /dev/hdb2 has the following structure:
> >  - list of all my Slackware kernels
> >  - gentoo/bzImage
> >  - gentoo/bzImage_2-6-23-gentoo-r3
> >  - grub/
> > 
> > Below is my grub.conf (minus comment lines):
> > 
> > timeout 30
> > default 0
> > fallback 1
> > title Gentoo Linux
> > root (hd1,1)
> > kernel /gentoo/bzImage root=/dev/hdb1
> 
> I assume from what you said above that when you run ls -la /gentoo/bzImage
> you can see the kernel image you are trying to boot, right?

not quite!  root is (hd1,1) which is hdb2.  This is grub's root device,
ie your boot partition (if you have one).  The kernel line specifies the
linux root as hdb1.  so `ls -la /boot/gentoo/bzImage` should show as you
expected, given that hdb2 is mounted as /boot.

HTH!
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

#if _FP_W_TYPE_SIZE < 32
#error "Here's a nickel kid.  Go buy yourself a real computer."
#endif
        -- linux/arch/sparc64/double.h

-- 
[EMAIL PROTECTED] mailing list

Reply via email to