Migrate Windows 10 HDD to SSD using Clonezilla

Important Note: Ensure you backup any important data before you proceed. Consider doing a windows system backup. I will not be held responsible if you wreck your windows installation or lose data following this post.


Things you need:

Windows Installation DVD

Clonezilla – Burn to DVD or USB ; https://clonezilla.org/

GParted – Burn to DVD or USB ; https://gparted.org/

External Sata Cable to connect HDD via USB


Step 1 – Resize Windows Partition

[Only if you SSD is smaller than your HDD]

You need to make sure that the partition where your windows is installed is smaller than the SSD size. E.g in my case 256GB SSD, my C: drive had to be downsized to 200GB.

Proceed using gparted. This is fairly simple and well documented on https://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/

Step 2 – Install Windows on SSD

Once your partition is downsized, you can shutdown your Windows and replace the HDD with the new SSD.

Install the same version of Windows, skip all to defaults during installation – Network setup etc is not required.

Once done, you can safely shut it down.

Step 3 – Clone windows partition

  1. Boot to clonezilla.
  2. Connect your HDD via USB Sata Connector to the PC
  3. Go to “Start Clonezilla”
  4. device-device Clone
  5. Select beginner mode
  6. Select Part_to_local_part clone
  7. Select the source as /dev/sdbX(select your windows C: partition from the HDD)
  8. Select the target as /dev/sda2 (Select your new windows C: partition on the SSD)
  9. Proceed with the cloning
  10. When clone is done, disconnect the USB external HDD
  11. Remove clonezilla DVD and reboot.


You should now be able to boot into your SSD partition with your migrated windows.


Read More

Setting up your own Cloud Storage with OwnCloud – CentOS

Access your data from all your devices(Computer, tablet, mobile phone) by hosting your own data on a private server. It will also allow you to share files. Just like Google Drive, or Dropbox!

About OwnCloud

“ownCloud is a self-hosted file sync and share server. It provides access to your data through a web interface, sync clients or WebDAV while providing a platform to view, sync and share across devices easily—all under your control. ownCloud’s open architecture” – Read More about OwnCloud

You will need: A Private Server, can also be a VM in your home lan – I prefer to use a vps on Linode.

CentOS 6.7 – Installation Steps

PHP 5.5 or later is required

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

yum install php55w php55w-opcache php55w-mysql

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_CentOS-6/isv:ownCloud:community.repo

Add epel repository

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Install owncloud

yum install owncloud

Install mysql database

yum install mysql55w-server

chkconfig mysqld on

service mysqld start

Configure mysql – follow instructions on screen, disable anonymous and disallow root login


mysql -u root -p

mysql> CREATE DATABASE owncloud;

mysql> GRANT ALL ON owncloud.* to ‘owncloud’@’localhost’ IDENTIFIED BY ‘dbpass’;


service httpd restart

On your browser, go to : http://serverip/owncloud/ and follow the steps





And you are done. 🙂

Read More

[SOLVED] User-space NFS server

The Issue: Cannot create NFS server on a CentOS 6 VM running under OpenVZ – I do not have access to enable it on the VZ host, neither the supplier will change the config at their end. Instead they recommended going to a XEN based host.

Error Message:

[root@backup ~]# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS mountd: [ OK ]
Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, ‘mount -t nfsd nfsd /proc/fs/nfsd’ and then restart rpc.nfsd to correct the problem

The solution: Set up a user-space nfs server

UNFS3 is a user-space implementation of the NFSv3 server specification. It provides a unified mountd and nfsd program and so far runs under Linux, NetBSD, and Solaris. Before we begin, ensure nfs is stopped.

wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/unfs3-0.9.22-2.el6.rf.x86_64.rpm

yum install unfs3-0.9.22-2.el6.rf.x86_64.rpm

chkconfig unfsd on
service unfsd start
Starting unfs3 NFS server

modify /etc/exports

/home/myfolder ip_address_of_dest_server(rw,sync,root_no_squash,no_subtree_check)

Then service unfsd restart

On the client server,

mount -t nfs -o rw server_ip:/home/myfolder /mnt

Et Voila! 🙂

Read about UNFS3



Read More

SugarCRM installation error: Strict Standards

Been trying to install SugarCRM, and the following errors were obtained.

Strict Standards: Declaration of SugarEmailAddress::save() should be compatible with SugarBean::save($check_notify = false) in /home/gulshan/public_html/sugarcrm/include/SugarEmailAddress/SugarEmailAddress.php on line 1110

Strict Standards: Declaration of Person::create_export_query() should be compatible with SugarBean::create_export_query($order_by, $where) in /home/gulshan/public_html/sugarcrm/include/SugarObjects/templates/person/Person.php on line 41

Strict Standards: Declaration of User::retrieve() should be compatible with Person::retrieve($id = -1, $encode = true, $deleted = true) in /home/gulshan/public_html/sugarcrm/modules/Users/User.php on line 41

Strict Standards: Declaration of User::create_export_query() should be compatible with Person::create_export_query(&$order_by, &$where, $relate_link_join = ”) in /home/gulshan/public_html/sugarcrm/modules/Users/User.php on line 41

Strict Standards: Declaration of User::create_new_list_query() should be compatible with SugarBean::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = ”, $return_array = false, $parentbean = NULL, $singleSelect = false, $ifListForExport = false) in /home/gulshan/public_html/sugarcrm/modules/Users/User.php on line 41

Strict Standards: Declaration of User::list_view_parse_additional_sections() should be compatible with SugarBean::list_view_parse_additional_sections(&$list_form) in /home/gulshan/public_html/sugarcrm/modules/Users/User.php on line 41

Strict Standards: Declaration of Currency::retrieve() should be compatible with SugarBean::retrieve($id = -1, $encode = true, $deleted = true) in /home/gulshan/public_html/sugarcrm/modules/Currencies/Currency.php on line 236

Strict Standards: Non-static method UploadStream::register() should not be called statically in /home/gulshan/public_html/sugarcrm/include/entryPoint.php on line 181

Strict Standards: Non-static method SugarConfig::getInstance() should not be called statically, assuming $this from incompatible context in /home/gulshan/public_html/sugarcrm/include/SugarLogger/LoggerManager.php on line 73

Strict Standards: Non-static method SugarConfig::getInstance() should not be called statically, assuming $this from incompatible context in /home/gulshan/public_html/sugarcrm/include/SugarLogger/SugarLogger.php on line 118

Couldn’t fix it, so just as a work-around, EDIT index.php and the following after <?php



EDIT: Also check this out for CSS issue; https://community.sugarcrm.com/sugarcrm/topics/new_installation_of_ce_not_working

Read More