Re: Install grub on nvdia dmraid10 ?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Darrick J. Wong skrev:
Thomas Backlund wrote:Hi, has anyone successfully installed grub on a nvidia dmraid10 ? I have a setup of 4 160GB disks configured through bios to do raid10, made the partitions under WinXP with Partition Magic and I can access the /dev/mapper/nvidia_* partitions just fine from a livecd as they are correctly identified with dmraid -ay...afaik, grub doesn't know how to determine which dm devices map back to BIOS devices. You can manually set up a mapping in the grub shell: device (hd0) /dev/mapper/blah ...though you'll want to specify the device's BIOS geometry via "dmsetup setgeometry c h s" first. At some point I'll patch dmraid to do this automatically (unless someone beats me to it ;)). Note that for an installed system you can put "(hd0) /dev/mapper/blah" in /boot/grub/device.map.
Unfortunately: [root@localhost grub]# grub --device-map=/dev/null GNU GRUB version 0.97-17mdv2007.0 (640K lower / 3072K 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,0) /dev/mapper/nvidia_eaeccaag1 device (hd0,0) /dev/mapper/nvidia_eaeccaag1 grub> device (hd0) /dev/mapper/nvidia_eaeccaag device (hd0) /dev/mapper/nvidia_eaeccaag grub> root (hd0,0) root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yesRunning "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeededRunning "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed
Error 22: No such partition grub> quit and it does not help to have: device (hd0) /dev/mapper/nvidia_eaeccaag in boot/grub/device.map Any ideas ? -- Thomas _______________________________________________ Ataraid-list mailing list Ataraid-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ataraid-list