Professional Documents
Culture Documents
Overview
How to Partition & format of Disks 3 Partitions Made Fat32 file sys used Installation of Win98 & Linux Mandrake 8.0 Installation of software on third partition Implementation of emulator software in Linux Implementation of VMware
Why partition?
You may have 2 operating systems and want to load them individually. File Structure
Why Not?
Space Wastage
Bigger partitions not only waste more space for the same files, they waste a greater portion of the space Disk compression utilities like DoubleSpace are more efficient for space saving rather than partitioning
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.
FDISK
Last partition Done under Linux Mandrake 8.0 Installation (EXT2) Primary, Extended and Logical DOS partitions Specifying space
FDISK
Always Backup
. Uncertain about your backup hardware and software?
Partitioning
File Systems
FAT32
File allocation Table Very simple system Resides at top of volume FAT32 increases the number of bits used to address clusters & reduces the size of each cluster. Can support larger disks (up to 2 terabytes) and better storage efficiency (less slack space).
Fat32 Efficiency
Disk Size Cluster Size Efficiency
> 260meg
4K
96.6%
> 8gig
8K
92.9%
> 60gig
16K
85.8%
> 2tril
32K
73.8%
File Systems
Linux has a very fast file system called the Extended File System Version 2 (EXT2)
Goals Of EXT2
The data structure should be recoverable Must allow for an efficient implementation Disk layout should minimize seek times by clustering data on disk The disk layout should conserve disk space
Emulators
Like running a computer without an operating system. An emulator is something that duplicates the environment that an application runs in Mimics one OS within another OS
WINE (WindowsEmulator)
Wine is an implementation of the Windows 3.x and Win32 APIs on top of X and Unix Think of Wine as a Windows compatibility layer
WINE Features
Binary
Compatibility
for loading DOS, Windows 3.x and Win32
Support
binaries Support for Win16 and Win32 function calls 16 and 32 bit x86 code Large interrupt library for programs using realmode INTxx calls Advanced thunking capabilities Optional use of external vendor DLLs Reverse-engineering design assures ``bug-for-bug'' compatibility
graphics display Remote display to any X terminal Supports full GDI and many new features of GDI32 Partial DirectX support for games Supports native Win16 printer drivers Internal PostScript driver printing interface Metafile driver Desktop-in-a-box or mixable windows
Other Features
Good support for sound, alternative input devices Modems, serial devices are supported Winsock TCP/IP networking ASPI Scanner support
API
Designed
for source compatibility with Win32 code Sample programs Automatically generated API documentation 32-bit resource compiler Partial Unicode and support Internationalisation -- Wine supports 16 languages Built-in debugger and configurable trace messages
Wine is designed to run on any x86 Computer. A minimum of 32 MB real memory is recommended Wine itself as an unstripped version needs 70 MB disk space. A minimum of 140 MB free space on hard disk. To compile Wine, the minimum you will need is 250 MB.
stands for Wine Is Not an Emulator It implements native code to the function calls present in the Windows DLL's Wine provides low-level binary compatibility, but currently only for OSs running on Intelcompatible chips Wine works on most popular Intel Unixes, including Linux, FreeBSD, and Solaris.
WINE Status
As of mid 2000, Wine consists of over 650K lines of C code written by more than 300 developers from dozens of countries around the world Wine is in active use by an estimated 90K people Wine implements more than 90% of the calls in popular Windows specifications
has been released but is still incomplete. Because Wine is being developed by volunteers, it is difficult to predict when it will be ready for general release. But due to the much increased interest by companies in porting apps via Wine, Wine development is constantly getting more and more active. Expected to run more than 85% of all windows apps in 2 years time.
4 Main products:
ESX Server
Server for web serving, database, exchange, streaming media Installs without host OS, uses own kernel Supports up to 8 processors Supports 4 20 simultaneous virtual machines
GSX Server
Server for Intranet use, Exchange, Application Servers Installs on top of Linux/Windows 2000/NT Supports up to 4 processors Supports 2 8 virtual machines
Example Screenshot
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
Completely Independent PC
Virtual computer does not affect the host Although using same devices, accesses without going through host If application of OS error in guest and crash occurs, host continues without error
SAMBA
Using
SAMBA, able to share files between OS Files transferred between applications and guest/host through SAMBA protocol providing total compatibility Able to use applications such as Windows Explorer to drag/drop to Linux desktop Microsoft Word can seamlessly save to Linux partition
Networking
As independent PC, provides full networking 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, Novell NetWare, Samba and NFS
Installation Process
Install VMware Express on PC running Linux Install Windows 95/95 onto VMwares Virtual PC Run both OS simultaneously
VMware Screenshot
MultipleWorlds Technology
After VMware Installation, configure other OS Virtual Disks
Undoable Disks
Configuring Guest OS
Assign memory, disks, ports and networking for guest Power on virtual machine from within host Insert boot disk for desired OS to be installed on guest Continue installing OS through normal procedure
Virtual Disks
Disk partitions of virtual machines Stored as file on file system of host operating system As entire partition is 1 file, manipulation such as copy, move and backup is possible Also enables virtual disks to be shared from a file server
Undoable Disks
Decide
whether to save or discard changes made to disk during session Appear as though written to disk, however stored in temporary file until saved When shutting down, 3 options available:
Keep
Possible Drawbacks
No 3D graphics support
Conclusion
Good solution for Intel based system requiring multiple OS to be run simultaneously VMware express cheaper solution, more limited but still useful for running Windows 9x in Linux VMware workstation extensive capabilities for multiple applications including software/network testing across multiple platforms
Refrences
http://www.geocities.com/CapeCanaveral/Lab/1791/hdpartn.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/inde x.shtml