Re: mount ext ntfs drive

Jim Tittsler <[email protected]> Tue, 23 Feb 2010 16:30:35 +1300
Newsgroups gmane.org.user-groups.linux.hawkes-bay
Message-ID <[email protected]>
On Tue, Feb 23, 2010 at 05:36, jon zendatta
<[email protected]> wrote:
> I have one box with dual partition, XP & Ubuntu. I wish to mount an external
> hard drive that also is ntfs.  I installed ntfs-config, but could only see
> the internal partition(which i don't want to see).
> So I'm looking at ntfs manual configuration!  What would the <partition> &
> <mount point> be of external hard drive. eg
> /dev/<partition> /media/<mount point> ntfs-3g defaults,locale=en_NZ.utf8 0 0

You can find the device by doing 'sudo tail -f /var/log/messages' when
you plug in the drive (or 'sudo dmesg' after you've plugged it in).
If, for example that shows you the drive is 'sdb', you can list the
partitions on it with 'sudo fdisk -l /dev/sdb'.  (If that doesn't list
any partitions, the drive probably wasn't partitioned which is common
with memory sticks.) [1]

The mount point can be whatever you like.  mkdir a directory and mount
the external partition (or drive) on it.

Jim

[1] And if you want the drive to always turn up as the same device,
regardless of the order you plug/unplug other drives, you can
investigate writing a udev rule to associate a physical device with a
particular logical device.