1 |
On 8/11/06, Stroller <stroller@××××××××××××××××××.uk> wrote: |
2 |
> livecd / # grub |
3 |
> GNU GRUB version 0.96 (640K lower / 3072K upper memory) |
4 |
> |
5 |
> grub> find /boot/grub/stage1 |
6 |
> |
7 |
> Error 15: File not found |
8 |
> |
9 |
> grub> root (hd0,0) |
10 |
> Filesystem type is xfs, partition type 0x83 |
11 |
> |
12 |
> grub> quit |
13 |
> |
14 |
> Y'see, XFS isn't the filesystem of any of the partitions on the |
15 |
> array, but that of the filesystem on the separate EIDE drive. And |
16 |
> it's no good installing GRUB on this, I've tried before. :( |
17 |
|
18 |
You can try: |
19 |
|
20 |
echo "(hd0) /dev/ida/disc0/disc" >> device.map |
21 |
grub --device-map=device.map << EOF |
22 |
root (hd0,0) |
23 |
setup (hd0) |
24 |
quit |
25 |
EOF |
26 |
|
27 |
However, the above will only work *if* the RAID array is the first |
28 |
bootable drive in the BIOS configuration. If the BIOS insists that |
29 |
the IDE drive is the first bootable hard drive, and the raid array is |
30 |
second, then you will need: |
31 |
|
32 |
echo "(hd1) /dev/ida/disc0/disc" >> device.map |
33 |
grub --device-map=device.map << EOF |
34 |
root (hd1,0) |
35 |
setup (hd0) |
36 |
quit |
37 |
EOF |
38 |
|
39 |
This should install grub to the MBR of the IDE drive, but load the |
40 |
stage2 and menu.lst from /boot on the raid array. |
41 |
|
42 |
> From the LiveCD (see first code sample) I was able to address the |
43 |
> drive as /dev/ida/disc0/disc, but not from inside the system - this |
44 |
> doesn't seem to be described in /dev: |
45 |
> |
46 |
> livecd / # ls /dev/ida/ |
47 |
> c0d0 c0d14p9 c0d6 c1d10p9 c1d2 c1d8 |
48 |
|
49 |
Look at the major and minor numbers of /dev/ida/disc0/disc from your |
50 |
system with ls -l. My guess is they will be the same as the |
51 |
/dev/ida/c0d0 device (c0d0 being short for controller 0, disc 0). |
52 |
|
53 |
-Richard |
54 |
-- |
55 |
gentoo-user@g.o mailing list |