`

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[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


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics