On 30 May 2003, Jeffrey Forman wrote:

> craig,
> 
> i believe you have your numbering a little skewed. grub starts counting
> from 0 (zero), and the other spec (the hd<letter><number> scheme) starts
> from 1 (one). so 
> (hd1,0) is /dev/hdb1
> (hd1,1) is /deb/hdb2 
> and so on...
> 
> so if your root is in fact /dev/hdb2 this would be the correct line for
> grub. 
> -----------
> title gentoo linux
> root (hd1,1)
> kernel (hd1,0)/bzImage root=/dev/hdb2
> -----------

Since he listed his partitions starting with hdb0, I think those values
need to be shifted up by one, thus it should look like:
> > linux. i formated the win with fat32 and the linux i partitioned 
> > 100MB for /boot     /dev/hdb1
> > 250MB for /swap     /dev/hdb2
> > rest for /          /dev/hdb3

That being said, his root line should point to /boot (not /, which I
find consfusing syntax in grub), so his root line is actually correct
(hd1,0).

> note i removed "/boot" from the kernel line because if you are looking
> at just the boot partition, the file 'bzImage' is in the root. 

I think this may be the problem (at least one of them).  One of the
best ways to learn grub's syntax is to actually select the command
line mode at bootup.  Then enter each of your grub.conf lines in a
row.  If you try to specify something that doesn't exist (like a
partition or bzImage file) it should complain.  It also has tab
completion, which can help you find the right path to your partitions
and kernels.

In any case, here's how I would rewrite the whole grub.conf (I added
some blank lines for readability):

> > default 0
> > timeout 15
> > splashimage=(hd1,0)/grub/splash.xpm.gz
> >
> > title=Gentoo Linux
> > root (hd1,0)
> > kernel /bzImage root=/dev/hdb3
> >
> > title=Windows XP
> > root (hd0,0)
> > chainloader (hd0,0)+1




> On Fri, 2003-05-30 at 19:17, [EMAIL PROTECTED] wrote:
> > this was the first time i got close to successfully installing gentoo linux. 
> > but i came short. i got a kernel panic after i rebooted.
> > i am running grub and this is what the /boot/grub/grub.conf looks like
> > 
> > default 0
> > timeout 15
> > splashimage=(hd1,0)/boot/grub/splash.xpm.gz
> > title=Gentoo Linux
> > root (hd1,0) 
> > kernel (hd1,0)/boot/bzImage root=/dev/hdb3 
> > title=Windows XP
> > root (hd0,0) 
> > chainloader (hd0,0)+1
> > 
> > and the winXp works fine but gentoo gives me the panic.
> > My machine is setup with one drive(100gig) for win and one drive(80gig) for 
> > linux. i formated the win with fat32 and the linux i partitioned 
> > 100MB for /boot     /dev/hdb0
> > 250MB for /swap     /dev/hdb1
> > rest for /          /dev/hdb2
> > 
> > so the above i believe is correct in order for the machine to boot gentoo but 
> > it fails. and if something would require me to recompile the kernel i have no 
> > idea how to get into the shell to do so. so i could use a little help from here.

-- 
Public key #7BBC68D9 at            |                 Shane Williams
http://pgp.mit.edu/                |      System Admin - UT iSchool
=----------------------------------+-------------------------------
All syllogisms contain three lines |              [EMAIL PROTECTED]
Therefore this is not a syllogism  | www.ischool.utexas.edu/~shanew

_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to