Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upcreate uefi/bios dual bootable images #36
Merged
+74
−25
Conversation
| # | ||
| fdisk -B "${rdevs}" | ||
| zpool create -B -o bootsize=34M usbgen-$$ $pdev | ||
| zpool destroy usbgen-$$ |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
tsoome
Mar 13, 2018
Author
It will create the GPT on disk. Probably should use fdisk -E instead... I think the initial idea was to re-use the partitions created by zpool, but then it appeared we have to have boot partition for ufs anyhow (need that with GPT).
pyhalov
commented
Mar 14, 2018
|
My attempt doesn't work. usbgen (fmthard?) dies with 'Partition 1 not aligned on cylinder boundary: " 1 1 00 0 2048 2047".
After fdisk -E:
|
pyhalov
commented
Mar 15, 2018
|
changing zpool create -B to something fdisk-baser we'll leave to time when illumos gets sane partitioning tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
tsoome commentedMar 8, 2018
Update create_iso to add efi program.
Update usbgen to create ESP on usb image.
Note that we do have boot1.efi for now, but also be ready for UEFI32 support, so we wont fail when UEFI32 support will get integrated.