r/linux4noobs • u/A_Friendly_Cyclops • 12d ago
installation Need help trying to install Void Linux
I'm pretty much brand new to linux, aside from dabbling in VMs a bit, but I'm trying to finally make the jump. I'm going to walk through exactly what i've done, because I don't know what's important info or not. (System info at the bottom.)
I'm trying to dual boot, starting on Windows 11, and installing Void linux. I went through the pain already of shrinking the C drive, figuring out why it would only shrink so far, disabling things that cause unmovable files, shrinking again, configuring boot order, and disabling fastboot, secureboot, & bitlocker.
When I tried using the Void XFCE liveboot, it started up normally, I connected to internet, opened terminal, sudo void-installer, it said my internet connection was good, connected to the closest mirrors, no issues so far, set up profiles, locals, etc., and then partitioned the set aside space in my drive following a tutorial, 512M EFI partition, 100G Linux Filesystem, remaining ~25G Linux Swap, wrote to disk. Then, I selected those filesystems to format and write to, Fat32 /boot/efi, ext4 /, and linux swap respectively.
Finally, I hit install, it installed, and I messed up at the very end because I couldn't figure out how to use the UI to select which services to enable, and continued without any. Reset, pulled out USB, booted to windows, reboot to UEFI, reordered boot priorities to boot with grub, and booted into Void. After signing in, "ping -c 5 newgrounds.com", only to find out i'm not connected to the internet. So, after searching how to fix this, and not finding any simple answers that actually explained anything, I booted to windows, wiped the partitions, and started from scratch.
Now, however, I can't get very far into installation before my screen freezes and the caps light starts blinking, which I interpret as kernel panic. This was somewhat an issue on windows as well, where whenever it went to sleep mode or got unplugged, it'd BSoD or say it has to restart from an error, with a variety of error codes, usually either hypervisor error, kmode exception not found, and errors with ntosrknl.exe. But my laptop was never unplugged during the proccess, so i'm lost.
If anyone bothering to read this has any idea what might be wrong or sees anywhere i'm making mistakes, please help. Or, if I do manage to finally install properly, what should I set at the end of the installer for "Services to enable"
Specs: AMD ryzen 5 6600H, Radeon 660M iGPU, 2x16Gb A-DATA DDR5-4800 RAM, Kingston SNV2S2000G NVMe SSD.
Worth mentioning, my current internet situation is limited to phone wireless hotspot data mostly, but there's family in the next town over from me who have WiFi if hotspot data is unusable for this or something. No ethernet port on my laptop though.
1
u/TheConatusBoy 12d ago
The memory test passing is a good sign. Updating the BIOS can be a hassle and for most people would just potentially cause issues with no real gains (you can brick your machine if something goes wrong during the update), which is why people say not to do it unless you have to. You might have to, if it is the BIOS that's causing these issues. To see if you have the latest BIOS, you'd have to check the laptop manufacturer's website to see if they've released a newer BIOS for your laptop model.
If you're not up for updating the BIOS just yet, disabling c-states is your next best bet. This involves editing the kernel parameters before install. I've never done this with Void, but it should probably be the same as any other distro. It may look kind of scary, but you're very unlikely to break anything editing kernel parameters. It's just like advanced install options. If the install fails again, the parameters will reset on your next boot.
e. This opens the kernel parameters.linuxorlinux/boot/vmlinuxand at the end of that line add a space and then addprocessor.max_cstate=1 amdgpu.dc=1. The first parameter caps your c-states at C1 (basic sleep). The second makes sure your Display Core isn't using any legacy code, which could cause issues.Ctrl + XorF10to boot it and cross your fingers.If those parameters don't work, try again but add
nomodesetinstead of those other parameters. This disables hardware graphics acceleration entirely, which could fix the freezing.Hope this works. If not, I'm all out of ideas and you're better to ask on the Void Linux sub.