六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 50|回复: 0

Install Ubuntu9.10 in Oracle VirtualBox

[复制链接]

升级  1.33%

14

主题

14

主题

14

主题

秀才

Rank: 2

积分
52
 楼主| 发表于 2013-1-15 02:15:24 | 显示全部楼层 |阅读模式
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[step a])
  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 [Inter PRO/1000 MT Desktop(82540EM)] in [Advanced] setting.
  c. Reboot guest OS
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表