Orang ' s an operating system host Win7 64-bit, some considerations for virtual machine Linux

Source: Internet
Author: User

Host windows7 virtual machine Debian 8 -bit

1.vbox virtual machine Linux mount Windows folder -bit system

Mount-t vboxsf/ shared Windows directory name /linux under the directory name you want to mount

Mount-o Loop The name of the directory under file name/linux to mount

CP ready to copy file name / directory name mounted with Mount-o Loop

Umount/ directory name mounted with mount-o loop ; un-mount

2,Debianlinux:mount when there is a problem with the file system solution

Sudo apt-get Install gcc make

Sudo Apt-get Install Linux-headers-amd64

sudo apt-get install dkms

Re-entry:vboxadditons Optical drive execute Sh. Run End file

3. Mount the image file to the appropriate directory

Mount-o Loop pm.img/mnt/p

CP pmtest1.com/mnt/p

umount/mnt/p

4.

Nasm-f Elf-o F.O f.asm

Gcc-c-m32-o f1.o f1.c

D-m elf_i386-s-o ff1 f.o f1.o\

When you use the above command, Discovery uses -m32 parameter, the compile prompt error is as follows:

_x86_64 elf_i386 i386linux elf_l1om elf_k1om i386pep i386pecollect2:error:ld returned 1 exit status

Networking updates are required below

First of all , to open the system to The three-digit support

First step: Confirm that the kernel is a schema

dpkg--print-architecture Output: adm64

Description already has the kernel of the system .

Step two: Confirm that the multi-schema support feature is turned on

dpkg--print-foreign-architectures Output: i386

The description is turned on if you do not need to open it manually

Open Multi-schema support

sudo dpkg--add-architecture i386

sudo apt-get update

sudo apt-get dist-upgrade

And so you have the support of the system to the three

followed by the installation of gcc Multilab

Apt-get Install Gcc-multilib G++-multilib

5, in doingBoot.bin LoadingLoader.bin, the first time inBOCHSunder RunFreeDOSFormattingBOOT. IMGfile, and then inLINUXunder ReplicationLOADER. BINto the image file, and then to theWINDOWS Commandcommand line, use theDDputBOOT. BINCopy to image file, do not go wrong or elseBOCHSThe problem occurs when you run

Orang ' s an operating system host Win7 64-bit, some considerations for virtual machine Linux

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.