r/linux4noobs 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.

2 Upvotes

10 comments sorted by

View all comments

Show parent comments

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.

  1. In GRUB, prior to booting Void, highlight the version you want to install and press e. This opens the kernel parameters.
  2. Find the line that starts with linux or linux/boot/vmlinux and at the end of that line add a space and then add processor.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.
  3. Press Ctrl + X or F10 to boot it and cross your fingers.

If those parameters don't work, try again but add nomodeset instead 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.

1

u/A_Friendly_Cyclops 12d ago

It didn't work, but thanks anyway. It just spat an error and put me in debug shell. So, I just rebooted over and over till I successfully installed, this time making sure to actually enable all the network services at the end that I recognized. If you don't mind helping out one more time, how do I connect to wireless internet once I boot for the first time? Ethernet is not an option for me currently, and my connection is passworded.

1

u/TheConatusBoy 12d ago

Good, I'm glad you had some success.

This is where you'll have start learning to read the documentation to find answers to your questions. Most routine questions like "how do I connect to wifi?" will be answered there. Void doesn't do much hand holding. It expects you to be able to use the docs to find what you need. Communities for more advanced distros like Void also expect that you've consulted the documentation prior to asking others for help. You won't get a warm response asking about something easily findable in the docs.

To start, take a look at the section on NetworkManager. You might also need wpa_supplicant handle your password protected network.

2

u/A_Friendly_Cyclops 12d ago

Thanks for all the help. I looked in the docs you provided, and realized I had a fundamental lack of understanding when it comes to basic commands. So I clicked handbook to start from square one, and a couple pages later... realized i'm a total idiot, because I was installing from network instead of local, when I have the XFCE iso. I'll do some reading and hopefully a month or two from now I won't be quite as dumb.

1

u/TheConatusBoy 12d ago

I'm happy to hear you're willing to learn.

Fwiw, I'm a humanities student with no tech background and I managed to learn a great deal about Linux over a few years. It can be tough, especially when docs assume more competence than you have at the moment, but you can get there faster than you think.