Monday, September 30, 2013

Quick Note on How to enable ExFAT partition support in Ubuntu.

I recently had to reformat my USB 3 drive to ExFAT for accessing it properly on Mac for Backup. Everything was fine as long as I used it on Mac and Windows.  Once I have lost access to Mac and shifted to my favorite Ubuntu machine I was surprised by having similar issue that I had on Mac but with ExFAT this time. After searching a bit I found that ExFAT partition type isn't supported out-of-box. To enable this one need to add the support separately.

Here is what is needed to enable ExFAT support.

$sudo -s
$apt-add-repository ppa:relan/exfat
$apt-get update
$apt-get install fuse-exfat

This will install the ExFat support and the drive got mounted automatically.

In case you want to mount the drive manually you can do something like:

mount -t exfat /dev/sdb1 /media/exfatdir



Thursday, July 18, 2013

Brought back power dead mac with following tip from Apple support.

I got a sudden power dead laptop overnight when left in sleep mode as usual. I couldn't get it start by any means and power connector was fine, battery was full etc.
I was pretty sure it was some hardware failure and was about to search Apple Service Centre however, while looking for address online found a toll free Apple support number and thought of giving a call to them.
To my surprise the call was picked up quickly and upon providing serial number and doing some rudimentary checks person on phone quickly asked me try 2 things first didn't work but second work like charm and it came back to life.  a 4-5 min call saved me a 2 hour trip to Apple Service centre and above all all this time I didn't have to hear the recorded sentences with unnecessary "Thank you", "Sorry", "Bare with me" and most importantly I wasn't made to feel like a dumb terminal on the other end.

Anyhow, apart from Rants here is the main purpose of the post to note down the tips.

Tip 1 :
Press   cmd+option+P+R and while pressed use Power  button to switch on Mac which in my case didn't work.

Tip 2 :
Press Right ctrl+options+space and then power button at same time, This worked in my case and my Mac came back on and started properly.

Upon asking what was the issue, I was told it was due to being a full memory and a software bug in OS that may cause it sometimes to appear power dead.  I didn't bother exploring technical details at that stage since I had other things to worry about.

I hope this helps me in future and some one else on the net to try it out first in such case.

Tuesday, March 26, 2013

Switching ubuntu boot from graphics to text mode.

This one has always puzzled me and make me go round and round few times now on all my new VM's, so I decided to note down what I did this time.

To Change the Graphic boot to Text mode on startup all you need to do is modify your /etc/init/.cfg file.

In my case I was trying to do this with gdm.cfg based on many google results however, I missed a crucial point that I had selected another Display Manager lightdm. After trying few things I finally realized the mistake. So here is the snippet from /etc/init/lightdm.cfg (This should be same for gdm as well in gdm.cfg):
start on ((filesystem
           and runlevel [!026]
           and started dbus
           and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                or stopped udev-fallback-graphics))
          or runlevel PREVLEVEL=S)

stop on runlevel [016]
You can change the runlevel in
stop on runlevel [016]
but I didn't find it necessary, just changing it in start on section did the job.