faqts : Computers : Operating Systems : UNIX : BSD : FreeBSD

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 14 people (79%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

VMWare: Operating system: Install: FreeBSD: How install FreeBSD v4.8 on VMWare v4.0.5 for Windows?

Nov 18th, 2003 16:24
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 16 November 2003 03:09 am ---------------------

VMWare: Operating system: Install: FreeBSD: How install FreeBSD v4.8 
on VMWare v4.0.5 for Windows?

---

Steps: Overview:

 1. -Possibly download your FreeBSD CDs at

      http://www.freebsd.org/doc/en_US.ISO8859-
1/books/handbook/mirrors.html

 2. -Start VMWare

 3. -Create a new virtual machine
     (menu 'File'->'New'->'Virtual machine')

 4. -Choose default 'Typical'

 5. -Choose 'FreeBSD'

 6. -Give it a descriptive name
     (e.g. 'FreeBSD v4.8 - English')

 7. -Use bridged networking

 8. -Possibly reduce the assigned memory
     to e.g. 64 megabyte (or else it
     might slow or freeze your Microsoft Windows XP
     with 256 megabyte RAM)

     (select from menu option 'Edit'->
      'Virtual machine settings'->tab 'Hardware'->
      select from list 'Memory', change
      'Guest size(MB) to e.g. 64,
       click button 'OK')

 9. -If you downloaded the CDs, and have them
     only as a file, inform VMWare about that.

     (select from menu option 'Edit'->
      'Virtual machine settings'->tab 'Hardware'->
      select from list 'CD-ROM 1',
      enable radio button 'Use ISO image',
      -click button 'Browse', goto location
      of your .iso file
      (choose e.g. 4.8-RELEASE-i386-disc1.iso),
      click button 'Open', click button 'OK')

10. -Start the virtual machine

11. -This will start the installation of FreeBSD

12. -Some initial installation

13. -FreeBSD reboots

14. -Press <ENTER> to accept default
     (=do not configure kernel)

15. -Choose 'Standard installation' (recommended)

16. -'OK'

17. -Select 'A' entire disk

18. -Select 'Q' to quit

19. -Select 'Install the FreeBSD Boot manager'

20. -'OK'

21. -Press 'C'reate to create the partition (e.g. 4095 MB)

22. -'OK'

23. -Select 'A' (Autodefaults for all)

24. -Select 'Q' (Finish)

25. -Select 'A' to install all

26. -Select '1' to install from a FreeBSD CDROM

27. -Choose 'Y'es to start the formatting

28. -After some time you should see
     'All File information written successfully'

29. -It will now start to extract the packages
     from CD to your VMWare disk

     So you should see e.g. 'Extracting bin into / directory ...'
     and so on...

30. 'OK' at 'Congratulations! You have now FreeBSD installed
    on your system.
    You will now move on to the final configuration
    questions.
    For any option you do not wish to configure,
    simply select no.
    If you wish to re-enter this utility after the system
    is up, you may do so by typing

     /stand/sysinstall

31. 'Yes' to configure ethernet network card

32. I chose 'Cancel' to skip ppp

33. I chose 'N'o to let this machine function as network gateway

34. I chose 'N'o to configure inetd

35. I chose 'Y'es for anonymous ftp access

36. 'Yes' for user information requested

37. tab to 'OK'

38. 'Yes' for anonymous FTP users welcome message

39. Type your message

40. <ESCAPE> to quit

41. 'a' to save your text

42. 'No' to configure this machine as NFS server

43. 'No' to configure this machine as NFS client

44. 'No' for moderate security profile

     Sendmail and sshd have been enabled, secure
     levels are disabled and NFS server settings
     have been left intact.
     To change any of these settings later, edit

      /etc/rc.conf

45. 'OK'

46. 'N'o for customize system console settings

47. 'Y'es for set time zone

48. 'N'o for CMOS clock set to UTC

49. Choose your continent

50. Choose your country

51. 'Y'es for proposed time format

52. 'Y'es for enable Linux binary compatibility

53. Now message shown on screen
    'Adding packages/All/linux_base-7.1_2.tgz from acd0c'

54. I chose 'N'o when asked if non-USB mouse attached

55. 'Y'es to configure X server

56. I chose '2' xf86cfg (fully graphical XFree86
    configuration tool)

57. 'Y'es for access mouse

58. Test and run the mouse

59. It worked OK with the mouse, so I pressed 'OK'

60. 'OK' to return to previous menu

61. -The FreeBSD reboots

62. -It shows a very nice graphical screen
     'xf86cfg'

63. I chose 'Quit'

64. 'Y'es to write the files to to XSB
    'XFree86'

65. Now I got a black screen

66. I rebooted, gave VMWare focus by clicking on the
    window, then pressed <F1> followed by <ENTER>
    to continue

67. Login as root

      su

      <your root password>

    (or just type 'root', then press <ENTER>)

68. You see a screen similar to the following:

+--------------------------------------------------------------------+
|FreeBSD 4.8 - RELEASE Generic #0: Thu Apr 3 10:53:38 GMT 2003       |
|                                                                    |
|Welcome to FreeBSD!                                                 |
|                                                                    |
|Before seeking technical support, please use the following          |
|resources:                                                          |
|                                                                    |
|o Security advisories and updated errata information for all        |
|  releases are at                                                   |
|                                                                    |
|   http://www.FreeBSD.org/releases/.                                |
|                                                                    |
|o The handbook and FAQ documents are at                             |
|                                                                    |
|   http://www.FreeBSD.org                                           |
|                                                                    |
|  and along with the mailing lists, can be searched by going        |
|  to                                                                |
|                                                                    |
|   http://www.FreeBSD.org/search                                    |
|                                                                    |
|  if the doc distribution has been installed, they are also         |
|  available formatted in                                            |
|                                                                    |
|   /usr/share/doc                                                   |
|                                                                    |
|o If you still have question or a problem, please take the output   |
|  of                                                                |
|                                                                    |
|    uname -a                                                        |
|                                                                    |
|  along with the relevant error messages, and email it as a question|
|  to                                                                |
|                                                                    |
|   questions@FreeBSD.org                                            |
|                                                                    |
|  mailing list.                                                     |
|                                                                    |
|o If you are unfamiliar with the FreeBSD directory layout, please   |
|  refer to the page:                                                |
|                                                                    |
|   hier(7) man                                                      |
|                                                                    |
|o If you are not familiar with man pages, type                      |
|                                                                    |
|   man man                                                          |
|                                                                    |
|o You may also use                                                  |
|                                                                    |
|   /stand/sysinstall                                                |
|                                                                    |
|  to reenter the installation and configuration utility.            |
|                                                                    |
|o To change this login announcement, edit the file                  |
|                                                                    |
|   /etc/motd                                                        |
+--------------------------------------------------------------------+

---

69. Trouble shooting:

I had to check the mouse settings,
as the mouse was not detected, so after
login I typed the command

 1. /stand/sysinstall

 2. I chose 'Configure'

 3. 'Mouse' to configure your mouse

 4, It showed the screen:

+-----------------------------------------------------------------+
|    ------ Please configure your mouse ------------------------- |
|                                                                 |
|    You can cut and paste text in the text console by running the|
|    mouse daemon.                                                |
|                                                                 |
|    Specify a port and a protocol type of your mouse and         |
|    enable the mouse daemon.                                     |
|                                                                 |
|    If you do not want this feature, select 6 to                 |
|    disable the daemon.                                          |
|                                                                 |
|    Once you have enabled the mouse daemon, you can specify      |
|                                                                 |
|     /dev/sysmouse                                               |
|                                                                 |
|    as your mouse device, and                                    |
|                                                                 |
|     SysMouse                                                    |
|                                                                 |
|    or                                                           |
|                                                                 |
|     MouseSystems                                                |
|                                                                 |
|    as mouse protocol when running the X configuration utility   |
|    (see Configuration Menu)                                     |
|                                                                 |
|                                                                 |
|    X Exit    Exit the menu                                      |
|                                                                 |
|    2 Enable  Test and run the mouse daemon                      |
|                                                                 |
|    3 Type    Select mouse protocol type                         |
|                                                                 |
|    4 Port    Select mouse port                                  |
|                                                                 |
|    5 Flags   Set additional flags                               |
|                                                                 |
|    6 Disable Disable the mouse daemon                           |
+-----------------------------------------------------------------+

 5. I chose the default values for the options:

     3. auto

     4. PS/2

     5. and filled in nothing in the emulate buttons option.

    Then 2 to test the mouse, which worked OK now.

    Then exit to goto to previous menu, again
    exit, and <TAB> <OK> to return to the command line.

---

70. Possibly set a password for root, by typing

     passwd

    then supplying your new password twice.

---

71. To install VMWare tools
    I restarted (to go to text mode), by typing

     shutdown -r now

72.
    (select from menu option 'File'->'Install
     VMWare tools')

73. Install VMWare tools

http://www.faqts.com/knowledge_base/view.phtml/aid/26653/fid/1573

---

74. Type

      startx

    to start the graphical shell

---

Time used: about 60 minutes

---

Space used on hard disk: about 0.9 gigabyte

---
---

Internet: see also:

---

VMWare: Operating system: Install: VMWare tools: FreeBSD: How to 
install VMWare tools on FreeBSD?
http://www.faqts.com/knowledge_base/view.phtml/aid/26653/fid/1573

---

VMWare: Operating system: Install: FreeBSD: How install FreeBSD v3.4 
on VMWare v4.0 for Windows?
http://www.faqts.com/knowledge_base/view.phtml/aid/23407/fid/525

---

VMWare: v4.0: Operating system: Install: All: Overview 
[Windows/Linux/Unix/FreeBSD/Solaris/Novell]
http://www.faqts.com/knowledge_base/view.phtml/aid/22119/fid/1149

----------------------------------------------------------------------