Use VMware to install Linux on a physical hard drive and boot to Linux

Source: Internet
Author: User

Directory (?) [-]

    1. Purpose of this article
    2. Specific operation
      1. 1 Software Preparation
      2. 2 installation
      3. 21 operation on the hard disk
      4. 22 Creating a virtual machine and installing it
      5. 23 Booting Linux with Grub
1. The purpose of this article

suitable for computers without optical drive to install Linux, there is also the feeling of installing Linux from hard disk do not understand friends. Makes installing Linux easier and more easy to fool.

Attachments are downloaded at the end of the article.

2. Specific Operation 2.1 Software preparation

platform: Windows xp/2000

Software: VMware workstation5 or later

WINDLWS View Linux partition gadget: Explore2fs.exe If you know Linux partition can not, Then again, if you understand the Linux partition, this article may be of no value to you

http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm can be downloaded to

Linux ISO image file

2.2 Installation 2.2.1 to Hard drive operation

Delete a partition of a hard disk in Windows, in order to let Windows do not try to manage it, you can use the PQ and other software will delete the partition to establish a Linux partition, not established or can be installed in the Linux process to establish.

2.2.2 Creating a virtual machine and installing

to create a new virtual machine, select "Custom" when the following interface appears:

(I put the picture in my ICPCN space, to the piece given is the link address, as if the direct click on the link is not open the picture, because ICPCN used the anti-theft chain system, you just copy the image address to the browser address bar return to open it OK, because the good anti-theft chain will not recognize the URL it? It can be speculated that the anti-theft chain system first get to the URL of the link, if not this site, then pop you are hotlinking, the principle should be very simple. )

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image1.png

Next choose the virtual machine format, here is not too much attention, you can choose the first one,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image2.png

Next choose the operating system, here is not, you choose which of which, I installed Ubuntu, also installed Debian.

Next, select the virtual machine location, such as:

Note: The location selected here is only a temporary location, the last OS is installed on the physical hard disk, so the location of the selection is not important, as long as there is a hundreds of trillion space temporarily can accommodate the virtual machine.

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image3.png

The next step is to choose the number of processors, not much attention,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image4.png

go to Next Select memory size, omit ... Go to Next Select network type, select Bridge,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image5.png

Next Select the I/O adapter type, by default

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image6.png

The next step is important, to choose to use a physical disk,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image7.png

clicking Next will pop up a warning, click OK

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image8.png

Next Select the disk, select Use a single partition,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image9.png

Next, it will let you choose which partition to use

Description: Above I deleted a Windows partition, and with the PQ software established two Linux type of partition, A/partition (primary partition) and a swap partition (can be logical partition), so here I choose Partition 4 and partition 5, here to choose according to the actual situation. You should choose the disk space that you prepared for Linux.

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image10.png

The next step is complete.

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image11.png

Back to Device list:

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image12.png

double-clicking the hard drive option pops up the following dialog box:

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image13.png

Click "Advanced" to pop up the following dialog box, choose Standalone---persistent,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image14.png

after setting up the hard drive, double-click the optical drive option, pop up the following dialog box, select the ISO location to use

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image15.png

to set the basic end here, turn on the virtual machine power can be installed, the installation process on the Internet a lot, here do not say.

Once the installation is complete, enter the Linux system, then shut down the system and then shut down the virtual machine. There is no stress here.

2.2.3 booting Linux with Grub

Download Grub4 decompression will grub.exe Grldr menu.lst three files placed in the C packing directory, and then modify the Menu.lst, specifically how to modify the following said.

Click My Computer--Properties

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image16.wmf

Open the System Properties dialog box and select Advanced, such as:

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image17.png

under "Startup and Recovery", click "Settings":

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image18.png

The following dialog box appears, click "Edit":

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image19.png

The "boot. ini" file pops up with a line at the bottom c:/grldr= "Start Grub"

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image20.png

confirm exit after saving.

The following is a description of how the Menu.lst file is modified:

Delete the contents of the file, and copy the contents below.

Default 0

Timeout

Title Debian gnu/linux, kernel 2.6.18-5-686

Root (hd0,2)

Kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/hda3 ro

INITRD /boot/initrd.img-2.6.18-5-686

Savedefault

Title Reboot

Savedefault--wait=2

Reboot

the red part of it is also needed to modify, according to your actual situation to modify, run Explore2fs.exe,

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image21.wmf

Locate--boot--grub--menu.lst, select Export File, open, find a paragraph similar to the following, copy it to replace the red part above:

Description: The function of this passage is to tell Grub which zone to start Linux in, so simple, if you install Ubuntu, you find a similar title to Ubuntu ... A paragraph, there may be a few similar words, look for a post to be able to, their differences are generally in the starting mode, single-user or multi-user support, repair system and so on.

Http://coolsword.go2.icpcn.com/Linux/img/wps_clip_image22.png

This is basically the end, you can restart the computer, will let you choose to start Windows or Strat Grub.

Attachment Download: linux_install.pdf

Go

Use VMware to install Linux on a physical hard drive and boot to Linux (go)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.