Various Windows techniques using VirtualBox: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== /etc/hosts equivalent ==
= /etc/hosts equivalent =


* The equivalent file is in C:\Windows\System32\Drivers\etc\hosts. You can have multiple hosts on a single line. However, if you want to test a host served by the Linux mother host OS, put your actual IP on a private network there (eg, 192.168.0.2), not 127.0.0.1 as it would not work with VirtualBox network bridging.
* The equivalent file is in C:\Windows\System32\Drivers\etc\hosts. You can have multiple hosts on a single line. However, if you want to test a host served by the Linux mother host OS, put your actual IP on a private network there (eg, 192.168.0.2), not 127.0.0.1 as it would not work with VirtualBox network bridging.


== Flushing the DNS cache ==
= Flushing the DNS cache =


* This can be donw with the following command-line command:
* This can be done with the following command-line command:


  ipconfig /flushdns
  ipconfig /flushdns
= Loading in fail safe mode =
* On Windows 7, press F8 at boot.
= Adding a new hard drive =
* Once you added it via VirtualBox, you must format it in Windows. Right click on "My Computer", then choose Manage. You will then have access to the GUI application for creating a partition and formatting it on the new drive.

Latest revision as of 16:50, 31 July 2011

/etc/hosts equivalent

  • The equivalent file is in C:\Windows\System32\Drivers\etc\hosts. You can have multiple hosts on a single line. However, if you want to test a host served by the Linux mother host OS, put your actual IP on a private network there (eg, 192.168.0.2), not 127.0.0.1 as it would not work with VirtualBox network bridging.

Flushing the DNS cache

  • This can be done with the following command-line command:
ipconfig /flushdns

Loading in fail safe mode

  • On Windows 7, press F8 at boot.

Adding a new hard drive

  • Once you added it via VirtualBox, you must format it in Windows. Right click on "My Computer", then choose Manage. You will then have access to the GUI application for creating a partition and formatting it on the new drive.