Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial Solaris/Illumos/OpenIndiana support #697

Merged
merged 12 commits into from
Apr 30, 2023

Conversation

chasecovello
Copy link
Contributor

No description provided.

@philclifford
Copy link
Contributor

philclifford commented Apr 29, 2023

Thanks for coming back to this @chasecovello .

Am I being dim? The gui iso booted fine, installed apparently OK with the gui installer but the resulting virtual disk doesn't boot for me. Trying again with the text installer but is there something that needs doing after installing and before rebooting (that I need to add to the docs for all the curious folk who will fire it up, hit the defaults and end up only rebooting into the iso installer ?

Update: was being dim - needed to change the boot environment. I probably need to add a section to the docs repo
(Ping quickemu-project/quickemu-icons#12)

The OpenIndiana installer defaults to MBR partition table and BIOS boot
code even in EFI mode, so changed quickget to set 'boot="legacy"' in the
configuration file.
@chasecovello
Copy link
Contributor Author

I didn't catch this earlier because I only used the text mode installer, not GUI. I think I figured it out. The installer defaults to creating an MBR partition table without an EFI system partition. The text installer correctly creates a GPT table with EFI partition only if you select to install on the "whole disk" and not in a partition. The GUI installer appears to have a bug that creates an MBR regardless of which option you choose.

However, all four installation methods (GUI/whole disk, GUI/partition, text/whole disk, text/partition) work with BIOS boot. Text/whole disk still creates EFI/GPT, but makes it bootable with BIOS as well. So I've modified quickget to write 'boot="legacy"' to the config file. After doing test installs with all four methods, it seems to work. I've pushed the changes to my repo (along with a USB controller fix -- ehci seems to lose interrupts, xhci works).

Copy link
Member

@flexiondotorg flexiondotorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flexiondotorg flexiondotorg merged commit 2156339 into quickemu-project:master Apr 30, 2023
@chasecovello chasecovello deleted the solaris branch April 30, 2023 22:59
chasecovello added a commit to chasecovello/quickemu that referenced this pull request Apr 30, 2023
* Add initial Solaris/Illumos support

* Fix OpenIndiana kernel panic on boot

The OpenIndiana kernel panics on boot in the AHCI driver. Switching the
machine type from "q35" to "pc" seems to fix the issue.

* Fix Illumos/OpenIndiana USB controller issue.

* Add openindiana support

* Updated quickget with current OpenIndiana release

* Change OpenIndiana video card to vmware-svga

OpenIndiana's default Xorg configuration doesn't work with QXL, virtio,
or VGA, but it does with vmware-svga.

* Updated man pages for OpenIndiana support

* Changed default Solaris/OpenIndiana boot to legacy

The OpenIndiana installer defaults to MBR partition table and BIOS boot
code even in EFI mode, so changed quickget to set 'boot="legacy"' in the
configuration file.

---------

Co-authored-by: Phil Clifford <[email protected]>
chasecovello added a commit to chasecovello/quickemu that referenced this pull request Apr 30, 2023
* Add initial Solaris/Illumos support

* Fix OpenIndiana kernel panic on boot

The OpenIndiana kernel panics on boot in the AHCI driver. Switching the
machine type from "q35" to "pc" seems to fix the issue.

* Fix Illumos/OpenIndiana USB controller issue.

* Add openindiana support

* Updated quickget with current OpenIndiana release

* Change OpenIndiana video card to vmware-svga

OpenIndiana's default Xorg configuration doesn't work with QXL, virtio,
or VGA, but it does with vmware-svga.

* Updated man pages for OpenIndiana support

* Changed default Solaris/OpenIndiana boot to legacy

The OpenIndiana installer defaults to MBR partition table and BIOS boot
code even in EFI mode, so changed quickget to set 'boot="legacy"' in the
configuration file.

---------

Co-authored-by: Phil Clifford <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants