"Save me, oh God, from people who have no sense of humor."
— Ludlow Porch

Accessing Windows NTFS partitions from Linux on a dual-boot system

I dual boot Windows 10 and Kubuntu 16.04 Linux. Recently, after upgrading to Windows 10, I noticed that I was unable to mount my exFat and NTFS partitions from the Linux side.

The exFat problem is easy to resolve. Start up the terminal of your choice and type...

sudo apt-get install exfat-fuse

That will install the exFat drivers for your Linux system. From now on you're good to go regarding exFat. If you don't know about exFat, it is the best format for flash drives. It is supported on Windows, Mac OSX and Linux (after you install it) unlike FAT32, and doesn't have the 4GB limitation that FAT does; which makes it perfect for using one drive across all of your operating systems.  

But this isn't the exFat issue. It is the problem of not being able to mount an NTFS partition from Linux, which has always been a no-brainer.If you get an error like this when you try to mount an NTFS partition, then you know what I'm talking about...

An error occurred while accessing 'Home', the system responded: The requested operation has failed: Error mounting /dev/sda1 at /media/9C9445DC9445BA12: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=500,gid=500,dmask=0077,fmask=0177" "/dev/sda1" "/media/9C9445DC9445BA12"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda1': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.

The problem is caused by new functionality in Windows 10 (and Windows 8, which I never used) that causes the default shutdown behavior to be to hibernate your PC rather than actually shutting it down. It is called "Fast Startup" and is supposed to make Windows 10 "feel" faster than it really is. In order to access these NTFS partitions on Linux, you need to disable Fast Startup and hibernation as follows...

  • Boot to Windows 10.
  • Click your start menu and type "Power Options" in the search box and select Power Options from the search results.
  • On the left side, click "Change what the power buttons do".
  • Scroll to the bottom (you may have to unlock the page - Look for a link to unlock options at the top), and de-select the "Turn on fast startup (recommended)" and "Hibernate" options.

This will probably fix the issue, but in case it doesn't, you can force the issue by executing the following command in a windows terminal window (command prompt) running as Administrator...

powercfg.exe -h off

Shut-down Windows normally now, and re-boot into Linux. You should then be able to access your Windows 10 NTFS partition normally.

Good luck!

Installing Startup Disk Creator on Kubuntu

I recently found myself needing to repair some Windows partitions and move files around from an old spinning disk to a new mSata SSD drive. The only Linux flash drive that I had provisioned already was Kubuntu 15.10 live. While I was using it, I needed to create a new bootable flash drive with Ubuntu 16.04 so I could install a new partition on this new SSD running Ubuntu 16.04. Unfortunately Kubuntu doesn't come with Startup Disk Creator already installed on it. If you click the "K" menu and type "Startup" you'll see its missing from the system. No worries...

  • Launch the Konsole terminal
  • Type "sudo apt-get usb-creator-gtk"
  • Let it install, and voila.

Now, clicking on the "K" menu and typing "Startup" will allow you to run the Startup Disk Creator.

Installing VMWare Tools on a Kali-Linux VMWare VM.

On a fresh Kali Linux install, you are going to need the kernel headers first. Go ahead and install them by following these directions...

  1. Open a command prompt in the Linux VM.
  2. Execute these commands...
apt-get update
apt-get install linux-headers-`uname -r`

If it fails and you typed it, realize that those aren't single quotes. They are "back-ticks". Use the key on the top-left of your keyboard that has the tilde on it "~". Otherwise, just copy-paste.

Now, it's time to install the VMWare tools...

  1. Open a command prompt in the Linux VM (Or use the one that is already open if you ran the above steps first).
  2. From the VMWare menu choose, "VM | Install VMWare Tools".
  3. The disk should mount.
  4. In the terminal window, execute the following commands...
    cd /tmp  
    tar zxf /media/cdrom/VMWareTools-9.9.2-2496486.tar.gz

    Note: Your version will likely be different than mine, so type "tar zxf /media/cdrom/VM" then press the [Tab] key to autocomplete the proper filename.

    cd vmware-tools-distrib

Disabling "Prompt for Password on Wakeup"

I got a new laptop at the end of the year. While configuring it (I'm a bit of a power-user and like my laptops configured in a specific way) I tried to remove the onerous "require password when the computer awakens". Unfortunately the domain of my company had enforced the policy. Drag.

I use a severely complex password in order to provide real security. It's not a sentence, or an array of sentence letters, or anything in any way related to me. It in fact is a generated password that looks something like this...  "g4JGmU{Y2xX". That one is NOT my password. It's just another generated one based on the same algorithm as the one that I generated before.

Anyway, as you can see, entering that password over and over again, is pure hell. It keeps my laptop secure, but is a bitch to enter. I have it on my phone, in an application called "1Password", and I have to enter yet a separate password in order to unlock my 1Password application so that I can see this hairy-chested password and enter it.

In an effort to keep my power usage down, I have my laptop set to sleep itself as quickly as possible when on battery, therefore I need to disable the "prompt for password on wakeup" in order to make my life easier. I am responsible enough to lock my computer when I leave it, so I don't need this corporate big-brotherism interfering with the way I work. I looked up a way around the domain restriction but unfortunately I was unable to find what I needed. Then I began to dig in the registry and came upon this...

make sure your registry is backed up before trying to edit it. You have been warned. 

  • Run RegEdit
  • Open the following key...


  • Edit the value "PromptPasswordOnResume", changing the value from "1" to "0".
  • If the value "PromptPasswordOnResume" doesn't exist, then create a new 32-bit DWord value called "PromptPasswordOnResume" and set its value to "0" 
  • Save and exit the registry.

After you reboot (at least in my case) awakening the computer from sleep does NOT require a password, although the normal interface screens where you set this value still appear to have the setting that will require it to. In other words, it seems to be a simple hack that overrides the setting and makes life nicer.

Good luck! 

October Fresh Pumpkin Pie Soup

For those of you who don't know, October is THE month for pumpkin pie pumpkins.

If you like Pumpkin pies, then you most likely have been raised on pies made from canned pumpkin. While it's sad, it's also instructive. Pumpkin pie pumpkins are only a small sliver of the pumpkin growing industry. Most of the pumpkin growing industry is dedicated to the growing of the big pumpkins used for throwaway Jack-O-Lanterns.

Pumpkin pie pumpkins are very small and very sweet pumpkins that are only available for a very short period of time from early October until mid to late October.

BUY THEM WHEN YOU SEE THEM! The pie pumpkins should cost about $2 each and they will keep for about two months.

The best thing to do is buy them when they are ripe, gut and seed them and process them for puree. Save the puree in Food Saver freezer bags, or can it for future use. That way when Thanksgiving and Christmas comes up, you can make fresh pumpkin pies from your own fresh pumpkin puree. People who use commercially canned puree are losers. 

Here is a relatively good instruction set for fresh pumpkin pie (at this time).

Pumpkin Pie Puree

The only thing that I don't like about it is the many different ways to cook the pie pumpkin in order to make the puree. I ONLY subscribe to the baking method. Cut the top open like you are going to make a small jack-o-lantern, gut the pumpkin and inside the lid from all of its seeds and stringy stuff, rinse it well making sure you got all of the stringy stuff out. Dry it, slather it all outside with vegetable oil, and place it in a baking dish big enough to hold it. Put a tablesoon of butter and a quarter cup of heavy cream and quarter cup of water inside the pumpkin, drop the lid back on and bake it for one and a half to one and three quarter hours at 375. 

After you take the pumpkin out of the oven, carefully scrape the insides and underside of the lid out with a spoon and put it in a separate bowl. Once you get the pumpkin meat all removed, use a immersion blender to completely mix the meat into a puree.

Can or freeze the puree for later use in your pumpkin pie recipe. 

Update: October 19, 2012

I was at the local Albertson's last night, and saw that they had placed all of their pumpkins in the same pallet container with a "49 cents / pound" sign in front of it. I picked out four nice pie pumpkins but when I got to the checkout, the girl told me that the pie pumpkins were still $2.99 each. Even though they were piled in with the 49 cents per pound pumpkins. I was disappointed and left without any pie pumpkins.  

Acer Aspire 1420P Running Linux

Like those of you who are hitting this post, I received an Acer Aspire 1420P at the 2009 PDC in Los Angeles, California. I have searched and have not found any other posts about the Acer Aspire 1420P so I assume that the lappy wasn't ever released outside of the 2009 PDC in LA.

Suffice it to say, the Acer 1420P was a seriously nice touchscreen lappy/tablet with a; "meh" microsoft operating system running on a crappy touchy version of Win 7.

In fact I gave this lappy to my daughter as a 2009 Christmas present. She used it for a year, then handed it back to me when I gave her a 15" Macbook Pro for the next Christmas.

It sat in my (crappy computer) pile for a while until I recently realized that it is in fact quite a capable computer. This is the log of my trying different flavors of Linux on this laptop. My goal is to have a lappy/tab computer that I can hold while watching TV / drinking coffee / smoking barbecue / welding art / well, doing whatever I want.

I am particular to Suse linux, but will try Ubuntu first. The biggest hurdle will be enabling the touchscreen on the machine. I suspect that Ubuntu will fail... then I will try Suse, which I also expect will fail. I will let you all know what is the best Linux OS for the Acer Aspire 1420P. Bear with me.

Update Oct 10, 2012: 

I installed Ubuntu 12.04 LTS by creating a live-disk flash drive using the Windows version of LinuxLive USB Creator. I installed the Ubuntu iso onto the flash drive and booted up to the installer with no problems. The installation went very smoothly and I was running Ubuntu Linux in under an hour. After the installation, the touchscreen worked fine. I was impressed. Then, I noticed that there were some problems with Firefox (I could only use as a search engine) and other niggling issues that were preventing me from having joy. Then I ran the updater and noticed that there was an upgrade available for the version of Ubuntu I had just downloaded. >:(

After running the upgrade, all of the problems disappeared, except the touchscreen no longer worked. I played with it for about an hour, trying to find a solution, but didn't have any luck. I was impressed that ALL of the hardware on the machine was supported out of the box, except for the touchscreen. Bluetooth worked, Wifi worked, all of the alternate functions of the 'F' keys worked! It was pretty cool. 

Next... Suse

Update Oct 10,2012... Later

Ok, Suse was a bust. I couldn't find an easy way to create a flash drive installer for Suse. All of the instructions I found were to burn the iso to a disk and boot to the live disk in order to create the USB flash drive. Um... Hello... I need a USB flash drive in order to boot Suse!

So I chose Kubuntu as my second install. I used the same tools to create the Kubuntu flash drive that I had used to create the Ubuntu flash drive. After running the install on the Aspire 1420P, everything looks great. The touchscreen works fine as does all of the built in hardware. I am running the updates now and hope they don't break the little bocks. 

After the update, the touchscreen still works, but upon closer examination, the taps by your finger and the stylus, seem to be something other than normal clicks. they are also not exactly right-clicks. For instance, tapping on the "K" menu icon shows a little window that says,

"Kickoff Application Launcher.
Favori tes, applications,
computer places,recently
used items and desktop

Not exactly useful. Using the mouse, I can't reproduce the same results, so I expect that the touchscreen is doing something completely different. 

Update Oct 11, 2014: 

Yesterday I installed Fedora 20 on it while watching television. The Fedora 20 flash drive instructions were great. In fact I did it on my 27" iMac. I have never had so much luck with Linux live flash drive creation before. Especially not on a Mac. Good job Fedora.

The installation was a breeze. I still haven't gotten the touch screen working, but the laptop works great under Fedora. After two years, I am looking forward to actually getting the touchscreen to work.

Changing your IP Address on Mac OSX Mountain Lion.

About three years ago I switched my whole family from Windows computers to Apple Macs. In fact, my eldest daughter got our first mac (a 15" Macbook Pro) as a gift for her sixteenth birthday. She is now nineteen and works behind the "Genuis Bar" at the local Apple store.

From time to time though, I get this notice on my iMac or Macbook Pro...

The solution (on OSX Mountain Lion) is as follows...

1. Close out of any applications that are connected to the Web.

2. Click on the Apple menu and choose System Preferences.

3. Select your active network interface from the pane on the left.

4. Click "Advanced" in the lower-right corner of the main pane.

5. Click the TCP/IP tab, and click the "Renew DHCP Lease" button.

The system will toss your existing IP Address and assign you a new one that doesn't conflict with others on your network.

Hand Made Cribbage Boards

Hand-made cribbage boards.

This guy in Montana has super-nice hand-made cribbage boards. The big plus is that they have a slide out pocket for the pegs and a deck of cards. I saw them at the art fair in Manitou Springs, Colorado this last Monday and was super impressed. I want to buy the maple one (the one pictured above) but couldn't justify the $95 expense.

I have been playing cribbage since my stint in Navy back in the mid eighties. Mary Ann and I play it regularly on a cheapie wal-mart board. I seriously want that maple board and will eventually buy it.

If any of you like to play cribbage, then this is the ONLY guy to buy a custom cribbage board from. I have handled them and can say without a doubt that his are the best.

Here is his cribbage board link...

Deleting locked files from the trash in Mac OSX

If you use Mac OSX and use Time Machine to keep your system backed up, eventually you will run out of space on your backup volume. The answer is to go into the backup volume and delete the oldest backups. Why the OS doesn't do this for you automatically, is a mystery to me.

Once you delete the older backups, then you will want to empty your trash. Sometimes this is a problem.

Occasionally the trash will end up with a "Locked" file in it. This prevents the trash from emptying and sometime hangs the trash emptying process. Here's the solution...

1. Restart your Mac. This releases files that are in use.

2. Try to empty the trash again. If it fails, telling you that some items in the trash are locked, it will offer the seemingly helpful option of deleting ALL files or only deleting the LOCKED ones. Neither will work.

3. Right click (or left click and hold) on your trashcan icon and you will get the context menu with "Empty Trash" in it. Let go of the mouse button and hold down the [option] key while clicking "Empty Trash".

That should do it. The trick to emptying the trash can of LOCKED files is to hold down [option] while clicking "Empty Trash". Seems to me that Apple would do that in the background when you select either "Delete ALL Files" or "Delete LOCKED Files"... but they don't. So much for "Just Works" eh?

Snagit won't do scrolling captures on a mac.

I have used Snagit for years on my PC and loved it. One of the best features is the ability to perform scrolling captures. Unfortunately Snagit won't do scrolling captures on a Mac.

I recently switched to a mac for most of my work. I use a 27" iMac and a 17" Macbook pro. My wife uses a 13" macbook pro. Today she came down to my office and asked me to help her capture an order form from a website. The form was longer than the page could display without scrolling, and I thought, "Snagit!"

Unfortunately it was not the solution. We eventually used snagit and captured three individual images in order to send the order form to the seller. The scrolling capture won't work on a Mac.

I did navigate to Snagit's capture preferences and saw that scrolling was disabled. I clicked the "Help me fix it" button and followed the instructions, but still wasn't able to capture scrolling pages. In fact, the "Scrolling is disabled" message never goes away, so I suppose that it is impossible to actually fix the problem. Apparrently the issue is systemic and can't be fixed. I'd appreciate it if Snagit would just tell me that scrolling capture is not supported, rather than leading me to belive that it can be fixed.