How to read NTFS partitions in 5 minutes or less - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html) +---- Thread: How to read NTFS partitions in 5 minutes or less (/thread-4069.html) |
How to read NTFS partitions in 5 minutes or less - anyweb - 2003-12-11 How to enable NTFS read support in Red Hat Linux 8/9/Fedora Core Release 1/2/3. NTFS partitions can be read and even written to in Linux, but by default in Red Hat, it's not included for legal reasons. I do not recommend write support unless you don't care about your data. Windows NT/2000/XP/2k3 Server all use NTFS so using this howto will allow you to mount shares on a dual boot system. Quote:To installl NTFS read support in Red Hat 9 (or 8.0) or Fedora Core release 1/2/3 do this:- First go here (click on the link) To find out what your kernel version is open a console and login as su - then type Code: uname -a The console should display something like this Quote:root@c-1daa70d5 root]# uname -a 2.4.20-18.9 That's your kernel version. If you have a Pentium 4 then download the i686 version, if its a Pentium 3, go for I586 and so on. Once downloaded do as follows: Login as root and type Code: rpm -ivh kernel-ntfs-version.cpu.rpm Obviously, in the example above, kernel-ntfs-version.cpu.rpm must match your downloaded rpm otherwise it will not work. Look at how it appears below when i installed the rpm. Quote:[root@c-1daa70d5 rpms]# rpm -ivh kernel-ntfs-2.4.20-9.i686.rpm Preparing...Thats it, now you have read access to NTFS partitions, now its time to mount a those partitions. Open a console and as root type Code: fdisk -l to list the partitions on your linux/windows system. the output should look something like this:- Quote:Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes The fdisk -l command (that's as lowercase L as in list) we did above tells us that Windows XP in this case, is on /dev/hda5. We now have enough info to start mounting it. Now you must create a directory that will hold the windows XP 'mount point'. To do that type Code: mkdir /home/anyweb/winXP or similar. It will be read/write as root but thats sufficient for this TIP. Once you have created the directory, now is time to mount it, so as root type the following:- Code: mount -t ntfs /dev/hda5 /home/anyweb/winXP The two important parts above are /dev/hda5 which we identified with fdisk -l and /home/anyweb/winXP which is simply a directory that we created to 'hold' the winXP mount. to let NON root users have access to your NTFS mnt, add a line similar to the following (change to suit your mount setup) to /etc/fstab Code: /dev/hda5 /home/anyweb/winXP ntfs ro,umask=000 0 0 once done, lets 'submit' those changes to /etc/fstab Code: mount -a cheers anyweb How to read NTFS partitions in 5 minutes or less - milkme - 2004-04-01 I was able to mount the NTFS drive just fine. But I am unable to access it under my profile. I have to be root and I can not change the permissions for some reason even if I log in as root. Did I miss a step or do something wrong? o_O How to read NTFS partitions in 5 minutes or less - warlocke - 2004-06-02 By default, NTFS is going to be read only. So you can't really change permissions on something that's read only. But even if you mount it with write support, NTFS doesn't "understand" linux permissions. How to read NTFS partitions in 5 minutes or less - Poldi-1 - 2004-10-29 Hi does this work for SuSe 9.1, too? How to read NTFS partitions in 5 minutes or less - anyweb - 2004-10-29 no need \i have suse 9.1 here and it already reads ntfs the professional edition that is. are you using suse 9.1 pro ? cheers anyweb How to read NTFS partitions in 5 minutes or less - Poldi-1 - 2004-10-29 I am planning to install it the next days and wanted to make sure i can take over my data from ntfs partitions. Of course i will change to a linux filesystem then... How to read NTFS partitions in 5 minutes or less - Konkko - 2006-04-01 Hi! I've been trying to get access to my USB hard driver on my non-root user for few hours and still no luck. I've tryed to change the fstab settings and it didn't work so I followed this tutorial and still nothing. :( Some info: Fedora Core 4 Kernel versio: Quote:2.6.15-1.1833_FC4Hard drive which I've been trying to access: Quote:Device Boot Start End Blocks Id System/dev/sda1 1 20023 160834716 7 HPFS/NTFSMount dir: /media/Paikallinen_levy Fstab: Quote:/dev/sda1 /media/Paikallinen_levy ntfs ro,umask=000 0 0 How to read NTFS partitions in 5 minutes or less - xDamox - 2006-04-02 hi, try make your umask as the following 022 so your fstab should look like: Code: /dev/sda1 /media/Paikallinen_levy ntfs ro,umask=022 0 0 How to read NTFS partitions in 5 minutes or less - Konkko - 2006-04-02 Quote:hi, Nope still it keeps blocking me :/ I checked the access things with ls -l and this is what i got: Code: [root@localhost media]# ls -l How to read NTFS partitions in 5 minutes or less - znx - 2006-04-02 Quote:Hi! Hello :) Quote:I've been trying to get access to my USB hard driver on my non-root user for few hours and still no luck. I've tryed to change the fstab settings and it didn't work so I followed this tutorial and still nothing. :( Non-root mount.. to do this you need to add an entry into your fstab.. Code: /dev/DEVICE /mnt/POINT FSTYPE OPTIONS,user 0 0 So in your example: Code: /dev/sda1 /media/Paikallinen_levy ntfs ro,umask=000,user 0 0 Adding "user" will allow a user to mount/umount the drive. :) |