How to Install Ubuntu in VMware Workstation on Windows (Complete Step-by-Step Guide)
Prerequisites
VMware Workstation Pro/Player installed (Download)
Ubuntu ISO file (Download)
20GB+ free disk space
4GB+ RAM recommended
Virtualization enabled in BIOS (VT-x/AMD-V)
Step 1: Create a New Virtual Machine
Open VMware Workstation
Click "Create a New Virtual Machine" or File > New Virtual Machine
Select "Typical (recommended)" configuration
Choose "Installer disc image file (ISO)" and browse to your Ubuntu ISO
Click Next
Step 2: Configure Virtual Machine Settings
Enter a name for your VM (e.g., "Ubuntu 22.04")
Select a location to store the VM files
Set disk capacity (recommended: 20GB minimum)
Choose "Store virtual disk as a single file" for better performance
Click "Customize Hardware" to adjust:
Memory: 4096MB (4GB) or more
Processors: 2 or more cores
Network Adapter: NAT (recommended)
Click Finish
Step 3: Install Ubuntu
Power on the virtual machine
Select "Install Ubuntu" from the GRUB menu
Choose your language and click Continue
Select keyboard layout and click Continue
Choose installation type:
Normal installation (recommended for beginners)
Minimal installation (for advanced users)
Check "Install third-party software" for better hardware support
Select "Erase disk and install Ubuntu" (this only affects the virtual disk)
Click Install Now and confirm partitioning
Select your timezone
Create your user account:
Enter your name
Set computer name
Choose username
Create password
Wait for installation to complete (15-30 minutes typically)
Step 4: Post-Installation Setup
After installation completes, click "Restart Now"
Remove the installation ISO when prompted
Log in with your credentials
Install VMware Tools for better performance:
In VMware menu: VM > Install VMware Tools
Open terminal and run:
sudo mount /dev/cdrom /mnt cd /mnt sudo ./vmware-install.pl
Follow prompts (press Enter for defaults)
Update your system:
sudo apt update && sudo apt upgrade -y
Step 5: Essential Configuration
Adjust display resolution:
Right-click desktop > Display Settings
Select your preferred resolution
Install additional software:
sudo apt install git curl build-essential
Configure shared folders (optional):
VM > Settings > Options > Shared Folders
Add folder and enable auto-mount
Troubleshooting Common Issues
VM won't start:
Verify virtualization is enabled in BIOS
Check ISO file integrity
Increase allocated memory
No internet connection:
Verify network adapter is set to NAT or Bridged
In Ubuntu: check
ip afor network interfaces
Poor graphics performance:
Install VMware Tools
Increase video memory in VM settings
Keyboard/mouse not working properly:
Reinstall VMware Tools
Check input settings in VMware preferences
Next Steps After Installation
Install your favorite applications:
sudo apt install vim code
Learn basic terminal commands
Set up development environments
Explore Ubuntu's software center for GUI applications
Performance Optimization Tips
Allocate more CPU cores if your host system has resources
Enable 3D acceleration in VM settings for better graphics
Use fixed-size virtual disks for better performance
Take snapshots before major system changes
Consider increasing swap space if using memory-intensive applications
No comments:
Post a Comment