From: Richard Jones Date: Thu, 3 Jun 2010 10:48:41 +0000 (+0100) Subject: grub-install: In docs suggest manually creating device.map (RHBZ#484986). X-Git-Tag: 1.3.19~11 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=dccd9b8f525cfae49b89c38066d752e6c054c7f6;p=libguestfs.git grub-install: In docs suggest manually creating device.map (RHBZ#484986). --- diff --git a/src/generator.ml b/src/generator.ml index efc8bfd..cc34676 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2329,7 +2329,18 @@ See also: C, C."); "install GRUB", "\ This command installs GRUB (the Grand Unified Bootloader) on -C, with the root directory being C."); +C, with the root directory being C. + +Note: If grub-install reports the error +\"No suitable drive was found in the generated device map.\" +it may be that you need to create a C +file first that contains the mapping between grub device names +and Linux device names. It is usually sufficient to create +a file containing: + + (hd0) /dev/vda + +replacing C with the name of the installation device."); ("cp", (RErr, [Pathname "src"; Pathname "dest"]), 87, [], [InitBasicFS, Always, TestOutput (