3 newbie questions
Hi,im using ubuntu 5.04 with xfce and i have have 3 questions:
1. I have USB flash drive and when i am with GNOME it just appear on the desktop,but when im with xfce+nautilus it doesnt appear.Do u know how to make xfce to mount it automaticly? 2. I had run nautilus under xfce and saved the session,but now i want to kill it.Could u tell me the command please? 3.I would like to see my ntfs partition uder ubuntu.I heard something aboout /etc/fstab but i dont know what exactly to put in it.would u tell me please? Thanks a lot!!! |
1. I don't know how canone automatically mount a USB while in xfce.
2. pkill nautilus 3. Find the device name using fdisk fdisk /dev/hda enter 'p' (without quotes) and press enter. That would print the partition table. Once you know the name of your NTFS partition then you can make an entry in the /etc/fstab. Before that you need to create a mount point where your partition will be mounted. So, mkdir /mnt/ntfs Say, your NTFS partition is /dev/hda1 then you can should enter the following in the /etc/fstab /dev/hda1 /mnt/ntfs ntfs defaults 1 0 Save the file and exit. Then do, mount -a and your NTFS partition should be mounted. Note that you must have NTFS filesystem support in the kernel otherwise you won't be able to mount an NTFS partition. |
Re: 3 newbie questions
Quote:
Quote:
Quote:
|
I use xfce as my wm/desktop. Here is how I got my usb stick working:
1. (as root, so you'll have to use sudo) mkdir /mnt/key. 2. I added the following line to my /etc/fstab file. Again, you'll have to do as root, (sudo gedit /etc/fstab) /dev/sda1 /mnt/key vfat noauto,user,rw 0 0 3. Then, in xffm, under the fstab widget, you'll see /mnt/key, plug in your usb stick, right click on /mnt/key and select "mount". Your files will then show up. After you're done, you'll have to right click on /mnt/key and select unmount. Anytime you use it in the future, simply repeat this last step. This is the manual way to do things, though. I prefer to manually mount and unmount my media, so it works for me. You might want to check out ivman . For something that will work automatically. I don't know if it is in the ubuntu repositories, but it is worth a look. |
Thanks a lot!Ive done everything u told me.My usb flash memory works i killed nautilus.Ive got one more problem with the ntfs partition.I have /mnt/ntfs and i can see all my win files but onluy when i am root.i tried to change the permissions but it tells me that this is read only file and is inpossible.have u got any ideas?
Thanks again |
Quote:
To enble read permissions for all users edit line that corresponds to the ntfs partition and make it look like this. Suppose your ntfs partition is /dev/hda1 , the corresponding entry in fstab would be : Code:
Writing to ntfs partitions still lacks some support. There are drivers available that can do this but it'll take sometime untill it becomes more common. Here, take a look at this . It has almost any information you would want concerning linux + ntfs. Hope this helps. |
i wrote everything in /etc/fstab and my permissions are still denied.I ust dont know.Are there some other way s to mount it?
|
Here is a copy of my line in /etc/fstab to automount my Windows partiton...
I am using FAT32, i started with NTFS in RH9, but I moved it to FAT32 because I hate not being able to write to it both ways when I moved to FC4... /dev/hda[your partiton] /mnt/[your directory] auto uid=[your UID],umask=0222 0 0 This is how mine mounts using this entry in fstab: # ls -lt dr-xr-xr-x 10 patrick root 4096 Dec 31 1969 data It is giving me read and execute permissions to that directory which is all that I am aware that can be done with NTFS... I also had to add NTFS support to the kernel to do so, i got that from here: http://linux-ntfs.sourceforge.net/ I have yet to adjust the permissions to write for FAT, but thanks for the reminder! |
|
yes i have seen it and now everything is working!Thank u all for the help
|
All times are GMT -5. The time now is 12:16 PM. |