A Kubuntu Forum user who wishes to remain anonymous, in order to maintain maximum separation between his reputation and certain OS's that come from Redmond, Washington, encouraged me to prepare a demonstration of how to use a NTFS-formatted drive in Kubuntu. I appreciate the lesson, and so I will share it with the unwashed masses who occasionally need to do such things.
First problem -- I don't own a USB hard drive. So, I took a little 2GB USB thumb drive, and figured out how to format it as NTFS. It took a couple of Google hits to master that trick, but 'twas done.
With a USB drive formatted as NTFS in hand, the Kubuntu user has only 2 real obstacles in the path of using it to read and write files:
1. You need to install the package ntfs-3g.
2. You need to become a member of the "fuse" group. I will spare you the story of the little nightmare that happened to me when I tried to do that using the "usermod" command. Us CLI-impaired folks would be better advised to open Kmenu>System Settings>User Management, and after selecting "Administrator" mode, with the user highlighted, choose "Modify", then click the "Select" button beside "secondary groups", scroll down to the "fuse" group, and add it to the user.
OK, now you are almost ready for action! Insert/attach your USB drive into the usb bus, give it a second or two to be recognized, and then open your KMenu>System Settings>Advanced>Disks and Filesystems menu to learn what device ID has been assigned to the drive. You have to know it. Mine was assigned /dev/sde1. More guidance on how to discover the ID of the attached drive is here.
Make a mount point. My partner in crime suggested "/media/mickey", so that's what I did:
Now, all that is left is to mount our NTFS device, using the ntfs-3g package. Open the konsole, and issue a command like this:
You're done!
In Konqueror, you will find your device in the "Media" menu, suitably named "Mickey". In the attached screenshot, you will see two images on my USB drive. One is a standard Windows XP sample image, that I saved there after I formatted it as NTFS with Win XP. The other is one that I pasted in from Kubuntu to test it. The screenshot is from Konqueror in Kubuntu Feisty.
I hope this is helpful. 8)
P.S. Do not ever forget that ntfs is a journalling file system, and drives running such filesystems need to be unmounted (i.e. "ejected" or "safely removed") before being yanked out of the USB connector, if you don't want data corruption.
First problem -- I don't own a USB hard drive. So, I took a little 2GB USB thumb drive, and figured out how to format it as NTFS. It took a couple of Google hits to master that trick, but 'twas done.
With a USB drive formatted as NTFS in hand, the Kubuntu user has only 2 real obstacles in the path of using it to read and write files:
1. You need to install the package ntfs-3g.
Code:
sudo apt-get install ntfs-3g
OK, now you are almost ready for action! Insert/attach your USB drive into the usb bus, give it a second or two to be recognized, and then open your KMenu>System Settings>Advanced>Disks and Filesystems menu to learn what device ID has been assigned to the drive. You have to know it. Mine was assigned /dev/sde1. More guidance on how to discover the ID of the attached drive is here.
Make a mount point. My partner in crime suggested "/media/mickey", so that's what I did:
Code:
sudo mkdir /media/mickey
Code:
sudo mount -t ntfs-3g /dev/sde1 /media/mickey
In Konqueror, you will find your device in the "Media" menu, suitably named "Mickey". In the attached screenshot, you will see two images on my USB drive. One is a standard Windows XP sample image, that I saved there after I formatted it as NTFS with Win XP. The other is one that I pasted in from Kubuntu to test it. The screenshot is from Konqueror in Kubuntu Feisty.
I hope this is helpful. 8)
P.S. Do not ever forget that ntfs is a journalling file system, and drives running such filesystems need to be unmounted (i.e. "ejected" or "safely removed") before being yanked out of the USB connector, if you don't want data corruption.
Comment