public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] grub device mapping
@ 2001-07-01 16:17 Jonas Berlin
  0 siblings, 0 replies; only message in thread
From: Jonas Berlin @ 2001-07-01 16:17 UTC (permalink / raw
  To: gentoo-dev

Hi. 

Regarding the installation instructions at
http://www.gentoo.org/index-download.html

Occasionally, when
  a) recovering from master-disasters
  b) installing a new linux distro
  c) adding new hardware

... I happen to use the feature of BIOS to make another hard disk than the
first bootable. This works ok until you want to re-install grub, if you
temporarily want to keep this mixed configuration. Another situation might
be that BIOS didn't detect some of your harddisks but Linux did.

Anyway, the situation is that if you have harddisks hda hdc hdd in linux,
but they don't show up as hd0 hd1 hd2, but as hd1 hd0 hd2 for example.

If you start grub like this:

$ grub --device-map=/boot/grub/device.map

.. and have a file /boot/grub/device.map like this:

(fd0) /dev/fd0
(hd0) /dev/hdc
(hd1) /dev/hda
(hd2) /dev/hdd

And grub will know how the disk setup looks like at boot time.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-01 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-01 16:17 [gentoo-dev] grub device mapping Jonas Berlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox