Linux on Windows
From Null-pointer
Contents |
Cygwin
Cygwin is a Linux-like environment for Windows
Portable Ubuntu Remix
an Ubuntu system running as a Windows application.
Mount Drives
In windows
- Administrative Tools
- Computer Management
- Disk Management
- Select the Hard drive you wish to mount
- Right Click and select "Change Drive Letter and Paths..."
- Press "Add..."
- Browse to folder to "Mount in the following empty NTFS folder:"
yum
[root@localhost ~]# yum --version
[root@localhost ~]# apt-get install yum
see also
reference
andLinux
andLinux is a complete Ubuntu Linux system running seamlessly in Windows 2000 based systems
coLinux
Both Portable Ubuntu Remix and andLinux use the coLinux core. Cooperative Linux is the first working free and open source method for optimally running Linux on Microsoft Windows natively.
VMWare
Use free VMplayer and linux image.
- VM Player free
- VMware images free
Virtual Network Editor
vmnetcfg.exe
[x] Automatically choose an available physical network adapter to brige to VMnet0
Host Vitual Network Mapping
VMnet1: VMware Network Adapter VMnet 1 VMnet8: VMware Network Adapter VMnet 8
DHCP
VMnet1: subnet : 192.168.46.0 Netmask: 255.255.255.0 VMnet8: subnet : 192.168.192.0 Netmask: 255.255.255.0
NAT
VMnet8 Gateway IP: 192.168.192.2 Netmask : 255.255.255.0
Images
Most success with CentOS 5.3 image
Change keyboard for the console
Edit KEYTABLE in /etc/sysconfig/keyboard
VMWare tools
Run from within the VM itself
Install packages to build the kernel modules
[root@localhost ~]# yum install gcc kernel-devel
Check the running kernel matches the kernel headers
[root@localhost ~]# uname -r # running kernel
[root@localhost ~]# rpm -q kernel-devel # installed kernel headers
If the two versions do not match, run
[root@localhost ~]# yum -y upgrade kernel kernel-devel
[root@localhost ~]# reboot
Find out where the kernel headers are (you may need this later)
[root@localhost ~]# ls -d /usr/src/kernels/$(uname -r)*/include
Extract VMware Tools to /tmp/
[root@localhost ~]# tar -C /tmp -zxvf VMwareTools-5.5.3-34685.tar.gz
Now run the installer
[root@localhost ~]# cd /tmp/vmware-tools-distrib
[root@localhost ~]# ./vmware-install.pl
When asked Do you want to run vmware-config-tools.pl?, answer "Yes".
[root@localhost ~]# /usr/bin/vmware-toolbox &
A previous installation of VMware software has been detected
[root@localhost ~]# rm -rf /etc/vmware

