this post was submitted on 20 Nov 2023
117 points (98.3% liked)

Linux

47997 readers
977 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So, I had to reinstall windows as a dualboot, because I need some CAD tools for work. It was painful but it's not thebaubject

I'm running nixos with systemd-boot and I installed windows on another drive. I started to research how to add the entry on the boot list so I don't need to go in bios to switch the boot order each time I want to change OS.

Most of the information I find is about grub on nixos but I finally find information on how to add a manual entry. On the Arch wiki I find some information but now I have to blend all that to make it work on my laptop.

It's late and I'm scared to mess up my boot partition so I go to sleep to work instructions on it the next day.

The next day I'm ready to do all that only to realized that there is already the entry for windows is already in the boot menu, it has been added automatically.

So I spent all this time to think about how I while have to adjust my system manually only to realize that nixos already did it automatically for me.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 11 months ago* (last edited 11 months ago) (2 children)

When I dual boot Linux and Windows, I like to have two separate drives and not ever mix up the bootloaders. I then use my motherboards boot selector to choose which one, and I leave the main OS as the first priority one.

Works perfectly, avoids Windows overwriting Linux and avoids GRUB breaking for the 11th time this month because it's a terrible piece of software. The only downside is it takes 10 seconds longer, because whenever I want to change I need to wait for my motherboard to recognize the boot selection key.

[–] [email protected] 9 points 11 months ago (1 children)

When I need both Linux and Windows, I like to have at least one of them locked up in a VM so that they can never even sniff each other :-)

[–] [email protected] 3 points 11 months ago (2 children)

Out of curiosity, do you VM the Windows or the Linux? I know Windows really doesn't play well with bootloaders.

[–] [email protected] 5 points 11 months ago

Whatever is needed.

My preference is Linux as the base system, then several VM's with both Linuxes and Windoses inside. Proxmox on the base system makes it easy.

[–] [email protected] 3 points 11 months ago (1 children)

I tried via a VM but CAD applications need a GPU and doing a GPU pass through with a nvidia card on my laptop was too much for me.

[–] [email protected] 2 points 11 months ago

I totally get it but KVM/qumu is really awesome. Well worth the setup time IMHO.

[–] [email protected] 1 points 11 months ago

I have never had grub break on OpenSUSE in 6+ years. But also i install OpenSUSE after Windows and with its own boot partition. it finds windows and adds a chainloader grub entry. Set OpenSUSE as default in bios. Windows never knows it is chainloaded and leaves your linux boot alone