diff options
| author | Toomas Soome <tsoome@me.com> | 2018-08-17 14:28:33 +0300 |
|---|---|---|
| committer | Dan McDonald <danmcd@joyent.com> | 2018-08-20 13:35:40 -0400 |
| commit | d23a2a081683858fbc9fafc163b60bbd8c9ede13 (patch) | |
| tree | 335c080cc3f01238ce3f857f4b5fe139ebd6c90e | |
| parent | 74fbde0026523e948c17e57c29e2d53edad1c600 (diff) | |
| download | illumos-joyent-d23a2a081683858fbc9fafc163b60bbd8c9ede13.tar.gz | |
9753 installgrub: hard coded partition 0 with GPT
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Dan McDonald <danmcd@joyent.com>
| -rw-r--r-- | usr/src/cmd/boot/installgrub/installgrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/boot/installgrub/installgrub.c b/usr/src/cmd/boot/installgrub/installgrub.c index 9d95b37274..09c03fd1f4 100644 --- a/usr/src/cmd/boot/installgrub/installgrub.c +++ b/usr/src/cmd/boot/installgrub/installgrub.c @@ -741,8 +741,8 @@ get_start_sector(ig_device_t *device) device->start_sector = vtoc->efi_parts[device->slice].p_start; /* GPT doesn't use traditional slice letters */ + device->partition = device->slice; device->slice = 0xff; - device->partition = 0; efi_free(vtoc); goto found_part; |
