In the past I have seen a System and I still ask myself sometimes how it worked. Let me explain first my memory:
There was computer system which booted into a non Windows System, with login GUI where you could log on (probably with ldap) and Guest Code, after that you could choose an os from a list (depended from your user account) which was afterwards loaded. I don't think it was sth. based on virtualization because it didn't seem to run the os in a new window like VMware, Vbox, RDP, VNC Sessions (I am not sure but between the swap from let's call is login os and selected os the monitor was shortly black, like a normal linux boot) otherwise it might be possible with virtualization
So now I come to the question how it was done ?
Is it possible to boot into a login os and afterwards swap into a selected os?
I think it would be possible to load per default the login OS and afterwards edit the grub file to the specified os, reboot and let the os afterwards re-edit it back but are there alternatives ? Was the "login os" really an own os ?
Like would it be possible to rerun the bootloader with a specified target from a bash or c programm, etc.
# bootfrom /dev/drive/
Grub is the first stage which loads afterwards the choosen os, can there be three stages ? MBR->GRUB->"login OS"->"selected OS"
man efibootmgr
and the-n
option. – Vilinkameni Sep 21 '22 at 04:29