linux windows wine
TRANSCRIPT
-
8/13/2019 Linux Windows wine
1/49
Michael Pensini, JasdeepHayer & Mrinal Vora
Partitioning and
Emulation
-
8/13/2019 Linux Windows wine
2/49
Overview
How to Partition & format of Disks
3 Partitions Made Fat32 file sys used
Installation of Win98 & Linux Mandrake8.0
Installation of software on thirdpartition
Implementation of emulator software inLinux
Implementation of VMware
-
8/13/2019 Linux Windows wine
3/49
Why partition?
You may have 2 operating systems and
want to load them individually.
File Structure
Convenience in managing files
-
8/13/2019 Linux Windows wine
4/49
Why Not?
Space Wastage
Bigger partitions not only waste more space
for the same files, they waste a greaterportion of the space
Disk compression utilities like DoubleSpace
are more efficient for space saving ratherthan partitioning
-
8/13/2019 Linux Windows wine
5/49
Selection of Partition Sizes
We were allocated a 9.5GB Hard Disk
Partition with size in mind.
Obviously Small files for small partitions,Large files for large partitions
2 x 3.5GB Partitions + 2.5GB Partition.
-
8/13/2019 Linux Windows wine
6/49
FDISK
Program used with Microsoft to PartitionDisksUse of FDISK
3 partitions
2 Fat32,
Last partition Done under Linux Mandrake 8.0Installation (EXT2)
Primary, Extended and Logical DOSpartitions
Specifying space
-
8/13/2019 Linux Windows wine
7/49
FDISK
Always Backup
. Uncertain about your backup hardware
and software?
-
8/13/2019 Linux Windows wine
8/49
-
8/13/2019 Linux Windows wine
9/49
File Systems
FAT32
File allocation Table
Very simple system
Resides at top of volume
FAT32 increases the number of bits used toaddress clusters & reduces the size of eachcluster.
Can support larger disks (up to 2 terabytes) andbetter storage efficiency (less slack space).
-
8/13/2019 Linux Windows wine
10/49
Fat32 Efficiency
Disk Size Cluster Size Efficiency
> 260meg 4K 96.6%> 8gig 8K 92.9%
> 60gig 16K 85.8%
> 2tril 32K 73.8%
-
8/13/2019 Linux Windows wine
11/49
File Systems
Linux has a very fast file system called
the Extended File System Version 2(EXT2) More complex system
-
8/13/2019 Linux Windows wine
12/49
Goals Of EXT2
The data structure should berecoverable
Must allow for an efficientimplementation
Disk layout should minimize seek times
by clustering data on disk The disk layout should conserve disk
space
-
8/13/2019 Linux Windows wine
13/49
Emulators
Like running a computer without anoperating system.
An emulator is something thatduplicates the environment that anapplication runs in
Mimics one OS within another OS
-
8/13/2019 Linux Windows wine
14/49
WINE (WindowsEmulator)
Wine is an implementation of theWindows 3.x and Win32 APIs on top of
X and Unix Think of Wine as a Windows
compatibility layer
-
8/13/2019 Linux Windows wine
15/49
How did WINE start?
Started in 1993.
Its purpose was for running Windows
3.1 programs on Linux. Bob Amstadt was the original
coordinator, but turned it over fairlyearly on to Alexandre Julliard
Over the years, ports for other Unixeshave been added
-
8/13/2019 Linux Windows wine
16/49
WINE Features
Binary Compatibility
Support for loading DOS, Windows 3.x and Win32binaries
Support for Win16 and Win32 function calls
16 and 32 bit x86 code
Large interrupt library for programs using real-mode INTxx calls
Advanced thunking capabilities
Optional use of external vendor DLLs
Reverse-engineering design assures ``bug-for-bug''compatibility
-
8/13/2019 Linux Windows wine
17/49
WINE Features Contd
GraphicsX11-based graphics display
Remote display to any X terminal
Supports full GDI and many new features ofGDI32
Partial DirectX support for games
Supports native Win16 printer driversInternal PostScript driver printing interface
Metafile driver
Desktop-in-a-box or mixable windows
-
8/13/2019 Linux Windows wine
18/49
WINE Features Contd
Other Features
Good support for sound, alternative inputdevices
Modems, serial devices are supported
Winsock TCP/IP networking
ASPI Scanner support
-
8/13/2019 Linux Windows wine
19/49
WINE Features Contd
Wine API
Designed for source compatibility with Win32 code
Sample programs
Automatically generated API documentation
32-bit resource compiler
Partial Unicode and supportInternationalisation -- Wine supports 16 languages
Built-in debugger and configurable trace messages
-
8/13/2019 Linux Windows wine
20/49
WINE is Windows free
Wine does not require MicrosoftWindows
Consisting of 100% Microsoft-free code
Wine comes with complete sources
Wine consists of over 650K lines of C
code
-
8/13/2019 Linux Windows wine
21/49
Requirements for WINE
Wine is designed to run on any x86Computer.
A minimum of 32 MB real memory isrecommended
Wine itself as an unstripped version needs 70MB disk space.
A minimum of 140 MB free space on harddisk.
To compile Wine, the minimum you will needis 250 MB.
-
8/13/2019 Linux Windows wine
22/49
What does WINE consist of?
It consists of a program loader, which
loads and executes a Windows binary,
and a library that implements WindowsAPI calls using their UNIX or X11
equivalents.
The library may also be used for portingWin32 code into native UNIX
executables
-
8/13/2019 Linux Windows wine
23/49
Strictly not an emulator
WINE stands for Wine Is Not an Emulator
It implements native code to the function calls
present in the Windows DLL'sWine provides low-level binary compatibility,
but currently only for OSs running on Intel-compatible chips
Wine works on most popular Intel Unixes,including Linux, FreeBSD, and Solaris.
-
8/13/2019 Linux Windows wine
24/49
Emulators vs. WINE
-
8/13/2019 Linux Windows wine
25/49
Emulators vs. WINE
-
8/13/2019 Linux Windows wine
26/49
Why use WINE?
Most application software is stilldeveloped to run on Windows
It helps a smooth transition for peopleswitching from Windows to Linux.
Wine can use almost any filesystem thatLinux can mount
Makes extensive gaming possible inlinux
-
8/13/2019 Linux Windows wine
27/49
WINE Status
As of mid 2000, Wine consists of over650K lines of C code
written by more than 300 developersfrom dozens of countries around theworld
Wine is in active use by an estimated90K people
Wine implements more than 90% of the
calls in popular Windows specifications-
-
8/13/2019 Linux Windows wine
28/49
Still Under Development
WINE has been released but is stillincomplete.
Because Wine is being developed by
volunteers, it is difficult to predict when it willbe ready for general release.
But due to the much increased interest bycompanies in porting apps via Wine, Wine
development is constantly getting more andmore active.
Expected to run more than 85% of all windowsapps in 2 years time.
-
8/13/2019 Linux Windows wine
29/49
Our WINE experience!
We had problems configuring WINE
Only managed to make WINE run
simple windows applications WINE run Notepad, Windows CD Player,
Calculator and other such smallprograms
Gave configuration errors when tryingto run bigger Windows programs
-
8/13/2019 Linux Windows wine
30/49
VMware Family Overview
4 Main products:
Workstation
Express
ESX Server
GSX Server
-
8/13/2019 Linux Windows wine
31/49
ESX Server
Server for web serving, database,exchange, streaming media
Installs without host OS, uses ownkernel
Supports up to 8 processors
Supports 420 simultaneous virtualmachines
-
8/13/2019 Linux Windows wine
32/49
GSX Server
Server for Intranet use, Exchange,Application Servers
Installs on top of Linux/Windows2000/NT
Supports up to 4 processors
Supports 28 virtual machines
-
8/13/2019 Linux Windows wine
33/49
VMware Express Features
Run Windows 95/98 in Linux
Eliminate dual booting and partitioning
Use printers, scanners, modems anddevices
Networking, dial-up access capability
Support for multiple processors
Full sound capability
-
8/13/2019 Linux Windows wine
34/49
Example Screenshot
-
8/13/2019 Linux Windows wine
35/49
How VMware Express Works
MultipleWorlds Technology Software layer between Intel architecture
& OS Manages resources
Completely independent PC
File sharing SAMBA on Linux host
Each PC has own network address
-
8/13/2019 Linux Windows wine
36/49
Completely Independent PC
Virtual computer does not affect thehost
Although using same devices, accesseswithout going through host
If application of OS error in guest and
crash occurs, host continues withouterror
-
8/13/2019 Linux Windows wine
37/49
SAMBA
Using SAMBA, able to share files between OS
Files transferred between applications and
guest/host through SAMBA protocol providingtotal compatibility
Able to use applications such as WindowsExplorer to drag/drop to Linux desktop
Microsoft Word can seamlessly save to Linuxpartition
-
8/13/2019 Linux Windows wine
38/49
Networking
As independent PC, provides fullnetworking support with own network
address, as on a real machine Supports Dial-Up Networking and LANs
providing access to systems running
TCP/IP, Microsoft Networking, NovellNetWare, Samba and NFS
-
8/13/2019 Linux Windows wine
39/49
Installation Process
Install VMware Express on PC runningLinux
Install Windows 95/95 onto VMwaresVirtual PC
Run both OS simultaneously
-
8/13/2019 Linux Windows wine
40/49
VMware Workstation Features
Run multiple OS simultaneously on 1machine
Eliminate dual booting/partitioning Run applications from different OS
Full networking, dial-up access and file
sharing support Window and full-screen operation of OS
Suspend and resume virtual machines
-
8/13/2019 Linux Windows wine
41/49
VMware WorkstationScreenshot
-
8/13/2019 Linux Windows wine
42/49
VMware Screenshot
k
-
8/13/2019 Linux Windows wine
43/49
How VMware WorkstationWorks
MultipleWorlds Technology
After VMware Installation, configure other OS
Virtual Disks
Undoable Disks
-
8/13/2019 Linux Windows wine
44/49
Configuring Guest OS
Assign memory, disks, ports andnetworking for guest
Power on virtual machine from withinhost
Insert boot disk for desired OS to beinstalled on guest
Continue installing OS through normalprocedure
-
8/13/2019 Linux Windows wine
45/49
Virtual Disks
Disk partitions of virtual machines
Stored as file on file system of host
operating systemAs entire partition is 1 file, manipulation
such as copy, move and backup ispossible
Also enables virtual disks to be sharedfrom a file server
-
8/13/2019 Linux Windows wine
46/49
Undoable Disks
Decide whether to save or discard changesmade to disk during session
Appear as though written to disk, howeverstored in temporary file until saved
When shutting down, 3 options available:
Keep changes permanently
Ignore changes
Keep changes in temporary file
-
8/13/2019 Linux Windows wine
47/49
Possible Drawbacks
Requires powerful hardware
Fast processorat least 500 MHz for 2
virtual machines Large amount of RAMat least 192 MB for
2 virtual machines
Large amount of HDD space
Different HDD for guest OS
No 3D graphics support
-
8/13/2019 Linux Windows wine
48/49
Conclusion
Good solution for Intel based systemrequiring multiple OS to be runsimultaneously
VMware express cheaper solution, morelimited but still useful for running Windows 9xin Linux
VMware workstation extensive capabilities formultiple applications includingsoftware/network testing across multipleplatforms
-
8/13/2019 Linux Windows wine
49/49
Refrences
http://www.geocities.com/CapeCanaveral/Lab/1791/hd-partn.htm
www.teleport.com/~brainy/fat32.htm
support.microsoft.com/support/kb/articles/Q154/9/97.Asp www.easytweak.com/fat32/fat32.htm
www.newlogic.co.uk/kbase/fdisk/page1.htm
www.winehq.com
http://www.vmware.com
http://chris.erway.org/vmware/
http://www.thedukeofurl.org/reviews/misc/vmware202/index.shtml
http://www.geocities.com/CapeCanaveral/Lab/1791/hd-partn.htmhttp://www.geocities.com/CapeCanaveral/Lab/1791/hd-partn.htmhttp://www.teleport.com/~brainy/fat32.htmhttp://www.easytweak.com/fat32/fat32.htmhttp://www.newlogic.co.uk/kbase/fdisk/page1.htmhttp://www.winehq.com/http://www.vmware.com/http://chris.erway.org/vmware/http://www.thedukeofurl.org/reviews/misc/vmware202/index.shtmlhttp://www.thedukeofurl.org/reviews/misc/vmware202/index.shtmlhttp://www.thedukeofurl.org/reviews/misc/vmware202/index.shtmlhttp://www.thedukeofurl.org/reviews/misc/vmware202/index.shtmlhttp://chris.erway.org/vmware/http://www.vmware.com/http://www.winehq.com/http://www.newlogic.co.uk/kbase/fdisk/page1.htmhttp://www.easytweak.com/fat32/fat32.htmhttp://www.teleport.com/~brainy/fat32.htmhttp://www.geocities.com/CapeCanaveral/Lab/1791/hd-partn.htmhttp://www.geocities.com/CapeCanaveral/Lab/1791/hd-partn.htmhttp://www.geocities.com/CapeCanaveral/Lab/1791/hd-partn.htm