VirutualBox

  • VirtualBox 5.2
    • VirtualBox 5.2.4 (released 2017-12-19)
    • VirtualBox 5.2.2 (released 2017-11-11)
    • VirtualBox 5.2.0 (released 2017-11-17)
  • VirtualBox 5.1
    • VirtualBox 5.1.30 (released 2017-10-16)
    • VirtualBox 5.1.28 (released 2017-09-13)
    • VirtualBox 5.1.26 (released 2017-07-27)
    • VirtualBox 5.1.24 (released 2017-07-18)
    • VirtualBox 5.1.22 (released 2017-04-28)
    • VirtualBox 5.1.20 (released 2017-04-18)
    • VirtualBox 5.1.18 (released 2017-03-15)
    • VirtualBox 5.1.16 (released 2017-03-08)
    • VirtualBox 5.1.14 (released 2017-01-17)
    • VirtualBox 5.1.12 (released 2016-12-20)
    • VirtualBox 5.1.10 (released 2016-11-21)
    • VirtualBox 5.1.8 (released 2016-10-18)
    • VirtualBox 5.1 (released 2016-07-12)
  • VirtualBox 5.0
    • VirtualBox 5.0.40 (released 2017-04-28)
    • VirtualBox 5.0.38 (released 2017-04-18)
    • VirtualBox 5.0.36 (released 2017-03-15)
    • VirtualBox 5.0.34 (released 2017-03-08)
    • VirtualBox 5.0.32 (released 2017-01-17)
    • VirtualBox 5.0.30 (released 2016-11-23)
    • VirtualBox 5.0.28 (released 2016-10-18)
    • VirtualBox 5.0.26 (released 2016-07-18)
    • VirtualBox 5.0.24 (released 2016-06-28)
    • VirtualBox 5.0.22 (released 2016-06-16)
    • VirtualBox 5.0.20 (released 2016-04-28)
    • VirtualBox 5.0.18 (released 2016-04-18)
    • VirtualBox 5.0.16 (released 2016-03-04)
    • VirtualBox 5.0.14 (released 2016-01-19)
    • VirtualBox 5.0.10 (released 2015-11-10)
    • VirtualBox 5.0.8 (released 2015-10-20)
    • VirtualBox 5.0.0 (released 2015-07-09)

Windows 10 (upgrade)

Windows 7 Home Premium (32bit) DSP を Windows 10 Home (32bit) にアップグレードしようとしててこずった。

  • Windows 7 Home Premium (32bit) DSP 新たにインストールしなおす。
    • 認証はちゃんと行われて Win 7 は使用可能
    • Win 10 の DVD から setup.exe を実行してインストール
    • インストールは無事終了
    • プロダクトキーの認証ではねられる。
  • インストール済の Win 7 でアップグレード
    • インストール途中のリブートで失敗する。
    • いろいろ調べてやり直すがなかなかうまくいかない。
    • 次の Web ページを参考にしてインストール完了、認証も求められなかった。
      1. In the System Tab - Motherboard - Extended Features - Check “Enable I/O APIC” - this was originally unchecked.
      2. System tab - Acceleration - Change Paravirtualization Interface to “Default” - Originally was “Legacy”. Both Hardware virtualization options should remain checked.
      3. As a good measure, I also added SATA Controller under Storage and added the current windows 7 virtual disk and Optical ROM drive (which I left blank. Don't worry - Windows 7 adds the proper drivers on starting it) . Then I removed the current IDE Controller.
      4. In the Display - Screen - Uncheck “Enable 3D Acceleration”
    • 上記 1, 2 については VirtualBox で Win 10 として作成開始すれば、ちゃんと設定されている。Win 7 から Upgrade する時の問題。

vdi を拡張

Extension Pack

  • VirtualBox 起動
  • File > Preference > Extensions
  • 古いファイルを消去
  • 新しいファイルをインストール (update してくれる)

Guest Additions

  • /usr/share/virtualbox/VBoxGuestAdditions.iso をマウント
    • Windows の場合 autostart させる.
    • Linux の場合 # sh ./VBoxLinuxAdditions.run
      • “# /etc/init.d/vboxadd setup” で module 再構築.

Boot Order

  • Setting > System > Boot Order

Headless

  • VBoxHeadless –startvm NAME

Host-only Network

  • 設定 (Host 側)
    • File > Preferences > Network > Host-only Networks
    • + で vboxnet0 が現われる
  • 設定 (Guest 側)
    • Setting > Network > Adaptor 2 > Attached to: で Host-only Adaptor を選択
  • Guest を立ちあげると vboxnet0 が現われる
  • vboxnet0
    • IP: 192.168.56.1/24
    • DHCP:
      • DHCP Server: 192.168.56.100
      • Dynamic: 192.168.56.101-254

NAT 環境だけの場合

Shared Folder

  • home をホストと共有 (NAT 環境では nfs が使えない)
  • ホストの /tmp を利用
  • /etc/rc.local で
      U=NNNN
      G=NNNN
      mount -t vboxsf -o uid=$U,gid=$G Vbox /Vbox
      mount -t vboxsf -o uid=$U,gid=$G home /Home
      mount -t vboxsf -o uid=$U,gid=$G tmp /Tmp

Port Forwarding

  • guest を ssh, vncviewer を用いて利用するため Port Forwarding の設定をする.
      VBoxManage modifyvm "guest" --natpf1 "guestssh,tcp,,12322,,22"
      VBoxManage modifyvm "guest" --natpf1 "guestvnc,tcp,,5902,,5902"
  • 設定を消去するには
      VBoxManage modifyvm "debian64" --natpf1 delete "debian64ssh"
      VBoxManage modifyvm "debian64" --natpf1 delete "debian64vnc"

User 設定

  • 利用ユーザーを vboxusers に入れる
  • Host Key を Right ALT へ変更 (HHK 対策)

Kernel Driver 再構築

  • /sbin/rcvboxdrv setup (VirtualBox 5.0)
  • /etc/init.d/vboxdrv setup

Ext4

  • IDE Controler の「Use host I/O cache」を enable にしておく. (現在はデフォルトで enable されている)

TIPS

Windows 7

RawDisk

memo/virtualbox.txt · 最終更新: 2018-01-09 15:23 by hn
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki