仮想環境に関する基礎知識

以下のテキストは、執筆時当時の情報を元に書いたものであり、 現在の情勢にそぐわないことを含む場合があるので注意されたい。 また、テキストは最終提出原稿で校正を経る前のものなので、実際にUNIXUSER 本誌に記載されたものとは異なる。誤字脱字等そのままである。

致命的な誤り以外は加筆修正等は行なわないので情報の鮮度に気をつけつつ 利用して欲しい。

目次


==============================================================================
3 1
						 / yuuji@koeki-u.ac.jp
						
==============================================================================





OS



Unix


Part2Unixchroot
Part3, Part4FreeBSD
jailLinuxUML


 Part1




Unix






---[ ]------------------------------------------------------------

    

  +-------------------------------------+
  |					|
  |					|
  |  +-------+ +-------+ +-------+	|
  |  |   | |   | |   |	|
  |  | 1 | | 2 | | 3 |	|
  |  +-------+ +-------+ +-------+	|
  |					|
  |					|
  |			|
  |	   (OS)		|  1
  +-------------------------------------+
      
      


    

  +----------------------+
  |                      |
  |    |   +-------+ +-------+ +-------+
  |     (OS)   |   |   | |   | |   |
  |                      |   | 1 | | 2 | | 3 |
  +----------------------+   +-------+ +-------+ +-------+

	

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









Unix

Web

 
Web

Web







root

: 
root




root



CPU



(/etc )






OS



OS












	
	

	OS



%%%%% UML??????????






Unix
Unix


	* 
	* OS

[]





CPU
OSON
OS
 VMware : http://www.vmware.com/  
Bochs : http://bochs.sourceforge.net/  

  VMware

  VMwarei386PC-AT
   VMware Inc. OSWindows  Linux 
  LinuxFreeBSDNetBSD Linux emulation 
  : FreeBSD/NetBSD  VMware version 3
  VMwareBIOS
   

---[ ]------------------------------------------------------------
%img vmware-bios.png
----------------------------------------------------------------------

  VMwareCPU
  CPU
  
  PC OSVMware:
  UNIXUSER 2003???  
   VMware 


---[ FreeBSD 5.1-RELEASE on VMware]-----------------------------

FreeBSD 5.1-RELEASE( 5.1R) VMware OS
5.1R

OS

/usr/src/sys/i386/conf  NOTES 


# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 
# machines.  VmWare seems to emulate this instruction poorly, causing 
# the guest OS to run very slowly.  Enabling this with a SMP kernel
# will cause the kernel to be unusable.



	options CPU_DISABLE_CMPXCHG



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

  bochs

  i386bochs
  i386
  :
  http://bochs.sourceforge.net/doc/docbook/user/x200.html 

    bochs-2.0.2 FreeBSD 5 
  
---[ ]------------------------------------------------------------
%img bochs-1.png
%img bochs-2.png
----------------------------------------------------------------------

  bochsCPU
  OS
  i386OS
  DOS
  bochs

OS


OS
UnixOS
 `chroot' OS
chroot

---[ ]------------------------------------------------------------
  +---------------------  -----------------------------+
  |                    (/)                                             |
  |                     |                                              |
  |         v----v---...+-------v----------------v---.....             |
  |       bin/ boot/ ...       etc/             usr/  ....             |
  |        |     |              |                |                     |
  | v--v---+-.. v+----v-...  v--+---- ..    v----+-------v---...       |
  | [  cat ..  boot0 boot1. hosts     .. X11R6/ bin/     |             |
  |                                        +---------chrootdir/ ---+   |
  |                                        |           (/)         |   |
  |                                        |            |          |   |
  |                                        |  v----v----+---v---.. |   |
  |                                        | bin/ etc/     usr/    |   |
  |                                        |               |   |
  |                                        +-----------------------+   |
  +--------------------------------------------------------------------+

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


chroot

 /etc 




%%%% Part4(UML)
%%%% 
/




OSOS
OS


	1. OS
	2. 
	   (HDD)
	   
	3. OS
	   
	4. BIOS
	   CPU

OSOS



%%%%% 

OS




yuuji@gentei.org
Fingerprint16 = FF F9 FF CC E0 FE 5C F7 19 97 28 24 EC 5D 39 BA
HIROSE Yuuji - ASTROLOGY / BIKE / EPO / GUEST BOOK / YaTeX [Tweet]