wooyun 发表于 2016-1-10 11:30:19

Install Ubuntu9.10 in Oracle VirtualBox

  
  
  1. How to use share folder in VirtualBox for Windows XP -> Ubuntu:
  a. From VBox menu, Install Guest Additional first (your guest os should be running)
  b. sudo mkdir /mnt/sf_xp
  c. sudo mount.vboxsf sf_xp /mnt/sf_xp (mount.vboxsf command is available only if you installed Guest Additonal tools)
  d. or sudo mount -t vboxsf sf_xp /mnt/sf_xp
  
  2. Mount share folder in Ubuntu bootup:
  sudo vim /etc/rc.local
  add: mount -t vboxsf sf_xp /mnt/sf_xp
  
  3. NAT Network Connection, let host access guest:
  a. Redirect specified protocol in specified port to guest OS:
  Add below settings in C:\Documents and Settings\dengas\.VirtualBox\Machines\Ubuntu910\Ubuntu910.xml:
  <?xml version="1.0"?>
  <VirtualBox ...>
  <Machine ...>
  <ExtraData>
  <ExtraDataItem name="VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/GuestPort" value="22"/>
  <ExtraDataItem name="VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/HostPort" value="2222"/>
  <ExtraDataItem name="VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/Protocol" value="TCP"/>
  </ExtraData>
  ...
  b. Change NAT network adapter type to in setting.
  c. Reboot guest OS
页: [1]
查看完整版本: Install Ubuntu9.10 in Oracle VirtualBox