| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 30005 | 2003-02-08 05:31:00 | Mounting a doze partition in Linux. | nz_liam (845) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 119303 | 2003-02-08 05:31:00 | I think i've asked this question a couple of time in the past actually :D:p. What I want to do is mount my NTFS partition in Linux and map it to say /Windows, whats the command line I punch in to do this? Cheers Liam |
nz_liam (845) | ||
| 119304 | 2003-02-08 06:10:00 | Liam, You will have to create a mount point and add an entry to /etc/fstab for the NTFS partition you want to access. Sample entry in /etc/fstab would look something like this: /dev/hdc1 /mnt/winnt ntfs noauto,uid=700,gid=700,umask=007 0 0 You will have to edit this entry for your own use. Don't know what distro you are using, but there should be info in the manpages for the "mount" & command which will explain the mount options available for the NTFS and other filesystems. |
Stumped Badly (348) | ||
| 119305 | 2003-02-08 06:14:00 | Meant to add that if your running Redhat, you may have to download & install the RPM as I don't think it is installed by default. | Stumped Badly (348) | ||
| 119306 | 2003-02-08 07:32:00 | linux-ntfs.sourceforge.net download the RPM for your Kernel version here. Instructions are also on here. This will install the module NTFS and you'll be able to mount drives by: Instructions in installing the rpm is: rpm -ivh <filename>.rpm modprobe ntfs fdisk -ls (to find NTFS partitions) make sure you have a directory to mount to: mkdir /mnt/hda1 (creates a directory in /mnt called hda1... can be called whatever you like e.g. Windows) mount -t ntfs /dev/hda1 /mnt/hda1 (if hda1 is the NTFS drive and hda1 is the directory in /mnt you are mounting it too) then to access it: cd /mnt/hda1 and you'll be browsing your NTFS partition. If you want to create an icon on your desktop you'll have to follow stumped's instructions in editing your /etc/fstab keep it similar to the setup of the drives already present except remove kudzu since this is like an autodetect and it'll remove the NTFS partition because it'll not detect it, which will mean you'll need to re-edit the /etc/fstab file. Also make sure ro is on the end for read-only. |
Kame (312) | ||
| 119307 | 2003-02-08 10:33:00 | Hi everyone, sorry if i didn't say, im running RedHat 8 wile all 1463 modules installed, (chose install everything at setup). Im just reading through the posts now. Cheers Liam |
nz_liam (845) | ||
| 119308 | 2003-02-08 11:19:00 | Well I downloaded the RPM kame suggested, installed it and mounted the partiton, an could browse and see all my files from the command prompt. However because I created the /mnt/hda1 directory in the command prompt as su, the root now owns's the directory, (and only the root has access rights). So I thought, simple fix, and did a chmod 770 /mtn/hda1 at the prompt as su, and it said 'changing permisions of '/mnt/hda1': Read-only file system', however I still can access it as a normal user, and when I browse to the directory in konqueror it still has the padlock siymbol, and of course when I try to open it I get a "you do not have permisions blah blah blah". What did I do wrong?? |
nz_liam (845) | ||
| 119309 | 2003-02-08 12:10:00 | Supposedly chmod -R 777 should give everyone full read/write/execute permission for the entire directory. It seems that by not adding the -R (recursive) chmod only applies to the first directory and nothing below it. | Gorela (901) | ||
| 119310 | 2003-02-08 12:21:00 | That won't work, if you read above chmod 770 /mnt/hda1 didn't work, so 777 wont either, plus I don't want the directory globally readable writable, hence 770 instead of 777. | nz_liam (845) | ||
| 119311 | 2003-02-08 12:47:00 | Okay, it might still be worthwhile doing chmod -R 770 to see if that will actually allow the permition to go lower than the first directory. |
Gorela (901) | ||
| 119312 | 2003-02-08 12:54:00 | Well, um, not really, there isint any point I mean, cause its not working, something else is stuffing it up . Off to get some sleep now . Cheers Liam |
nz_liam (845) | ||
| 1 2 3 | |||||