svlug-hints_on_using_grub_separate_boot_partion_second_disk

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



From: Serban Giuroiu <gyzmobro@yahoo.com>
Subject: Re: [svlug] GRUB Doesn't Recongize My Second Hard Drive
Date: Sun, 8 Jun 2003 13:54:58 -0700 (PDT)
To: svlug@lists.svlug.org

charles@altair.dhs.org wrote:

> I believe you need to add the device to your
> device.map.
> 
> /boot/grub/device.map

This is my grub.conf:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 *****************************
title Red Hat Linux (2.4.20-8)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/1
hdc=ide-scsi
        initrd /initrd-2.4.20-8.img
title Gentoo
        root (hd1,0)
        kernel (hd1,0)/boot/bzImage root=/dev/hdb3
hdc=ide-scsi vga=ask


This is my device.map:

(fd0)     /dev/fd0
(hd0)     /dev/hda
(hd1)     /dev/hdb

=====

From: David Hummel <ddhummel@pacbell.net>
Subject: Re: [svlug] GRUB Doesn't Recongize My Second Hard Drive
Date: Sun, 8 Jun 2003 14:53:22 -0700
To: svlug@lists.svlug.org

Serban Giuroiu wrote:

> This is my grub.conf:
[snip]
> title Gentoo
>         root (hd1,0)
>         kernel (hd1,0)/boot/bzImage root=/dev/hdb3 hdc=ide-scsi vga=ask

Is your kernel image really located in /dev/hdb1?  That is where grub is
looking in this case.  If you've got a separate partition for /boot, say
/dev/hdb2, then grub's root would (hd1,1).  In grub, primary partitions
are counted from zero and extended partitions from 4.

===

From: David Hummel <ddhummel@pacbell.net>
Subject: Re: [svlug] GRUB Doesn't Recongize My Second Hard Drive
Date: Sun, 8 Jun 2003 15:06:10 -0700
To: svlug@lists.svlug.org

Serban Giuroiu wrote:

> This is my grub.conf:
[snip]
> title Gentoo
>         root (hd1,0)
>         kernel (hd1,0)/boot/bzImage root=/dev/hdb3 hdc=ide-scsi vga=ask

If /boot is in /:

  root (hd1,0)
  kernel /boot/bzImage root=/dev/hdb3 hdc=ide-scsi vga=ask

else if /boot is separate partition (/dev/hdb2 for example):

  root (hd1,1)
  kernel bzImage root=/dev/hdb3 hdc=ide-scsi vga=ask

===

From: Serban Giuroiu <gyzmobro@yahoo.com>
Subject: Re: [svlug] GRUB Doesn't Recongize My Second Hard Drive
Date: Sun, 8 Jun 2003 22:07:58 -0700 (PDT)
To: svlug@lists.svlug.org

David Hummel <ddhummel@pacbell.net> wrote:

> else if /boot is separate partition (/dev/hdb2 for
> example):
> 
>   root (hd1,1)
>   kernel bzImage root=/dev/hdb3 hdc=ide-scsi vga=ask

Ah yes! My mistake, I do have a separate boot
partition. I guess I shouldn't be doing this stuff at
11:00 at night. Thanks for the help!


===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu