public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Petr Kocmid <Petr.Kocmid@project-bhairava.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] grub on a SATA drive
Date: Fri, 25 Nov 2005 04:32:11 +0100	[thread overview]
Message-ID: <200511250432.11139.Petr.Kocmid@project-bhairava.org> (raw)
In-Reply-To: <20051124163137.15366.qmail@web31706.mail.mud.yahoo.com>

On Thursday 24 of November 2005 17:31, maxim wexler wrote:

> But what do I call it? hd0 and hd1 are taken.

It may well depend on your chipset configuration, number of actually connected 
drives and bios boot settings. On my board, there are 2 PATA and 1 SATA 
channels on the same controller. In linux kernel, PATA is hda and hdb, SATA 
is hdc, no matter what drives are actually connected. When i migrated my 
installation from PATA hda to SATA hdc, grub detected hda as hd0 and hdc as 
hd1 before, but once I removed parallel drive, SATA become hd0 in grub (but 
still hdc in linux), since it is first (boot) bios drive. So I needed to fix 
grub config to hd0 and change a root= kernel parameter to hdc, since grub 
insists hd0 should be hda even if there is no drive connected on PATA:

root (hd0,0)
kernel /boot/bzImage-2.6.10 root=/dev/hdc1

Also, I did grub setup on SATA MBS from booted grub shell, not in linux, 
because what it sees is what it gets then.

Hope this may help you.

-- 
Petr
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2005-11-25  3:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24 16:31 [gentoo-user] grub on a SATA drive maxim wexler
2005-11-24 18:22 ` Neil Bothwick
2005-11-24 20:26 ` Glenn Enright
2005-11-25  3:32 ` Petr Kocmid [this message]
2005-11-29  6:34   ` maxim wexler
2005-11-29  6:45     ` Heinz Sporn
2005-11-29  8:18       ` Glenn Enright
2005-11-29  9:50       ` Neil Bothwick
2005-11-29  9:35     ` Chris Boot
2005-11-29 19:04       ` maxim wexler
2005-11-29  9:48     ` Neil Bothwick
2005-11-29 19:26       ` maxim wexler
2005-11-29 20:32         ` Richard Fish
2005-11-30 16:39           ` maxim wexler
2005-11-30 16:58             ` Richard Fish
2005-12-01  0:21               ` maxim wexler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511250432.11139.Petr.Kocmid@project-bhairava.org \
    --to=petr.kocmid@project-bhairava.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox