網頁

顯示具有 技術---Virtualbox 標籤的文章。 顯示所有文章
顯示具有 技術---Virtualbox 標籤的文章。 顯示所有文章

2016年9月25日 星期日

VirtualBox 5.1.6 --- Lubuntu/Ubuntu 16.04 uefi boot issue in virtualbox 5.1.6

When I enable EFI setting in virtualbox 5.1.6 for installing Lubuntu 16.04 x64,
the O.S. after the installation is finished will go into EFI interactive shell, not boot into Grub normally.

How to resolve this problem?
To edit a startup.nsh script manually by using edit startup.nsh command next to add two lines as follows
FS0:
\EFI\ubuntu\grubx64.efi
Press Ctrl+S and Enter to save file and Ctrl+q to quit back to EFI shell.

To reboot OS again, the system will display the EFI shell firstly next to load Grub automatically.

2015年7月25日 星期六

VirtualBox 5.x --- How to resolve a problem that cannot add VM machine by VirtualBox Manager

When I want to add the old VM into the VirtualBox Manager on Ubuntu/Lubuntu 14.04,

I get some error as “Could not find an open hard disk with UUID {...}”
I am not sure what happen and just want to resolve this problem quickly so that search some information by Google. To summary the related process for the interesting guys.
At first, the command “VBoxManage showhdinfo ”  will be executed for showing information about a virtual hard disk image.
We need to make a backup of the .vbox file before edit the .vbox file for recovery discussion. Leter, we will open the .vbox file next to find the "" line that references the UUID for the "missing" disk.
It should be inside of an section inside of a section.
Remove the entire section and save the file.
To do the same action for adding machine, the existing VM can be added now.
The UUID of the disk also is corrected now.
Although I think the problem has already been resolved, maybe need to double confirm the disk structure. After close the VirtualBox Manager and open it again, the fixed VM still be inaccessible.
The reason will be the disk with UUID doesn’t exit in the some configuration file with the extension as .vbox & .vbox-pre
To add this UUID record on .vbox & .vbox-pre as follows:
So does that the VM will be normal in the VIrtualBox Manager now.

2012年12月9日 星期日

VirtualBox 4.2.4 --- Install Hyper-V Server 2012 RTM on VirtualBox

It is very simple to install Windows Server 2012 on VirtualBox 4.2.4 and there is more and more demos or documents in Internet for reference. After install this OS, I get the error when I want to enable Hyper-V role and add the related features.
ScreenHunter_55Even though I search some articles and teach us to change hypervisorlaunchtype parameter from auto to off, the result still is failure.
ScreenHunter_16Whether the processor does not support virtualization? No, because I ever confirm this by Intel & Microsoft utility and the Hyper-V can be installed on host machine. (My host OS is Windows 8 version.)
I don’t know how to resolve this problem now. So I decide to install Hyper-V Server 2012 RTM on VirtualBox for testing.

VirtualBox Setting
To Create a VM and the configuration is the same as Windows Server 2012
ScreenHunter_01In Processor tab, choose Enable PAE/NX check box
ScreenHunter_03In System/Acceleration tab, choose Enable VT-x/AMD-V and Enable Nested Paging check box
ScreenHunter_04In Network/Adapter 1 tab, Select Intel PRO/1000 MT Server (82545EM) Adapter Type (# 1)ScreenHunter_05After finish the above steps, we can mount/boot download ISO file (# 2) and power on this VM now.

Install Hyper-V Server 2012
As install Server version, the first screen still is to choose Language, Time and currency format and keyboard
ScreenHunter_55Click Install Now
ScreenHunter_56Accept License
ScreenHunter_57Due to we will install the first Hyper-V Server, please choose Custom: Install the newer version of Hyper-V Server only (advanced)ScreenHunter_58Select one disk for install OS
ScreenHunter_59Install process is running now…
ScreenHunter_60After install OS and reboot, the system request us to change Administrator password now.
ScreenHunter_61When change finish and OS reboot again, the logon screen will show up.
ScreenHunter_76
Configure Hyper-V Server 2012
When the first time log on the console, maybe need to change the computer name by selecting the option 2) Computer Name in menu and key new computer name as “VB-HYPERV-01” next to reboot and log on it again.
ScreenHunter_89Select option 5)  Windows Update Settings for defining the future policy to install window hotfix automatically or manually
ScreenHunter_84Select option 6) Download and Install Updates for install the windows hotfix right now
ScreenHunter_87Select option 9) Date and Time for correcting Date, Time and Time Zone
ScreenHunter_90
Finally, we can verify whether this version did build-in Hyper-V function by executing Get-WindowsFeature Hyper-V* PowerShell command.
ScreenHunter_87If the result is right, maybe we can make a template OS by running Sysprep command for the future usage. So do that we don’t need to always install the new OS again and again if have OS necessity in the future.
ScreenHunter_88
Reference :
(# 1) If we don’t select this network adapter in menu, no active network adapter is found after install Hyper-V Server 2012.
ScreenHunter_64(# 2) Microsoft Hyper-V Server 2012
ScreenHunter_01

2012年10月18日 星期四

MailArchiva --- Install OpenSource MailArchiva v1.9.13 on CentOS 6.3 x64 (part 2)

(continue)
In Host machine, I will download an open source software “MailArchiva 1.9.13” from sourceforge web site.
ScreenHunter_01Save this file to local path as E:\My Utility\Application\mail\Archive\MailArchiva\OSE\
ScreenHunter_02In Guest VM, click Devices –> Shared Folders… for creating or modifying shared folders.
ScreenHunter_03In Settings page, click Add Shared Folders button
ScreenHunter_04Switch to Other… in Folder Path field next to select a directory that it include the MailArchiva software.
ScreenHunter_05Click OK button if we don’t want to change Folder Name or other attributes.
ScreenHunter_06So does that the Guest VM has already added a shared folder now.
ScreenHunter_07Create a directory “/sf_OSE” to use as mount point next to mount the share folder and explore it. We will see the MailArchiva software in CentOS platform.
ScreenHunter_07Create a directory “mailarchiva_dist” for locating the extracted files from a compressed file
ScreenHunter_31ScreenHunter_32Execute an install script and bypass any registration except for memory in the setup process
ScreenHunter_35We can do the command chkconfig –list | grep iptables to realize which run level enable iptables daemon when CentOS start up (# 1).
ScreenHunter_07In the current run level (# 2), we can view firewall status by command /etc/init.d/iptables status ScreenHunter_01and temporarily stop iptables daemon by command /etc/init.d/iptables stop (# 3)
ScreenHunter_03So does that we can open MailArchiva management by web browser.
ScreenHunter_06
Reference
(# 1) If we want to specify which startup service will be disable on which run level, we can execute the command chkconfig --level 35 iptables off to disable iptables automatically on system boot.
ScreenHunter_09(# 2) How to know what run level am I in? By command as /sbin/runlevel or who –r to know what happen.
ScreenHunter_08(# 3) After stop iptables daemon and view status again, we can find out the firewall is not running now.
ScreenHunter_04
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.