Thanks again! On 19/08/10 20:46, Jiang, Dave wrote:
-----Original Message-----So I created a RAID0 like your setup. I have md0 as the container and md127 as the RAID0 volume. Fedora 12 installed grub on /dev/md127. The grub version from F12 is 0.97. I was able to rerun grub-install on /dev/md127 successfully. My device map contains: (hd0) /dev/md127 Do you have to use grub2?
No. Attached my results with grub-0.97 (-r10).The error 22 I mentioned... maybe I am just not seeing it... like something /very/ obvious... ?
/dev/md/126 is my volume with the partitions, /dev/md127 is my container I can give you ssh access to the machine, just send me your pub key. XMPP chat: tormen@xxxxxxxxxx Knuth
/vola # grub-install /dev/md126 $1 #367 root@sysresccd pts/1 expr: non-integer argument GNU GRUB version 0.97 (640K lower / 9216K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup --stage2=/boot/grub/stage2 --prefix=/grub (hd0,) Checking if "/grub/stage1" exists... yes Checking if "/grub/stage2" exists... yes Checking if "/grub/e2fs_stage1_5" exists... yes Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install --stage2=/boot/grub/stage2 /grub/stage1 (hd0,0) /grub/stage2 p /grub/menu.lst "... failed Error 22: No such partition grub> quit
/vola # grub --device-map=/dev/null $1 #367 root@sysresccd pts/1 GNU GRUB version 0.97 (640K lower / 9216K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> device(hd0) /dev/md126 Error 27: Unrecognized command grub> device (hd0) /dev/md126 grub> root (hd0, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 2, Filesystem type unknown, partition type 0x7 Partition num: 4, Filesystem type unknown, partition type 0x82 Partition num: 5, Filesystem type is ext2fs, partition type 0x83 Partition num: 6, Filesystem type unknown, partition type 0x83 Partition num: 7, Filesystem type unknown, partition type 0x83 Partition num: 8, Filesystem type unknown, partition type 0x83 Partition num: 9, Filesystem type unknown, partition type 0x7 grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 18 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed Error 22: No such partition grub>
<<attachment: smime.p7s>>