Dec 30, 2008

Mount NTFS / FAT32 Windows Drive In Ubuntu

Recently I got my ubuntu Cd’s shipped to my home place, I was so curious to try ubuntu desktop edition which can be easily installed and configured with dual boot on my hp tx1000 laptop which had vista previously installed. After installation Ubuntu easily integrated and add a new entry with in the vista bootloader.

But the most disappointing thing I noticed in ubuntu is that I was not able to access the songs and other files which were there in the windows drive from ubuntu.

So, if you are facing the same problem don’t worry as I have the solution for you, Lets see how I solved the problem and mounted the windows ntfs and fat32 drive in ubuntu.

1. Open terminal in ubuntu

2. Type the following command

sudo /bin/bash

Note: Now type the password of the root user in ubuntu

3. Now, type the following command

mkdir /media/windisk

4. Now, you need to force mount the ntfs drive of
windows by typing the following command

For Mounting NTFS Drive, type the following command

mount -t ntfs-3g /dev/sda1 /media/windisk -o force

For Mounting FAT32 Drive, type the following command

mount -t vfat -o umask=000 /dev/sda1 /media/disk

You can change the parameter in the above command
/dev/sda1 to change the windows drive to mount,
In order to get the listing of the windows drives
type the following command

fdisk -l

5. Now, to access all the windows files browse to
computer and open file system

Open Filesystem, browse to media/windisk to see all
the contents of the drive you mounted.

Note: Make sure to close the terminal after you are
done with mounting your windows partitions as the
terminal is running as super user so may accidently
run some commands which may harm you.

Dec 16, 2008

How to Disable Autoplay of Audio CDs and USB Drives

I find it very annoying when I go home from work and
plug my laptop into my external hard drive… The autoplay
window always pops up and asks me what I want to do with
the files, which may be fine the first time, but
definitely isn't after a year of that.

To get to the configuration screen for this setting,
go to Start Menu \ Run and type in:

gpedit.msc

You will see the Group Policy window.
You should select Administrative Templates \ System in the tree view:

You will see an item in the right side pane called "Turn off Autoplay"

Double click the item, and set the radio button to Enabled,
and change the "Turn off Autoplay on" to All Drives.

Now you should be safe from the autoplay monster.