VirtualBox 7 Notes
Oracle VirtualBox 7
- Create VMs
Change values as required for your environment.
VirtualBox 7 Installation
DL latest version files.
- Oracle VirtualBox Base Packages - 7.n.n (7.1.8)
- Oracle VirtualBox: Base package source code and Extension Pack
- VBox GuestAdditons
Prerequisites
- MS Visual C++ 2019 Redistributable Package.
Comments
- Press Right-Ctrl to be able to move mouse outside VM.
- Use default values for everything except where specified.
Run Installer
Run VirtualBox-7.1.8-168469-Win.exe:
- Accept License Agreement: [Next]
- Accept Defaults: [Next]
- Warning: Network Interfaces: [Yes]
- Missing Dependencies (Python...): [Yes]
- Options (accept defaults): [Next]
- Ready: [Install]
-- If disconnected, reconnect.
- Oracle VirtualBox installation is complete.
[ ] Start Oracle...
[Finish]
- [Close]
Install Extension Pack
- Right-clik, Open: Oracle_VirtualBox_Extension_Pack-7.1.8.vbox-extpack - [Install] - Accept VirtualBox Extension Pack...: [I Agree] - [Expert Mode] - [Close]
Create OEL 8 VM
Select New then use the following values:
Name and Operating System - Name: OEL8_BaseInstall - Folder: D:\VirtualBoxes - ISO: F:\sw\iso\OracleLinux\OL85.iso [x] Skip Unattended Installation Hardware - Base Memory: 12,288 MB - Processors: 2 - Hard Disk -- 128 GB - [Finish] Settings - General -- Advanced: Shared Clipboard: Bidirectional Drag 'n' Drop: Bidirectional - System - [ ] Floppy - Display Video Memory: 128 MB [x] Enable 3D Acceleration - Storage, Audio, Serial, User Interface, USB Use defaults (leave as-is) - Network Adapter 1 [x] Enable Network Adapter Attached to: NAT Adapter 2 [x] Enable Network Adapter Attached to: Host-only Adapter Promiscuous Mode: Allow All Adapter 3 [x] Enable Network Adapter Attached to: Internal Network Name: pubnet Promiscuous Mode: Allow All - Shared Folders + {folder icon} F:\sw: ☑ Auto-mount
Linux OS
Select New then use the following values:
-Start - Install OS as normal. ... - [Reboot System] - Login as root, next through initital screens. - Power off - Clone OS (just in case - can deleted after Guest\Add installed). -Install Guest Additions (OEL 8 or later) 0. Make sure in Settings\General: Advanced -> Shared Clipboard = Bidirectional 1. Update Linux Set /etc/resolv.conf yum repolist yum search release-el8 yum update -y 2. Reboot. 3. yum -y install kernel-uek-devel-`uname -r` 4. Unmount any .iso disks. 5. Mount\run the latest Guest Additions version .iso (ex: 7.1.8).
Comments
D:\VirtualBoxes *.vbox *.vdi Linux Version cat /etc/system-release Oracle Linux Server release 8.10 -- Pre-Expand disk to initial usage size. So does not happen during install or DB creation. dd if=/dev/zero of=/tmp/zTmpfile.dat bs=1M count=10240 status=progress ls -l /tmp/zTmpfile.dat rm /tmp/zTmpfile.dat
Windows 2016
Select New then use the following values:
SETTINGS General • Advanced: Shared Clipboard: Bidirectional Hardware Base Memory: 9216mb • ☐ Floppy (disable) • Pointing Device: USB Tablet (to fix bug where mouse disappears) • Processors: 2 (minimum for RAC 4). Hard Disk: 100 GB Video Memory: 128mb Display: Default is VMSVGA [x] Enable 3D Acceleration Controller: IDE -> Optical Drive: -> <Choose OS ISO for Install> Folders: F:\sw: ☑ Auto-mount ----------------------------------------------------------------------- Adapter 1 [x] Enable Network Adapter Attached to: NAT Adapter 2 [x] Enable Network Adapter Attached to: Host-only Adapter Promiscuous Mode: Allow All Adapter 3 [x] Enable Network Adapter Attached to: Internal Network Name: pubnet Promiscuous Mode: Allow All START - Accept Language, Time, Keyboard [Next] [Install Now] - Windows Server 2016 Standard (Desktop Experience) x64 - License, Accept - Custom: Install Windows only (advanced) - Where...install Windows? Select: Drive 0 Unallocated Space [Next] Process runs... 3:15 - Copying... - Getting files... - Installing features... [Restart] - User name: [Administrator] Password...must be changed [Ok] ******** [tab] ******** [Enter] [Finish] - Login -> Menu Input...Keyboard...Insert: Ctrl-Alt-Del - Remove Optimal Drive - Load Guest Editions ISO -- This PC ... View: File Extentions D: VirtualBox Guest Additions: VBoxWindowsAdditions.exe Right-Click...RunAs Administrator...[Install] -- (x) Reboot Now C-L-O-N-E Disable via Server Manager Settings --------------------------------------------------------------------------- Open Server Manager. In the top-right corner, click "Manage" > "Server Manager Properties". Check the box that says: "Do not start Server Manager automatically at logon" [OK]
Alma 9.x
Select New then use the following values:
Name and Operating System - Name: Alma96_BaseInstall - Folder: D:\VirtualBoxes - ISO: F:\sw\iso\OracleLinux\Alma96.iso [x] Skip Unattended Installation Hardware - Base Memory: 12,288 MB - Processors: 2 - Hard Disk -- 128 GB - [Finish] Settings General -- Advanced: Shared Clipboard: Bidirectional Drag 'n' Drop: Bidirectional System - [ ] Floppy - Display Video Memory: 128 MB [x] Enable 3D Acceleration Storage, Audio, Serial, User Interface, USB = --> Use defaults - leave as-is. Network Adapter 1 [x] Enable Network Adapter Attached to: NAT Adapter 2 [x] Enable Network Adapter Attached to: Host-only Adapter Promiscuous Mode: Allow All Adapter 3 [x] Enable Network Adapter Attached to: Internal Network Name: pubnet Promiscuous Mode: Allow All Shared Folders + {folder icon} F:\sw: ☑ Auto-mount ==================================================================================================== Note: Press Right-Ctrl to be able to move mouse outside VM. Start - Install OS as normal. >>> Terminate Plymouth Boot Screen = paused there about 3 min ... - [Reboot System] - Login as root, next through initital screens. - Power off - Clone OS (just in case - can deleted after Guest\Add installed). ---Install Guest Additions (OEL 8 or later)''' 0. Make sure in Settings\General: Advanced -> Shared Clipboard = Bidirectional 1. Update Linux Set /etc/resolv.conf yum repolist yum search release-el9 yum update -y 2. Reboot. 3. Unmount any .iso disks. (should already be unmounted) 4. Mount\run the latest Guest Additions version .iso (ex: 7.1.8). 5. Shutdown. Then manually start. yum install s-nail D:\VirtualBoxes *.vbox *.vdi F:\sw cat /etc/system-release Oracle Linux Server release 8.10 -- Pre-Expand disk to initial usage size. dd if=/dev/zero of=/tmp/zTmpfile.dat bs=1M count=10240 status=progress ls -l /tmp/zTmpfile.dat rm /tmp/zTmpfile.dat
Redhat 9.x
Select New then use the following values: Use default values for everything except specfied.
Name and Operating System - Name: RH96_BaseInstall - Folder: D:\VirtualBoxes - ISO: F:\sw\iso\OracleLinux\RH96.iso [x] Skip Unattended Installation Hardware - Base Memory: 12,288 MB - Processors: 2 - Hard Disk -- 128 GB - [Finish] Settings - General -- Advanced: Shared Clipboard: Bidirectional Drag 'n' Drop: Bidirectional -System - [ ] Floppy - Display Video Memory: 128 MB [x] Enable 3D Acceleration - Storage, Audio, Serial, User Interface, USB = --> Use defaults - leave as-is. - Network Adapter 1 [x] Enable Network Adapter Attached to: NAT Adapter 2 [x] Enable Network Adapter Attached to: Host-only Adapter Promiscuous Mode: Allow All Adapter 3 [x] Enable Network Adapter Attached to: Internal Network Name: pubnet Promiscuous Mode: Allow All - Shared Folders + {folder icon} F:\sw: ☑ Auto-mount
====================================================================================================
Note: Press Right-Ctrl to be able to move mouse outside VM.
Start
- Install OS as normal.
>>> Terminate xxx boot screen = paused there a while
...
- [Reboot System]
- Login as root, next through initital screens.
- Power off
- Clone OS (just in case - can deleted after Guest\Add installed).
Install Guest Additions (OEL 8 or later)
0. Make sure in Settings\General: Advanced -> Shared Clipboard = Bidirectional
1. Update Linux
Set /etc/resolv.conf
yum repolist
yum search release-el8
yum update -y
2. Reboot.
3. yum -y install kernel-uek-devel-`uname -r`
4. Unmount any .iso disks.
5. Mount\run the latest Guest Additions version .iso (ex: 7.1.8).
D:\VirtualBoxes
*.vbox
*.vdi
F:\sw
cat /etc/system-release
Oracle Linux Server release 8.10
-- Pre-Expand disk to initial usage size.
dd if=/dev/zero of=/tmp/zTmpfile.dat bs=1M count=10240 status=progress
ls -l /tmp/zTmpfile.dat
rm /tmp/zTmpfile.dat
Complete Version Upgrade
Covers initial new version installation of Alma\OEL\Redhat over existing system.
Settings -> Storage -> Controller: IDE
- Attributes -> Optical Drive: <Select Deisire ISO to Upgrade To> Ex: Alma96.iso - Start (Console Session Launches) - Install Redhat 9.x
GUI Install Section
- Welcome To Alma Linux 9.x Language: English > English (United States) - Installation Summary -- SYSTEM: Installation Destination (x) Custom [Done] -- MANUAL PARTITIONING Existing version will be shown. Ex: AlmaLiux 8.10 for x86_64 -- Expand Existing Version (AlmaLiux 8.10 for x86_64) With SYSTEM / selected, click minus [-] ---- Are you sure...delete all of the data on xxx? [x] Delete all file systems ... only used by xxx for x86_64. [Delete It] Previous volumes\partitions are removed... Dont press [Done] yet! Order of operation is key here. -- With Existing Version no longer shown, proceed as normal to create disks volumes, i.e. "Click here to create then automatically" ... [Done] There will be many volumes listed in red. Its expected. This is because existing volumes\partitions will be deleted. [Accept Changes] Continue configuring OS as normal.