The i/o error is simple to reproduce. Take an erased NVMe drive, use format> 
fdisk and either answer "yes" to "100% SOLARIS2", or "no" and select whatever 
you like, I suggest "EFI". Make it stick, with a FAT32 ESP with flags set to 
"boot, efi" or setting the partition active in fdisk. What I can't tell you is 
what steps to follow to make it say both "100% EFI" in format> fd, *and* have 
format> label *then* ask if I want an SMI or EFI label. Toggle solaris/solaris2 
all you like.



-Eric






---- On Thu, 23 May 2024 09:22:55 -0700 Eric J Bowman via illumos-discuss 
<[email protected]> wrote ---



Actually, I'm trying to figure out what the wizard knows... the proper arcane 
incantations. Here's what I see in the format utility:



1,!active,EFI,0,38933,38934,100%

Enter Selection: 6



This is where my i/o error occurs, regardless of 6 or 7, 99 times out of 100. 
The other times, I get this:



format> label

[0] SMI Label

[1] EFI Label

Specify Label type[1]:



With [1] being the correct answer, after which point I never get the i/o error 
again, and partition 1 goes "active" when I name s3 "system".



How'd I do that? I do not know. But I've been cursing at a wizard that actually 
does know better, lol. When this works, I proceed with a conventional GPT 
partitioning scheme which achieves the cross-platform, cross-media, cross-OS 
compatibility/interoperability I set out to accomplish.



This is why I can't just use the Tribblix ./format-a-disk.sh, SMI allows that 
s2 "backup" partition to overlap, etc. etc. which does not work with EFI or 
other OS's. Yes, I know how to use fmthard to get that SMI/EFI choice, but the 
"format" wizard's utilities won't work with it, sooner or later that i/o error 
crops up.



-Eric





https://illumos.topicbox.com/latest / illumos-discuss / see 
https://illumos.topicbox.com/groups/discuss + 
https://illumos.topicbox.com/groups/discuss/members + 
https://illumos.topicbox.com/groups/discuss/subscription 
https://illumos.topicbox.com/groups/discuss/T2a5c9e4dbedfaf21-Mbbaf47acb5b6a4331e7c8882
------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T2a5c9e4dbedfaf21-Mc63325811178b2fdba2aea82
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to