{"id":811,"date":"2015-02-21T20:19:32","date_gmt":"2015-02-21T20:19:32","guid":{"rendered":"http:\/\/www.p2vpro.com\/?p=811"},"modified":"2015-02-21T20:19:32","modified_gmt":"2015-02-21T20:19:32","slug":"dumb-ways-to-die","status":"publish","type":"post","link":"https:\/\/www.p2vpro.com\/?p=811","title":{"rendered":"Dumb ways to die"},"content":{"rendered":"<p>Like accidentally removing a disk from your system while VMware workstation is running a machine from it. Uh-oh, I thought after I had removed the disk and woken the machine up to see that Ubuntu-14.04 had been running. Straight away put the computer back to sleep and put the disk back but the VM wouldn&#8217;t shut down or turn off and Workstation wouldn&#8217;t quit so in the end I had to kill it.<\/p>\n<p>Having rebooted and tried to start the Ubuntu VM again, I got nasty errors like <code>\"reason: failed to lock the file\"<\/code>. Next I copied all the files to another disk and re-added the vmx file to workstation (&#8220;I moved it&#8221;). Same types of error.<\/p>\n<p>On the plus side, I was pretty confident this wasn&#8217;t terminal. After all the machine was asleep when the disk was removed, no writes were taking place and modern file formats can cope with that. A look in the folder showed a couple of <code>Ubuntu-14.04-1.vmx.lck<\/code> files. Simply deleting them allowed the VM to start and all was well. Could have been worse.<\/p>\n<p>The reason I took the disk out in the first place was to put the DVD drive in. The reason I did that was to burn a Centos 7 iso. The reason I did that was to replace my physical install of Centos 6.5. The reason I did that was because I couldn&#8217;t get my Bamboo tablet to work on 6.5, despite manually building the kernel module and recompiling the kernel from source. The reason I wanted to use the pen was to do some graphic work in Gimp. The reason I needed Gimp was Photoshop&#8217;s lack of Bezier curve drawing. The reason I needed bezier curves was for a piece of artwork for a label for a new product my wife is working on. Finally we get to the business justification!<\/p>\n<p>Happily, and as expected, Centos 7 works out of the box with the Bamboo dock. Also glad that judicious choice of options in the Centos 7 installer didn&#8217;t wipe out any of the other partitions with other operating systems and data on my disks. All told, good progress. And lucky.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like accidentally removing a disk from your system while VMware workstation is running a machine from it. Uh-oh, I thought after I had removed the disk and woken the machine up to see that Ubuntu-14.04 had been running. Straight away &hellip; <a href=\"https:\/\/www.p2vpro.com\/?p=811\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-811","post","type-post","status-publish","format-standard","hentry","category-general-technology"],"_links":{"self":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=811"}],"version-history":[{"count":1,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":812,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions\/812"}],"wp:attachment":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}