Wednesday, 3 April 2019

winword is freezing after pasting from followed by closing powerpoint on Windows 10

With 'Analyse wait chain' from task manager, you can see that winword is still waiting for powerpoint. Even the powerpoint has been closed (by clicking the x on top right of its window), there is still a powerpoint process running (not seen in 'processes' list, but in 'details' list). This looks like a 'bug' of powerpoint 2016. If you close powerpoint file by Ctrl+F4, then close the powerpoint app, everything is fine. If you close powerpoint app by Alt+F4, you have the same problem.

Saturday, 16 February 2019

How to make a disk dump using dd command?

To virtualize a physical PC in VirtualBox (see here), I need a copy of its disk image. The PC is quite old 386 (32bit) and its spec is quite low. So, I choose the less resource demanding Linux distro, Tiny Core (CorePlus version) to boot it up. To hold the big image file, I have a USB external drive in NTFS format. Here is what I did:

1. boot the PC with CorePlus

2. install ntfs-3g extension

3. connect the USB drive to the PC

4. find the device ID of the USB drive (in my case, sdd) with: fdisk -l

5. sudo -s

6. mount /mnt/sdd1

7. cd /mnt/sdd1/

8. dd if=/dev/sda of=sda_image.dd