-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- HP Support Community Knowledge Base
- Notebooks Knowledge Base
- Notebooks Knowledge Base
- Installing Linux on your HP Pavilion Gaming Laptop
It is possible to install Linux on your HP Pavilion Gaming 15 cx-0058wm laptop alongside Windows 10 using a dual-boot setup. If you're encountering a black screen when booting from the USB, it could be due to various reasons, such as graphics compatibility issues or improper boot settings.
Steps to Install Linux in a Dual Boot:
-
Prepare Your USB Drive:
- Ensure you've correctly created a bootable USB drive using a tool like Rufus or Balena Etcher.
- Ensure you've correctly created a bootable USB drive using a tool like Rufus or Balena Etcher.
-
Secure Boot Settings:
- Access BIOS/UEFI settings by pressing the Esc key several times or F10 when starting your laptop.
- Navigate to the "Security" tab.
- Disable "Secure Boot" and enable "Legacy Support" if necessary.
-
Install Elementary OS:
- Connect the bootable USB and reboot your laptop.
- Press the key for the boot menu (usually F9) and select your USB drive.
- If you encounter a black screen, try pressing E at the boot menu to edit boot parameters.
- Add nomodeset after quiet splash in the line to overcome graphics issues.
-
Install alongside Windows:
- Follow the installation instructions on the screen.
- Select the "Install alongside Windows" option if available.
- Properly configure partitions to ensure your data remains intact.
-
Post-Installation Tips:
- After Linux installation, boot back into Windows and install the required Linux drivers if any hardware isn’t recognized properly.
Troubleshooting:
- Graphics Driver Issues: Using nomodeset often helps fix graphical issues during installation.
- Check Compatibility: Ensure that your laptop hardware is compatible with the Linux distribution.
Need help or have any questions? Start a new discussion here and get the answers you need.

Be alert for scammers posting fake support phone numbers and/or email addresses on the community.
If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.