Nex 5N – Lester Dine Kino Precision (Kiron) 105mm 2.8 macro 1:1
Restore a Windows Server 2008 RC2 from VMWare VDX file
I have to investigate one of the Domain Controller running Windows Server 2008 RC2 from a Backup VMware folder that contain VDX file. This is a snapshot of running Server from last month from other remote backup Datastore.
Restore a Cloned Virtual Machine
In VCenter go to the Datastore that contain VDX file
Right Click VDX file and register VM with different than the running one. EX: SrvrRecovery
After that change the Datastore from backup to our production Datastore
Now when you fire up the Machine it will have a lot of problem because the disk is Write Protected, Hidden and it has Nodefault Driver Letter so the Boot Procedure will fail. To overcome that
Change the value of the disk.EnableUUID parameter to False: Vcenter -> Host -> SrvrRecovery (PowerOFF) -> Actions -> Edit Settings -> VM Options -> Advanced -> Configuration Parameters -> Edit Configuration -> disk.EnableUUID-> False
Ajust booting flags on Primary Boot Partition
diskpart
list volume
select volume 1
attributes volume
attributes volume clear nodefaultdriveletter
attributes volume clear hidden
attributes volume clear readonly
exit
Rebuild Boot Configuration Data
bootrec /rebuildbcd
type Y (yes)
exit
Yeah man! the Virtual server is coming back
Reference:
How to sync Windows folder to Ubuntu permanent
apt-get install cifs-utils
Mounting unprotected (guest) network folders
sudo mkdir /media/windowsshare
Then edit your /etc/fstab file (with root privileges) to add this line:
//servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0
guest indicates you don’t need a password to access the share,
uid=1000 makes the Linux user specified by the id the owner of the mounted share, allowing them to rename files,
iocharset=utf8 allows access to files with names in non-English languages. This doesn’t work with shares of devices like the Buffalo Tera Station, or Windows machines that export their shares using ISO8895-15.
If there is any space in the server path, you need to replace it by