Archive for February, 2010

How to mount a USB External NTFS Hard Drive that won’t mount in Ubuntu

So I was having a problem with my external USB hard drive lately.  The USB connectors on this LG laptop are a bit shady so things get disconnected if you bump them and this would happen with my hard drive.. The problem being that if the Hard drive was disconnected like this and not properlyy unmounted that it wouldn’t come back up 50% of the time when I plugged it back in.

It would show up when I run fdisk -l and in dmesg but when I try to mount the drive it would return with the error ‘special device does not exist’.  The only way I could get it back online was to reboot the machine, until now! :)

I tried installed usbmount and pmount but neither fixed the problem.

After some research I discovered the MAKEDEV command.  So what I tried was to run MAKEDEV from inside of /dev/ and it would give me an error: “.udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.”

So I went on and looked into /dev/.udev/ and found a /failed/ directory which had a blocked file in there referring to the hard drive that wasn’t mounting.  For some reason I ran the MAKEDEV [device] command here and VIOLA, it worked.  Apparently it just needs to be run in a directory that doesn’t have a .udev subdirectory in it

So for me the command was MAKEDEV /dev/sdd and it created sdd1 through sdd10.  Not sure what the other ones are for but I was able to mount sdd1 properly and access my hard drive.  I mean this is a pretty backwards work around but I can access my hard drive without rebooting, so I’m good to go!

So to sum it up, if you have a device that isn’t mounting properly but you can see the device with #sudo fdisk -l then:

  1. try creating a temporary directory for your new mount points
  2. Then run MAKEDEV [device] inside of that directory.  So if the partition your trying to mount is say /dev/sda1 then you’ll want to run MAKEDEV /dev/sda and hopefully that gives you access without needing to reboot.

Tags: , , , , , , , , ,

Switching from Evolution to Thunderbird – importing the works

So today was the last straw with Evolution. It is just too buggy and too unstable of an email platform for me to use anymore so I began the dreaded migration of 1.1 GB of emails to a different client. Thanks to the awesome walkthrough below it turned out to be a lot less painful than I had imagined.

If you are using Evolution and are getting fed up of the little bugs and instabilities here and there then check out the article below on how to switch to Thunderbird:

http://maketecheasier.com/how-to-migrate-from-evolution-to-thunderbird-in-ubuntu-intrepid/2008/12/04

A quick highlight :

Migrate local mail from Evolution

First, we will migrate the Evolution mails that are stored locally in your hard disk.

Open up two Nautilus windows (if you like, you can open two tabs instead of two windows). Press Ctrl + H to reveal the hidden folders. In one window, navigate to the .mozilla-thunderbird folder. You should see a folder with name similar to i7bqvbzk.default. Click on that folder, followed by Mail and Local Folders. You should see some files like Inbox, Trash, Unsent Message etc.

thunderbird-folder

In the second window, navigate to .evolution -> mail -> local folder. Similarly, you will find files such as Inbox, Outbox, Sent, Trash etc.

evolution-folder

Now copy the five files Inbox, Outbox, Drafts, Templates, Sent from the Evolution folder to the Thunderbird folder. If it prompts you whether to replace the existing files, click Replace All.

If you have used any subfolders in your Evolution, you should see a folder with a .sbd extension (such as #evolution.sbd). In your Thunderbird folder, create a similar folder with the same name. Back to your Evolution folder, copy and paste all the files in the subfolder that don’t have a file extension to the Thunderbird subfolder.

That’s it. Restart your Thunderbird. You should see all your Evolution mails imported over.

Tags: , , , , , , , , ,

Page optimized by WP Minify WordPress Plugin