Ubuntu & Windows
Windows sub system style (LINUX in WINDOWS)
Where you get terminal of entire linux
step 1
https://docs.microsoft.com/en-us/windows/wsl/install-win10
step 2
https://ubuntu.com/tutorials/tutorial-ubuntu-on-windows#1-overview
Multiple styles to enable same
https://www.windowscentral.com/install-windows-subsystem-linux-windows-10
Note: we only get full terminal, no UI like GNOME..etc (In parallel - can use windows + Linux terminal)
Linux as virtual OS using Hyper-V (LINUX in WINDOWS)
https://www.windowscentral.com/how-run-linux-distros-windows-10-using-hyper-v
Note : Available on Windows 10 Pro, Enterprise, and Education. We allocate specific/ limited hardware resources like 2GB RAM..etc (In parallel - can use windows + Linux)
Dual OS (LINUX with WINDOWS)
https://www.linuxtechi.com/dual-boot-ubuntu-18-04-lts-with-windows-10/
https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/
Note:
after dual os installation if grub/ choice of OS is not shown at start up (messed up - dont use)
- https://itsfoss.com/no-grub-windows-linux/
- to fix above style tried link, style 2 syslinux method but path used was '/usr/lib/syslinux/mbr/mbr.bin'
Uninstall dual boot https://itsfoss.com/uninstall-ubuntu-linux-windows-dual-boot/
Worked
- From live USB -> try ubuntu without installing -> Use boot repair
- Also use particular laptop/ desktop choose boot pop up option
Shared storage
https://helpdeskgeek.com/how-to/how-to-create-a-shared-storage-drive-for-dual-boot-systems/
Note: we only get full UI + terminal, also leverage full hardware power. (One at a time - either use windows or Linux)
Virtual box (WINDOWS in LINUX)
Install it from software center or
Choose virtual box software (currently in ubuntu)
Creating virtual env for windows (Just naming & hardware allocation process)
RAM allocation
Hard drive
Virtual box disk image (so cross compatible with other OS virtual box)
After hardware allocation
Installing actual OS, go to settings of that item
Choose image (.iso) file of windows 10
Click on start of that item
First time installation process will be prompted, next time onwards actual OS with the state left
Say multiple items are added in virtual box (here windows 10 & ubuntu server edition)
Virtual box Folder sharing
say ubuntu host (where Virtual box exists) to ubuntu client
UI Ref, in virtual boxUI, select machine -> settings -> shared -> add folder to be shared
In client machine
Now in other locations, can see shared folder mounted
For windows, In virtual box menu window for that OS,
- click "Devices -> InsertGuestAddition CD Image", it will prompt to download for first time
- cd drive will be added in windows box, just install that software to see shared folder added
- ref
Virtual Box Static IP assignment
File -> Host Network Manager, create network address say vboxnet0 (some auto ip series - say 192.168.56.1/24)
Select any virtual box os, settings-> Network -> select adapter 2, Attached to -> Host only Adapter -> select vboxnet0
Login into Virtual box OS, check "ip a", find ethernet name & configure same in netplan for sattic ip
Check install-server.md, to assign static ip (netplan) to server
Virtualbox screen resolution (server)
for desktop, from ui can change screen resolution
for server ref
Supported resolutions can be identified from within grub. Hit 'c' at the grub prompt, then type:
- after checking, type reboot command
- change in etc/default/grub file
- close the file & run following