Home

Using VMWare to Capture Linux Installation Screen - dFPUG

image

Contents

1. A Snapshot fAReven mA cal Favorites x linux x a linux Fedora Fedora Core 1 To install or upgrade in graphical mode press the lt ENTER gt key To install or upgrade in text mode type linux text lt ENTER gt Use the function keys listed below for more information boot _ AX You do not have VMware Tools installed ged Figure 28 The Fedora Core installation process in a virtual machine starts with the standard boot screen Pressing Enter at this point runs the media test as shown in Figure 29 Chapter X Using VMWare to Capture Linux Installation Screen Shots 23 VMware Workstation File Edit Power Snapshot View Window Help 00 B BpSnapshot fjrevert m Favorites i wk linux lt Tab gt lt Alt Tab gt between elements i lt Space gt selects i lt F12 gt next screen You do not have Mware Tools installed Figure 29 The media test is the second step in the Fedora Core installation process At this point it s important to point out one key operational technique The mouse doesn t work in the media test screen you have to use the keyboard to arrow back and forth between the two choices Once you a done with the media test the installation process continues as shown in Figure 30 as anaconda the Fedora Core system installer begins checking the hardware Note The screens in Figures 30 31 and 32 are all still displayed in the vir
2. D Start this virtual machine Sound Adapter Using adapter dev dsp Edit virtual machine settings ga Floppy Drive sang oriye Saha a i DVD CD ROM IDE 0 0 Using drive dev cdrom SE Memory Mouse autodetect amp Virtual Disk SCS 0 0 Compact 3 5 Gb QUSB Controller Present Notes Type here to enter notes for this vii tual machine Figure 22 The virtual machine main screen Chapter X Using VMWare to Capture Linux Installation Screen Shots 19 It s worth a moment to point out a few features of the virtual machine main screen Components There are four primary components the main menu the toolbar the Favorites window and the Virtual Machine window The main menu and toolbar operate just like in other standard GUI applications while the Favorites and Virtual Machine windows have specialized purposes Main Menu The main menu has all of the standard pads you d expectn a GUI application including File Edit View Window and Help and the menu options underneath them are pretty much much what you d expect as well The Power menu allows you to turn a virtual machine on or off The Snapshot menu doesn have anything to do with screen shots rather it has options to take a snapshot of the current state of the virtual machine This is useful for being able to roll back to a given state say before a particular Windows service pack was installed or a Linux kernel was upgraded or an application was installe
3. built with a different version of gcc and that might not work with the kernel While you reiven the choice to try anyway it s probbly not a good idea Actually it definitely not a good idea I tried it just for fun and it didn work Chapter X Using VMWare to Capture Linux Installation Screen Shots 7 So what do you do There are several options First ignore the warning and try to build with the newer incompatible version As I mentioned I tried that and it didn t wrk Your mileage may vary but it probably won t So answer no nd get some suggestion for help as shown in Figure 7 root freedom File Edit View Terminal Go Help Thank you Trying to find a suitable vmmon module for your running kernel None of VMware Workstation s pre built vmmon modules is suitable for your running kernel Do you want this program to try to build the vmmon module for your system you need to have a C compiler installed on your system yes yes Using compiler usr bin gec Use environment variable CC to override Your kernel was built with gece version 3 2 3 while you are trying to use usr bin gece version 3 3 2 This configuration is not recommended and VMware Workstation may crash if you ll continue Please try to use exactly same compiler as one used for building your kernel Do you want to go with compiler usr bin gee version 3 3 2 anyway no no For more information on how to troubleshoot mod
4. configO vmmon only make 2 Entering directory tmp vmware conftig0 vmmon only driver 2 4 22 1 2115 nptl make 2 Leaving directory tmp vmware config0 vmmon only driver 2 4 22 1 2115 nptl make 2 Entering directory tmp vmware config0 vmmon only driver 2 4 22 1 2115 nptl make 2 Leaving directory tmp vmware config0 vmmon only driver 2 4 22 1 2115 nptl make 1 Leaving directory tmp vnware config0 vmmon only make Leaving directory tmp vmware configO vmmon only The module loads perfectly in the running kernel Extracting the sources of the vmnet module Building the vmnet module make Entering directory tmp vmware configO vmnet only Figure 9 Building the vmmon module with the correct version of gcc 11g You I ee that this time it tells you it s use usr bin gcc and launches right into asking about the C header files no more business about gcc versions not matching so it must have accepted my little renaming trick 11h Press Enter at the prompt for the C header files I didn tetype the location and off it will go The entire process took about 30 seconds on a 1 4 GH machine with a GB of RAM The screen in Figure 10 shows the completion of the build process through the The module 10 Linux Transfer is running perfectly line and continues on with the configuration steps also executed if this step building a new vmmon module wasn tequired al root testmult File Edit View Termi
5. product for 30 days VMWare is installed on an operating system that is then referred to as the host Once installed VMWare is used to create objects called wtual machines Hat are contained in large disk files on the host computer Additional operating systems called gest operating systems are installed inside these virtual machines one OS per virtual machine The user can then use any of the guest operating systems just as if they were installed on the machine natively but they run entirely within VMWare and thus don tnterfere with anything else on the machine An Overview of the Process First the host operating system must be installed with enough spare disk space to hold the disk files for each virtual machine How much disk space is required for any specific virtual machine varies according to the operating system you r oing to install in it For example if you going to install a copy of Linux you should have 3 to 6 GB of free space depending on how much software you want to install along with the OS itself Note that this disk space has to be available inside the host OS not unpartitioned space Second install VMWare on the host OS This can be more complicated than it would first seem VMWare has some strict requirements about displays that cause it not to work on some 2 Linux Transfer systems I couldn get it to work on a Thinkpad connected to a ViewSonic flat panel display for instance and had irregular
6. results on a couple of other machines VMWare comes with a number of standard mmon modles that are designed to work with many typical machine configurations However one effect of the exacting display requirements is that the vmmon modules that are included with the standard VMWare installation are not always sufficient to run VMWare on your machine As a result you may need to build a custom vmmon module that works specifically with your operating system Fortunately VMWare comes with tools in the installation process to easily build a new module Once installed VMWare is ready for action The third step is to create a virtual machine specifically configured for the guest operating system you want to install When creating a virtual machine you can choose which operating system you want to install in it how much disk space to reserve for the virtual machine how much RAM of the computer to reserve for the virtual machine and some other parameters Once the virtual machine is installed you still have to install the OS itself the virtual machine is simply a shell that s customized for that type of OS The final step is to insert the first installation CD for the guest operating system and start the virtual machine from within the VMWare interface Doing so starts the installation of the guest OS within the VMWare interface VMWare has a mechanism to easily and reliably capture screenshots during the installation After the guest OS is insta
7. the guest operating system The mouse pointer is displayed as an arrow 26 Linux Transfer To get from regular mode to restricted so that you can manipulate the mouse in the guest operating system move the mouse over the virtual machine window and then click either the left or right mouse button The mouse pointer will change to an arrow To get from restricted mode to regular again so that you can work with the VMWare interface or another application hold the Ctrl and Alt keys down at the same time The mouse pointer will change to the hand Note that when you change back to restricted mode the mouse cursor will be back at the place it was when you left restricted mode not where the mouse was when you re entered restricted mode Taking screen shots In order to take screen shots during installation then you amp going to be flipping back and forth between regular and restricted modes As you start up the installation process you Il power on the virtual machine and then enter restricted mode in order to run the install When it comes time to take the first screen shot you press Ctrl Alt in order to move into regular mode and then select the File Capture screen menu option You llbe prompted to save the image as a PNG file as shown in Figure 33 eee Save Captured PNG fhomeAyhilzlinue preciores free e eee iL linus s001 vmdk linue sO02 vmdk linue sO0F vimndk linus virile linus vindk WRITELOCE Tires
8. Chapter X Using VMWare to Capture Linux Installation Screen Shots 1 Using VMWare to Capture Linux Installation screen Shots How do you capture screen shots of an operating system installation There are a couple of ways One is to take digital photographs of the screen Blech Another way is to install a piece of software called VMWare on an existing OS Then use VMWare to create a shell in which the OS in question can be installed and then use the screen capture facilities of the existing OS to grab the screens of the OS being installed Here sa detailed explanation of how this works Ask the How do you capture screen shots question on any forum and you Il immediately get one word responses from a number of folks VMWare It s a bit more involved than that While VMWare is designed for a wide variety of purposes I m going texplain how to use VMWare specifically to capture screen shots of a Linux install I w installed Fedora Core on a machine and will install VMWare and then a second copy of Fedora Core on the same machine using VMWare to get the screen shots of the installation process Finally I Iluninstall the copy of Fedora Core and uninstall VMWare as well What is VMWare VMWare is a piece of software that acts as a shell into which other operating systems can be installed and run It is a commercial application which means you have to pay for it However you can download a trial version that works just like the real
9. D in the CD ROM drive VMWare will complain as shown in Figure 26 VMware Workstation File Edit Power Snapshot View Window Help 0 D SA Snapshot fhRevert E fel Favorites linux x som linux Dperating System not found Warning No bootable CD flappy or hard disk was detected To install an operating system insert a bootable CD or floppy and restart the virtual machine by clicking the Reset button A A You do not have VMware Tools installed a 2 Figure 26 Powering on a virtual machine without a bootable CD generates an error Once you vpowered on the virtual machine and there s a bootabl D in the drive the entire installation process will display in the virtual machine window The first thing you l ee in the virtual machine window will be the VMWare log as shown in Figure 27 22 Linux Transfer VMware Workstation File Edit Power Snapshot View Window Help ufos f Snapshot beh Revert mE E Favorites X linux x linux2 x i BR linux i GQ linux2 E vmware Start ing Press F2 to enter setup gaas Figure 27 Powering on a virtual machine starts with the display of the VMWare logo amp vou do not have YMware Tools installed Shortly thereafter the boot screen of the Fedora Core installation process will display as shown in Figure 28 is VMware Workstation a jx File Edit Power Snapshot View Window Help 00 B
10. Vries linus vines WRITELOCE Avram vmware Og at Selection homewhilfzlinus Lee erepereperyrrcrrrse ress recpeesrpess peep reep reep pers pecpeesyress prey res p mee p pees Peepers p ee Peet Pee Peery PETE Eee e PETE TTT ESTE PErTrerirerrs PET PPSTE STE Ferner rrr rE 1 Figure 33 VMWare prompts you to save a captured screen shot in the virtual machine home directory Unfortunately the default location is the virtual machine home directory Depending on your work habits you rprobably going to want to save your image files somewhere else This is particularly true if you rereating and deleting virtual machines regularly When you delete a virtual machine the directory is deleted as well and so are all of your carefully captured screen shots I say unfortunatelyin the previous paragraph because VMWare doesn seem to be able to remember any other location and it s a pain to have to navigate up and down directory trees to get them put into the directory of your choosing Chapter X Using VMWare to Capture Linux Installation Screen Shots 27 Another inconvenience I encountered when capturing screen shots is that the name is not automatically generated in fact it isn even given a PNG extension If you just type image1 or install_O1 as the file name you l nd up a bunch of extensionless files which can cause problems for some applications Conclusion T ve jst scratched the surface of VMWare s capabilities in
11. alex You have successfully configured VMware Workstation to allow your virtual machines to access the host s filesystem Your system appears to already be set up with usernames and passwords for accessing the host s filesystem via network interface vmnetl Would you like to add another username and password at this time yes no help no no You can add more usernames at any time by invoking the following command as root usr bin vmware smbpasswd vmnetl a lt username gt The configuration of VMware Workstation 4 0 5 build 6030 for Linux for this running kernel completed successfully You can now run VMware Workstation by invoking the following command usr bin vmware Enjoy the VMware team root testmult ii Figure 12 VMWare prompts for SMB data Chapter X Using VMWare to Capture Linux Installation Screen Shots 13 The SMB password does not have to be the same as the user segular password purists would argue that it should be different For those who are just using this as a demo machine it s probably more work to create and remember a separate SMB password It s your call And we re dne back at the shell prompt and ready to run VMWare you ready to create your first virtual machine Creating a new Virtual Machine VM The next step is to create a new virtual machine Log on to your machine as the user who will be using VMWare not as root Then to start VMWare type vmware amp in
12. allocate to the virtual machine I found 160 MB of RAM just for an installation of Fedora Core was tolerable but I wouldn tant to use it much with that little The fifth step in the New Virtual Machine Wizard is to choose the type of networking as shown in Figure 18 New Virtual Machine Wizard oelect a Network Connection Which option is most appropriate to your network environment Network connection Use bridged networking Choose this option to give the quest operating system direct access to an external Ethernet network The quest must have its own IP address on the external network O Use network address translation MAT Choose this option to give the quest operating system access to the host computer s dial up or external Ethernet network connection using the host s IP address O Use hostonly networking Lal vmware Choose this option ta connect the quest operating system to a a private virtual network on the host computer O Do not use a network connection Figure 18 The fifth step in the New Virtual Machine Wizard is to choose the type of networking Chapter X Using VMWare to Capture Linux Installation Screen Shots 17 Your personal configuration requirements will drive the choice you make here The sixth step is to choose which disk should be used by the virtual machine as shown in Figure 19 Select a Disk Which disk do you want this drive to use Disk Create a new virtual disk Choo
13. at maw Ji T Hide Help 9 Release Notes Figure 32 The Welcome screen of the Fedora Core installation routine At this point the installation routine works the same as it normally does when Fedora Core is installed on a machine as the host operating system What is different however is how the mouse interacts with the virtual machine and the VMWare virtual machine main screen and this is true after installation during regular use of the guest operating system Working with VMWare There are three interrelated topics involved in working with VMWare in order to make screen shots I Il se a copy of Fedora Core running inside a VMWare virtual machine to demonstrate the same techniques are applicable during the installation where you want to take screen shots Using a Mouse During installation as well as during general use the mouse is in one of two modes The first mode is regular mode where you can work with VMWare as well as other applications as usual or in restricted mode The mouse pointer is displayed as an arrow outside the virtual machine window and a closed hand with the index finger extended when the mouse is moved over the virtual machine window The only limitation is that you can t us the mouse to manipulate anything inside the virtual machine window in VMWare The other mode is restricted where the mouse is limited to the borders of the virtual machine window inside the VMWare application in other words only with
14. d The File Capture Screen menu option is where you can grab screen shots of your Linux installation Toolbar The toolbar provides buttons for some of the functions available on the main menu namely Power Off Suspend Power On and taking and reverting to a snapshot Favorites window The Favorites window displays a list of all virtual machines installed in VMWare Virtual machines that are running have a small green arrow included as part of the icon that is left of the virtual machine s name in the list Virtual Machine window The Virtual Machine window is the window that displays the guest operating system If more than one virtual machine is running at the same time the tabs on the top of the Virtual Machine window identifies the name of the guest operating system Activation Before you start using a virtual machine to install a guest operating system though you lheed to activate your copy of VMWare if you haven already You can actually do this as soon as you venstalled VMWare if you choose but you need to do it before using a virtual machine even if you re running demo copy of VMWare Log on to your machine as the user who will be using VMWare not as root Then to start VMWare type vmware amp into a terminal window You lget the main VMWare window as shown in Figure 13 20 Linux Transfer Click on Help Enter Serial Number as shown in Figure 23 VMware Workstation File Edit Power Snapshot View Wi
15. he New Virtual Machine wizard as shown in Figure 14 14 Linux Transfer New Virtual Machine Wizard Select the Appropriate Configuration How would you prefer to configure your new virtual machine Virtual Machine Configuration O Typical Choose this option to create a new virtual machine with the most common devices and configuration options Custom Choose this option if you need to create a virtual machine with additional devices or specific configuration options E vmware a Figure 14 The first step in the New Virtual Machine Wizard is to select the type of configuration When faced with the typical vs custom choices I always choose the custom choice even if I don think I IImake any custom selections just so I can see what the potential alternatives are going to be The next step is to select the Guest Operating System as shown in Figure 15 The Guest Operating System is the one you r oing to install inside the new virtual machine you re creating It s interesting that there are about a dozen choices for various flavors of Windows while just one choice for Linux regardless of which distribution you plan on installing New Virtual Machine Wizard select a Guest Operating system Which operating system will be installed an this virtual machine Guest operating system yee erg see eee eee ee ee ee ee ee eee ee ee se ee es ee ee ee See ee ee ee ee ee eee eee ee Linux Cancel Figure 15 T
16. he second step in the New Virtual Machine Wizard is to select the guest operating system Chapter X Using VMWare to Capture Linux Installation Screen Shots 15 The third step is to select a name for the virtual machine and the location on disk for the files that will contain the virtual machine as shown in Figure 16 New Virtual Machine Wizard Mame the Virtual Machine What name would you like to use for this virtual machine Vittual machine name linus Location homeales linux Cancel Figure 16 The third step in the New Virtual Machine Wizard is to select the location of the files that will contain the virtual machine If you intend on creating more than one virtual machine for the same guest operating system say one VM for SuSE and another for Mandrake you should use a more descriptive name for the virtual machine Else you Ilend up with a list of virtual machines that all say linux Similarly consider where you want the virtual machine files stored A separate directory will be created automatically for each virtual machine and the default location is under the user s home directory use Nautilus to navigate through my file system a lot and so I like to keep my home directory clear of stuff I mot going to navigate through Since the virtual machine directories don contain files that I m ging to manipulate directly I renamed the home whil linux directory to home whil zzzlinux so that it falls t
17. kstation I downloaded both just to see the difference and saved to Saved to home alex 3 Download the PDF user manual Might as well do it now so that you raot scrambling around trying to find it when you need to look up the answer to a question during the install or use 4 Open Nautilus on your machine 5 Double click on the rpm file You llbe prompted for root access 5 Once you provide the root password it Iqueue the RPM for installation and you Ilget the following dialog See Figure 2 4 Linux Transfer Completed System Preparation 1 packages are queued for installation This will take 56 963 Kilobytes of diskspace Show Details Figure 2 VMWare Workstation queued for installation 6 Click on Continue The installation process will run and you Ilsee a thermo bar in the progress dialog as shown in Figure 3 Updating system Installing individual packages VMware Work station 4 0 5 6030 Figure 3 The VMWare installation process executing Note Once the installation is complete nothing happens In other words no completion message displays no application dialog is launched So now what At first didn t think it was installed so ran the rom command from a terminal window as shown in Figure 4 It told me that VMWare was already installed so reluctantly pulled out the documentation and found the next step was to run the config script as described in Step 7 7 O
18. l your guest operating system in this case a second copy of Fedora Core into this empty virtual machine shell Do this by putting the first installation CD for the guest operating system you renstalling into the computer s CD ROM drive yes the physical drive Then power on the virtual machine in one of three ways 1 Select the Power Power On menu option Chapter X Using VMWare to Capture Linux Installation Screen Shots 21 2 Click the Power on button the green right pointing arrow in the toolbar or 3 Select the the Start the Virtual Machine link in the main window See Figure 25 to see where these items are iv VMware Workstation SCTE File Edit Power Snapshot View Window Help LON f Snapshot fe Revert mie S Favgites ae ge ia Il x Summary Sound Adapter Using adapter dev dsp od Floppy Drive Using drive dev fd0 DVD CD ROM IDE 0 0 Using drive dev cdrom Memory H Mouse autodetect amp Virtual Disk 5C51 0 0 Compact 3 5 Gb QUSB Controller Present Notes Type here to enter notes for this viz rtual machine el Figure 25 Three different ways to power on a virtual machine Performing any of these three actions is the software equivalent of having a CD in a box that s off and then turning the box on The virtual machine really acts just like a physical machine in this regard if you attempt to power on a virtual machine without a bootable C
19. lled you can use it inside of VMWare just like it was the only OS on the machine Installing VMWare on the Host OS VMWare comes versions that can be installed on either Windows or Linux hosts The Linux version comes in both a Compressed Tar Archive 25 0 MB and an RPM 25 2 MB See Figure 1 Chapter X Using VMWare to Capture Linux Installation Screen Shots 3 Syd VMware Download Mozilla F File Edit View Go Bookmarks Tools Window Help 4 3 amp l Back X EEN v Reload Stop amp httpvAwww vmware com y mwarestore newstore download_link jsp 3 Ah Home Red Hat Inc g Red Hat Network G4 Support gf Shop g Products E4 Training COMPANY PARTNERS NEWS PRODUCTS SERVICES CUSTOMERS 9 SEARCH ADVANCED SEARCH Download Download VMware Workstation 4 for Linux Systems Latest Released Version 4 0 5 10 02 03 Build 6030 26 MB Download as Compressed Tar Compressed Tar Archive Archive md5sum 3f2336ed95ee61aafbf e40fIf4a0db7 Download as RPM RPM Version md5sum 59d049f2e6b57016a766f7e2c37a6d3e FAQs Contact Us Your Account Legal Privacy Site Index 2003 VMware Inc German Japanese All Rights Reserved Document Done 0 132 secs Figure 1 VMWare comes as a Compressed Tar archive and as an RPM 1 Log on to your machine as a regular user 2 Download VM ware onto the target machine from www vmware com As of this writing the links to follow are Products then VMWare Wor
20. nal Go Help nptl B i i make 1 Leaving directory tmp vmware config0 vmmon only make Leaving directory tmnp vmware config vmmon only The module loads perfectly in the running kernel Extracting the sources of the vmnet module Building the vmnet module Make Entering directory tmp vmware config0 vmnet only make Leaving directory tmp vmware config0 vmnet only The module loads perfectly in the running kernel Do you want networking for your virtual machines yes no help yes no Do you want this program to automatically configure your system to allow your virtual machines to access the host s filesystem yes no help yes The version of Samba used in this version of VMware Workstation is licensed as described in the usr share doc vmware SAMBA LICENSE file Hit enter to continue Enabling networking this is required to share the host s filesystem Configuring a bridged network for vmneto Configuring a NAT network for vmmets Do you want this program to probe for an unused private subnet yes no help yes yes Probing for an unused private subnet this can take some time The subnet 192 168 56 0 255 255 255 0 appears to be unused The version of DHCP used in this version of VMware Workstation is licensed as described in the usr share doc vmware DHCP COPYRIGHT file Hit enter to continue Figure 10 VMWare prompts for networking requirements 12 Answer a number of configuration questions
21. ndow a a gt amp E Snapshot EaiRevert cal Contents Favorites ela Index mA linux User s Manual linux Guest Operating System Install Guide fhome alexlind Hints Powered off Mware on the Web gt Start this y Check for Update on the Web E Using adapter dev dsp Edit virtual KELSO iri Using drive dew fd0 ROM IDE 0 0 Using drive deyv cdrom About VMware Workstation 160 MB 5 Mouse autodetect amp Virtual Disk 5C5I 0 0 Compact 3 5 Gb QUSB Controller Present Notes Type here to enter notes for this virtual mache ine Figure 23 Entering the VMWare serial number Once you ventered a valid serial number the confirmation dialog shown in Figure 24 will display You have entered a valid VMware Workstation 4 serial number You have now successfully activated your software Figure 24 Serial number entry confirmation dialog Now click OK and you Ilbe ready to use a VMWare virtual machine Using VMWare to install a second copy of an OS The next step is a little tricky because the VMWare interface lets you do a bunch of things but there s really only one function you should be performing You ve got a virtual machine installed but it s an empty shell there nothing in it It s just like having a machine without an operating system on it which after all is the situation we got in our virtual machine You want to instal
22. o the bottom of the tree view in Nautilus out of sight and out of bother Your preferences may differ of course The fourth step in the New Virtual Machine Wizard is to configure memory as shown in Figure 17 VMWare likes lots of memory so the more RAM your physical machine has the better a time you Ilhave with VMWare VMWare reserves a chunk of the available memory for each virtual machine that is running and the more memory that can be allotted to a virtual machine the better it will perform Obviously you can teserve more memory than is available on the entire machine and you lheed to leave some for the host operating system The amount of memory you allocate to a virtual machine depends on 1 as well as how much memory is available on the machine 2 the requirements of the guest OS you renstalling in the virtual machine and 3 your tolerance for pokey performance 16 Linux Transfer New Virtual Machine Wizard OE Je Memory forthe Virtual Machine What amount of memory would you like to use for this virtual machine Memory Adjust the amount of memory allocated to this virtual machine The quest memory size that you specify must be in multiples of 4 ME Guest size MEN oyster total hei Recommended quest range MB de Je Total memory for all running virtual dc E vmware machines MBJ e Cancel Figure 17 The fourth step in the New Virtual Machine Wizard is to select how much memory to
23. order to show you how to grab screen shots during an operating system installation VMWare is intended to be used not just for screen shot capturing but for full use of an operating system when you don tve the capability or inclination to install multiple OSs on separate machines or on the same machine The 300 page manual is chock full of information I haven even mentioned For updates to this whitepaper as well as other HOWTO whitepapers please visit www hentzenwerke com Copyright 2004 Whil Hentzen All rights reserved
24. ot 1 20 52 gcc newest root freedom bin cp gec32 gcc cp overwrite gec y root freedom bin ls al gec YWXT T X 2 root root 1 20 52 gcc YWXT T X 2 root root 11 2003 gec296 YWXT XT X 1 root root 2 2003 gecs2 IWXT XT X 1 root root 1 20 52 gcc newest root freedom bin il Figure 8 Temporarily replacing the current version of gcc with an older one for the vmmon build Now we eready to try to build vmmon again 11f Enter vmware config pl as super user as shown in Figure 9 Chapter X Using VMWare to Capture Linux Installation Screen Shots 9 root testmult File Edit View Terminal Go Help root testmult vmware config pl Making sure VMware Workstation s services are stopped Stopping VMware services Virtual machine monitor O Of Trying to find a suitable vmmon module for your running kernel None of VMware Workstation s pre built vmmon modules is suitable for your running kernel Do you want this program to try to build the vmmon module for your system you need to have a C compiler installed on your system yes yes Using compiler usr bin gee Use environment variable CC to override What is the location of the directory of C header files that match your running kernel lib modules 2 4 22 1 2115 nptl build include Extracting the sources of the vmmon module Building the vmmon module make Entering directory tmp vmware config0 vmmon only make 1 Entering directory tmp vmware
25. pen a terminal window and become root su Chapter X Using VMWare to Capture Linux Installation Screen Shots 5 8 Run the vmware config pl script as shown in the next line in Figure 4 The script stops the VMWare services then displays the prompt regarding the EULA this is commercial software remember alex testmult File Edit View Terminal Go Help rootetestmult rpm Uhv home alex VMware workstation 4 0 5 6030 1386 rpm Preparing HHPHHPHHHHPHH AHA 100 package VMwareWorkstation 4 0 5 6030 is already installed rootatestmult vwmware config pl Making sure VMware Workstation s services are stopped Stopping VMware services Virtual machine monitor OF You must read and accept the End User License Agreement to continue Press enter to display it Figure 4 Running the vmware config pl script from a terminal window 9 Advance through the EULA as shown in Figure 5 You can press the Enter key to read the EULA line by line or the space bar to read a screen full at a time You do read these word for word don t you alex testmullt File Edit View Terminal Go Help pursuant to DFAR Section 227 7202 and FAR Section 12 212 b as applicable Any use modification reproduction release performing displaying or disclosing of the Software by the U S Government shall be governed solely by the terms of this EULA LIMITED WARRANTY VMware warrants that the media if any on which the Software i
26. ress Hit enter to continue Starting VMware services Virtual machine monitor OK Virtual ethernet OK Bridged networking on dev vmmeto OK Host only networking on dev vmnetl background OK Host only networking on dev vmnets background OK NAT networking on dev vmnets OK You have successfully configured VMware Workstation to allow your virtual machines to access the host s filesystem Would you like to add a username and password for accessing your host s filesystem via network interface vmnetl at this time yes no help yes Figure 11 VMWare prompts for subnet requirements I ve istalled VMWare about a half dozen times and each time the interfaces line address has never conflicted with the subnet VMWare grabbed 12 Linux Transfer root testmult File Edit View Terminal Go Help Starting VMware services Virtual machine monitor Ok Virtual ethernet Ok Bridged networking on dev vmnetd Ok Host only networking on dev vmnetl background Ok Host only networking on dev vmnets background Ok NAT networking on dev vmnets 0K You have successfully configured VMware Workstation to allow your virtual machines to access the host s filesystem Would you like to add a username and password for accessing your host s filesystem via network interface vmnetl at this time yes no help yes yes Please specify a username that is known to your host alex New SMB password Retype new 5MB password Added user
27. s delivered will be free of defects and that the Software will substantially conform to the description contained in the applicable end user documentation in each case for a period of 90 More 86 Figure 5 The space bar scrolls the EULA a screen at a time 10 Accept or decline the EULA at the Do you accept prompt as shown in Figure 6 When installed VMWare on a SuSE 9 0 Personal host the Enter key and the space bar scrolled through the EULA as it did on Fedora Core but Konsole would not display the Do you accept prompt The shells for other GUIs included with SUSE wouldn t display the Do you accept prompt either was forced to abandon SuSE as a host operating system 11 If the vmmon module included with VMWare isn suitable for your machine and host Operating system you Il et a message as shown in the middle of Figure 6 If the vmmon module is OK you can go on to Step 12 6 Linux Transfer lla The vmmon modules included with VMWare aren suitable for Fedora Core 1 I had to build it myself This was a bit trying First the script asked if it can try to build the module itself using information from the currently running kernel as shown in the middle of Figure 6 11b I answered yes and VMWare gave it the old college try lic VMWare s attmpt was unsuccessful and it displays an obscure error message about versions of gcc as shown in the bottom of Figure 6 root freedom File Edit Vie
28. se this option to create a virtual disk composed of one or more files on the host file system which will appear as a single hard disk to the guest operating system Virtual disks can easily be copied or moved on the same host or between hosts Use an existing virtual disk Choose this option to reuse a previously configured disk Eh Use a physical disk for advanced users a vmware Choose this option to give the virtual machine direct access p g a Cancel Figure 19 The sixth step in the New Virtual Machine Wizard is to choose the type of networking Since this is your first shot keep the default of Create a new virtual disk The seventh step is to choose disk capacity for this virtual machine as shown in Figure 20 New Virtual Machine Wizard specify Disk Capacity How large do you want this disk to be Disk capacity Virtual disk files are quite small at first then grow as you add files to them This virtual disk can never be larger than the maximum Capacity that you set here Disk size GB 3 5 2 Cancel Figure 20 The seventh step in the New Virtual Machine Wizard is to choose the disk capacity You need to specify a minimum size that will allow the guest operating system to be installed and run including space for temporary files For Fedora Core with a minimum install I vedund 4 gigabytes was enough 18 Linux Transfer While the wizard will allow you to specify a disk size that is larger
29. than the available disk space on the hard disk if VMWare runs out of room during installation or use of the guest operating system it will simply die a hot white death and you llbe stuck with reconfiguring the physical machine to allow the host operating system to access more disk space if it s available or to find another machine with more disk space The final step is to specify the name of the file that will hold the virtual disks themselves shown in Figure 21 New Virtual Machine Wizard specify Disk File Specify the file that will store information about this disk Specify Disk file One disk file will be created for each 2 GB of virtual disk capacity File names for each file beyond the first will be automatically generated using the file name provided here as a basis homealex linux linux vmdk j Se Figure 21 The last step in the New Virtual Machine Wizard is to choose the disk file names Clicking Finish will create the virtual machine and then display the main virtual machine screen as shown in Figure 22 If you create more than one VM on this computer you Ilsee nodes for each VM in the tree view on the left with the name of the virtual machine chosen in Step 3 of the wizard see Figure 16 VMware Workstation File Edit Power Snapshot View Window Help m Ja D A H Snapshot revert mA A Favorites X linux x Bair linux fhome alex linuxlinux m Powered off Summary
30. to a terminal window You lget the main VMWare window as shown in Figure 13 iv VMware Workstation Jex File Edit Power Snapshot View Window Help E OO p S GgSnapshot fAReven 4 al Favorites x Vidware Workstation 4 0 5 VMware Workstation allows multiple standard operating systems and their E applications to run with high performance in secure and transportable virtual Fe machines Each virtual machine is equivalent to a PC with a unique network New Virtual address and a full complement of hardware devices li The physical computer where the VMware software was installed is the hast computer and its operating system is the host operating system The operating E system installed and run inside a virtual machine is a guest operating system pls To set up a new virtual machine first complete the New Virtual Machine Wizard by clicking the New Virtual Machine button After completing the wizard install a quest operating system into the virtual machine just as you would with a physical PC Open Existing Virtual Machine To run a guest operating system that you have installed previously select it from the list of virtual machine names at the left or click the Open Virtual Machine button and browse to the virtual machine s configuration file Figure 13 The main VMWare interface window allows you to create new virtual machines as well as use existing virtual machines Click on the New Virtual Machine icon to start t
31. to complete the installation of VMWare The second half of Figure 10 and Figures 11 and 12 show the prompts and my answers As I primarily wanted to install VMWare so that I could grab screen shots I didn have a lot Chapter X Using VMWare to Capture Linux Installation Screen Shots 11 of networking requirements You may want to make different choices depending on your situation The warning about thican take some time ended up needing aboutl5 seconds on my ten machine network L root testmullt File Edit View Terminal Go Help described in the usr share doc vmware DHCP COPYRIGHT file Hit enter to continue Creating a host only network on vmnetl this is required to share the host s filesystem Configuring a host only network for vmnetl Do you want this program to probe for an unused private subnet yes no help yes yes Probing for an unused private subnet this can take some time The subnet 192 168 128 0 255 255 255 0 appears to be unused This system appears to have a CIFS 5MB server Samba configured for normal use If this server is intended to run you need to make sure that it will not conflict with the Samba server setup on the private network the one that we use to share the host s filesystem Please check your etc samba smb conf file so that The interfaces line does not contain 192 168 128 1 255 255 255 0 There is a socket address line that contains only your real host IP add
32. tual machine window in the virtual machine main screen as the media test screen was shown in Figure 29 They re simply shown full screen in these figures for better detail 24 Linux Transfer unning anaconda the Fedora Core system installer please wait Probing for video card UMare robing for monitor type Unknown monitor Figure 30 Once the media test screen has been passed anaconda starts probing for hardware If the hardware check goes well the Fedora Core logo screen displays which tells you that X has started successfully and you re goig to be able to use the mouse from now on Figure 31 Display of the Fedora Core logo screen means that X has started successfully and that the mouse will work from now on Chapter X Using VMWare to Capture Linux Installation Screen Shots 25 The Fedora Core logo screen will disappear after a few moments and the Welcome screen will take its place as shown in Figure 32 Welcome to Fedora Core Welcome Throughout this installation you will be able to use your mouse to choose different options You can also navigate the installation using the Tab and Enter keys Use the Next and Back buttons to progress through these screens Click Next to save the information and proceed to the next screen click Back to move to the previous screen To minimize this help screen click on the Hide Help button The release notes provide an __avensiew of features th
33. ule related problems please visit our Web site at http www vmware com download modules modules html and http www vnware com support reference linux prebuilt_modules_linux html Execution aborted root freedom root Figure 7 Information on troubleshooting module related problems lle So the second option is to use the correct version of gcc You need to tell it to use the file gcc32 when building vmmon How You could use the environment variable CC or you could call gcc32 manually I opted for the third method to copy gcc32 on top of gcc temporarily Specifically I renamed gcc to gcc_newest copied gcc32 to gcc so it the correct compatible albeit older version of gcc will be called by VMWare do the build then replace gcc with the original again The following code performs these steps except for the final replace cd usr bin cp gcc gcc_newest cp gcc32 gcc The results are shown in Figure 8 8 Linux Transfer B A TEE re root freedom usr bin ei File Edit View Terminal Go Help root freedom root cd usr bin root freedom bin ls al gec Ywxr xXIr X 2 root root 83668 23 12 26 gec YWXT T X 2 root root 83216 11 2003 gec296 Y WXrT T X 1 root root T9452 2 2003 geca2 root freedom bin cp gcc gec_newest root freedom bin ls al gec YTWXT XT X 2 root root 23 12 26 gcc TWXT T X 2 root root 11 2003 gec296 Ywxr xXT X 1 root root 2 2003 geca2 YWXT T X 1 root ro
34. w Terminal Go Help VMware is a trademark of VMware Inc Do you accept yes no yes Thank you Trying to find a suitable vmmon module for your running kernel None of VMware Workstation s pre built vmmon modules is suitable for your running kernel Do you want this program to try to build the vmmon module for your system you need to have a C compiler installed on your system yes yes Using compiler usr bin gece Use environment variable CC to override Your kernel was built with gec version 3 2 3 while you are trying to use usr bin gee version 3 3 2 This configuration is not recommended and VMware Workstation may crash if you ll continue Please try to use exactly same compiler as one used for building your kernel Do you want to go with compiler usr bin gece version 3 3 2 anyway no ii fe Figure 6 After accepting the EULA VMWare goes to work on the vmmon module 11d You may find that the error message in Figure 8 is obscure It took me a couple of times to read through it to catch on Here s the deal The current box FC1 has the following versions of gcc installed gcc Oct 23 2003 83668 bytes gcc296 Feb 11 2003 83216 bytes gcc32 June 2 2003 79452 bytes The kernel on the host operating system was built using gcc 3 2 3 which 1s in the file gcc32 However when accepting yesin the middle of Figure 6 VMWare tried to use gcc which is a newer version gcc 3 3 2 So VMWare s vmmon module would be

Download Pdf Manuals

image

Related Search

Related Contents

Xerox DocuPrint P1202 User's Manual  Owners Manual • Bedienungsanleitung Manuel de  American Standard T495.500 User's Manual  Philips Ecomoods Spot light 57940/17/16  Toshiba SD-C2732 DVD Recorder User Manual  

Copyright © All rights reserved.
Failed to retrieve file