LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 709|回复: 0

How to:在VMware4.0中安装Slackware

[复制链接]
发表于 2004-7-21 21:02:20 | 显示全部楼层 |阅读模式
这是辛辛苦苦找到的,虽然是en的,但是大家都能看的懂.文中用9.0做例子,但10.0照样可以用!我已经装过了,完全没有问题,请大家放心
我是一个linux的新手,上来就用slackware开始,是有些困难,所以把找到的有用的东西拿出来分享,谢谢大家!(望加"精")
这是我一个像样的帖子,愿意交流的请MSN联系:wantoo@vip.sina.com  , Tomw
Steps: Overview:

1. -Possibly download the Slackware CDs:

      See:

       http://www.slackware.com

      or

       ftp://ftp.slackware.com/pub/slackware/slackware-current/

2.  For the installation in VMWare you do not have
     to immediately burn this downloaded file on a CD, that you can do
     later. This because you use this downloaded files (which are so
     called .iso images) to install.

3. -In VMWare create a new virtual machine

      (menu 'File'->'New'->'Virtual machine)

4. -select from list 'Linux'

5. -Choose a representative name
     (e.g. 'Linux Slackware v9 - English')

5. -Accept further the defaults

6. -I reduced the memory to 64 megabyte
     (to avoid e.g. a slow Microsoft Windows XP
      machine, when using 256 megabyte of RAM)

7. -Inform that you are going to install from iso image

     1. -select in VMWare the menu option 'Edit'

     2. -select from list 'Removable devices'

     3. -select from list 'CD Rom'

     4. -select tab 'CD-ROM device'

     5. -enable radio button 'Use ISO image'

     6. -click button 'Browse'

     7. -browse to the directory of your iso file:

          slackware-9.0-install.iso

     8. -click button 'Open'

     9. -click button 'OK'

8. -You might do the following, otherwise
     just skip it:

     Start the boot order to be from CD-ROM drive
     first

     1. While booting your virtual machine
        put the focus on this window
        (e.g. by clicking with the mouse on it,
        then pressing <ENTER>), and press <F2>

     2. Then move to the 'boot' tab

     3. Move the 'CD-ROM Drive' upwards, using
        the numeric '+' (e.g. on my machine this
        is <FN><+>)

     4. Press <F10> 'Exit and Save'

     5. Press <Yes> to accept

9. -Start VMWare Linux Slackware

10. -Press <ENTER> to start the installation

     Because VMWare uses a SCSI disk emulation,
     you have to type:

       scsi.s

      (You can see the options, by pressing <F2>
      and or <F3>)

11. -Type 'root' to login

12. -First create disk partitions, using

      fdisk /dev/sda

     then to create a 'n'ew partition, type

      n

     choose 'p'rimary:

      p

     choose e.g. '1'

     choose e.g. '1'

     choose e.g. '522'

     when finished, save the results, by typing

      m

      w (=write)

     You should see then:

     'the partition table has been altered!
     calling ioctl() to reread partition table.
     Syncing disks'

     Type cfdisk to make that partition
     bootable (then goto '[Bootable]', and press
     <ENTER>, that will put 'boot' at the line
     of /dev/sda. When finished press '[Write]',
     then 'yes' to save the result. Then '[Quit]'
     to finish.

13. -After that, if that works out successfully, type:

      setup

     to start installation

      -Your installation CD can be found on
       /dev/hdc

       (if CD not found, go in VMWare to the
       menu 'Edit', disconnect the 'CD ROM'
       and connect it again, then go back
       to Slackware, and try again)

      -Choose the programs you want to install

      -Use 'T'arget to
       choose the partition on which to install
        e.g. /dev/sda

         You will have to format your /dev/sda disk, choose e.g. Ext2,
         the default Linux extension.
         and default 4096 inodes.

      -Choose e.g. 'newbie', then you will get the chance to install or
       not some individual packages.

14. Then the installation starts.

     Note: it might take a while before some files are loaded,
           pressing <ENTER> on the screen seemingly does not
           much, only the text on the screen scrolls up.
           So it is advised to wait a little there.

           It starts then to install the packages from
           'a', 'b', 'c', ..., to 'v', 'w', 'x', 'y' and 'z'.

           With packages that have to be installed (=required), you can
           not choose, they just pass by.
           By all the others (=optional) you can choose with
           'Y'es, 'N'o, or 'C'ancel installation.


    1. Select also a kernel, e.g. from CDROM,
       and choose the 'scsi.s/bzImage' kernel.

    2. I chose to skip a bootdisk

    3. I chose no modem

    4. I chose to enable hotplug

    5. *Important* I choose to install simple lilo

       (if you do not choose to install lilo,
        you will get a black screen after restart.

         ( Note: you can type
               later on the command line

                 liloconfig

                to install it again)

    6. Choose the standard console

    7. I chose to press <Enter> when asked for parameter

    8. I chose to install LILO in the MBR

    9. Mouse PS/2

   10. Yes to install gpm

   11. Yes to configure network

       1. Hostname (e.g. slackware)

       2. <ENTER> for domain name

       3. test for extra domainname

       4. static IP

          1. e.g. 192.168.0.3

          2. e.g. 255.255.255.0

          3. gateway left empty

          4. no for nameserver

          5. skip probing

          6. accept

          7. smtp for sendmail

   12. no for font testing

   13. no for hardware clock

   14. select time zone

   15. select Gnome as window manager

   16. set root password

   17. <ENTER>

   18. <OK>

   19. 'E'xit

   20. 'OK'

15. When finished, type for example <CTRL><ALT><INS> to reboot.

16. After restarting press <ENTER> in the lilo boot menu

17. So Linux Slackware v9 did start successfully here

18. Login (e.g. as root)

19. Type

     startx

     to start Gnome

20. It showed a very nice starting screen in
    high resolution immediately

21. Now install VMWare tools for a probably even
    better resolution
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表