From: Alison Chaiken Date: Sun, 4 Jun 2017 22:11:20 +0000 (-0700) Subject: sandbox: README: fix partition command invocation X-Git-Tag: v2017.09-rc1~214^2~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b20c347a08f754dd02796ed394f81cf83ae30cd;p=u-boot sandbox: README: fix partition command invocation The instructions for creating a disk image that are presently in README.sandbox fail because sfdisk doesn't know about GPT. Signed-off-by: Alison Chaiken Reviewed-by: Simon Glass Tested-by: Simon Glass --- diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox index 02d8ab3d09..9dc2eb09d1 100644 --- a/board/sandbox/README.sandbox +++ b/board/sandbox/README.sandbox @@ -333,7 +333,7 @@ the contents of the root directory on the second partion of the image A disk image can be created using the following commands: $> truncate -s 1200M ./disk.raw -$> echo -e "label: gpt\n,64M,U\n,,L" | /usr/sbin/sfdisk ./disk.raw +$> echo -e "label: gpt\n,64M,U\n,,L" | /usr/sbin/sgdisk ./disk.raw $> lodev=`sudo losetup -P -f --show ./disk.raw` $> sudo mkfs.vfat -n EFI -v ${lodev}p1 $> sudo mkfs.ext4 -L ROOT -v ${lodev}p2