grub2: fix a few minor issues in help text
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 1 Jul 2014 17:39:16 +0000 (19:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Jul 2014 18:09:11 +0000 (20:09 +0200)
commita3ac2a6f58ce9f83ec23d3fd8fcc74f894ea7ea4
treed20fedd25888384199647aed174858d0a9e4f9e9
parenta1a16ebb02d007453a4ede3ea13441c049e276f5
grub2: fix a few minor issues in help text

The help text of grub2 explains the detailed steps to create a disk
image with grub2 installed on it. However, the steps for the
BIOS-based systems have a few minor issues fixed by this patch:

 - When calling partx to get the partitions detected, we should do it
   on the /dev/loop0 block device, and not on the underlying disk.img
   image file.
 - The grub-bios-setup utility must be called as root to work properly
   on /dev/loop0.
 - The steps to cleanup the partx and loop device were missing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/grub2/Config.in