this post was submitted on 15 Nov 2023
3 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

So i have a pc i use as a server, i run without a monitor and keyboard connected. It has an older gpu installed just in case. I currently run 2, but want to expand to 3 operating systems across 2 drives(windows 10, debian 11, some os for docker). I don't want to run them on a VMM or hypervisor, since i had some issues with klipper. Is there a way for me to switch which one i'll boot into when turning on my pc, without having to for example selecting the os in grub using a keyboard? Can i do that process remotely?

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 10 months ago

I would just run Ubuntu, setup docker and use kasm workspaces to do what you wanted

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

Not really. You could buy a kvm so you could remotely connect to that device and then select the OS you want in grub. But that is essentially connecting a monitor and keyboard.

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

From your Linux systems you could run grub-set-default or grub-reboot. I don't know if there's a version for Windows.

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

Does your server use a server motherboard? Or are you reusing a desktop style motherboard as a server?

A lot of server motherboards support IPMI which allows access over the network to change BIOS / UEFI settings and install the OS remotely and stuff like that.

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

Im using a Gigabyte x399 aorus gaming 7 motherboard with a threadripper 1900x cpu

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

Use efibootmgr to rearrange the boot order and then reboot.

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

If you are using Grub for booting, your could do a script for editing the default OS and use that for rebooting.

Or alternatively use networking capabilities of Grub as shown in this exemple.

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

i ran proxmox with passthru for any vm i wanted to use it on. i had a 2ndary older gpu for main access, and used fluxbox with firefox for the initial setup which i would start x on if i needed graphical interface, i had multi monitors, with multi inputs, so i could switch input after loading vm. This meant i had access to proxmox as headless, or with GUI, There is a software kvm that can be used for swapping mouse/keyboard functionality. After boot once the vm side of things was sorted i could simply qm up ### of vm after logging into cli of headless proxmox. In terms of deciding which OS will boot you can do this via the vm settings option"start on boot", which can be turned on and off whenever, but this would require you know beforehand which os you want next if you plan on shutting down your pc. I basically left mine on, but this isnt always feasible. docker is fine headless and ssh into from your windows/debian instance... there are many other container image options in proxmox. For secure DL of windoze iso that doesnt require you already be running windows to access the download section to obtain an iso i used this from inside proxmos ( not technically the best way, but it is what i chose to do - a better way would be via your linux vm, then upload from that via the browser based access to proxmox. hope that helps :)