Linux and Windows shared virtual memory

Source: Internet
Author: User
Linux and Windows shared virtual memory-Linux general technology-Linux technology and application information. The following is a detailed description. I bought a second-hand book for my girlfriend over the weekend. The hard disk is not big, and it is only 30 GB. Windows needs to be retained and cannot be deleted yet. However, I strongly recommend my girlfriend to use Linux (how convenient it is. Don't send a text message to tell me about the virus any more. What should I do ?).

Windows virtual memory uses 716 MB (pagefile. sys file ). If you are planning a swap partition in linux, you need to remove 512 M, and the two will remove 1.2G. Think about it as a silver coin and never waste it. The two systems run only one at a time.

Mount the windows system and partition, and format pagefile. sys into a swap partition.

The operations are as follows:
Add the following lines to/etc/rc. d/rc. local:

# If you have not attached a partition, mount the partition first.
# Mount/dev/hda1/mycomputer/WinC
Mkswap/mycomputer/WinC/pagefile. sys
Swapon/mycomputer/WinC/pagefile. sys

Save. Run rc. local.

Use free-m to check. Whether the swap partition is available. Don't worry, though swap is used in Linux. However, the pagefile. sys file has been formatted as swap.

I don't know what will happen to ms system startup? Will it crash? Restart windows xp with caution. Fortunately, I still know that this file can be used, and there is no problem.

Try it.
Related Article

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.