1 |
Hi. |
2 |
|
3 |
Regarding the installation instructions at |
4 |
http://www.gentoo.org/index-download.html |
5 |
|
6 |
Occasionally, when |
7 |
a) recovering from master-disasters |
8 |
b) installing a new linux distro |
9 |
c) adding new hardware |
10 |
|
11 |
... I happen to use the feature of BIOS to make another hard disk than the |
12 |
first bootable. This works ok until you want to re-install grub, if you |
13 |
temporarily want to keep this mixed configuration. Another situation might |
14 |
be that BIOS didn't detect some of your harddisks but Linux did. |
15 |
|
16 |
Anyway, the situation is that if you have harddisks hda hdc hdd in linux, |
17 |
but they don't show up as hd0 hd1 hd2, but as hd1 hd0 hd2 for example. |
18 |
|
19 |
If you start grub like this: |
20 |
|
21 |
$ grub --device-map=/boot/grub/device.map |
22 |
|
23 |
.. and have a file /boot/grub/device.map like this: |
24 |
|
25 |
(fd0) /dev/fd0 |
26 |
(hd0) /dev/hdc |
27 |
(hd1) /dev/hda |
28 |
(hd2) /dev/hdd |
29 |
|
30 |
And grub will know how the disk setup looks like at boot time. |