I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?
I'm using Kubuntu 9.10. Partitions get listed in the sidebar when I open the File Manager, but they don't get mounted under /media until I click on the entries. I do not want to use /etc/mtab and mount them under folders I create in /mnt; would prefer if there was a way to mount the partitions without Kubuntu waiting for me to click on the names.
I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
until recently, they did fstab mount quite happily, but now, they don't
the error I get is:
Code: Mountall mount /media/win7  terminated with status 21 My fstab has not changed but here it is: Code: /dev/fd0 /media/floppy0 vfat noauto 0 0 UUID=da252821-a30d-415b-84cb-adca92be5b72 / ext4 defaults 0 1
Oh if I make the windows drive the first avail, then it boots just fine.
I know nothing about linux. But my friend says linux is good. So, I kept a copy of fedora core 10 i386. My fiend has a lot of movies about 100 in his ipod. So, I took it. It contains lot of viruses and I opened the ipod in windows but my windows has malfunctioned due to the virus. So, I have installed the fedora core 10 i386. I have some important information in the windows ntfs partitions. How do i mount those ntfs partitions.
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
But it is not doing what I intended, which was the partition showing up in my Places menu. It also doesn't appear in my /media folder. How to alter the command above so I could have the harddisk open and writable in my Places folder just like my system harddisk?
I'm trying to bind a couple of LVM partitions to directories in the /export directory for NFS hosting. I just want to make it clear that the partitions I'm trying to bind are local LVM partions, the binding is to allow NFS export (they are not networked partitions).
My distro is Ubuntu 10.10 if that makes any difference.
I can bind the partitions perfectly manually using this as an example:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
Are their subtleties with LVM that I do not understand?
Before setting up LVM, I previously had partitions bound in fstab with no issues using regular partitions (for NFS export again).
I purchased a new hard drive, plugged it in, formated it, edited fstab to auto mount it, and though it is mounting the drive, it won't allow me write privileges. I can read the drive, but I need root access to write to it. The drive giving me the issue is sdd1. The others, I have no problems with. I can read and write to those without a hitch.
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
My Laptop has Ubuntu 9.04 and I am using it for the past one year. I have four partitions. Gparted Screen Shot attached. /dev/sda5 was mounted as "Laptop 2" /dev/sda6 was mounted as "Laptop 3"
But from today morning I was not able to access any of the files from my hard disk. When I press the "Computer" Menu Item from the "Places" menu I could access all the files on my hard disk. It shows an error message attached with this thread. The system boots perfectly and work perfectly. "Laptop 2" and "Laptop 3" disappeared.
I searched the net and found ways to mount the Partitions with these following commands. sudo nano /etc/fstab # /etc/fstab: static file system information. # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5) .....
Is there any way I could use "Laptop 2" and "Laptop 3" as my mount points as it was earlier.
1. Physical HDD1, mounted in /media/MYDATA 2. Physical HDD2, mounted in /media/MYDATA/MYMOVIES
This works, and has all my information. Unfortunately I can not use CIFS to get my data, because of a bug with wireless connection and umounting at shutdown. Until yesterday, I have no problem at all, mounting my NFS unit automatically in /media/MYDATA perfectly. But, when I go to /media/MYDATA/MYMOVIES in my laptops, filesystem is empty. I've included /media/MYMOVIES in the exports file (server) and in the fstab (client) and...it worked!!
But...system does not shutdown at all. If I manually try to umount /media/MYDATA the message received is "resource busy". :/ so...I guess this is the problem. If I manually umount /media/MYDATA/MYMOVIES first, laptop shutdown perfectly.
I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.
Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only". ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.
Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:
The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.
Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.
From a Fedora 9 server (I think!) I'm trying to mount an nfs drive from a Mac Server. You see, a couple weeks back this was working fine but now there seems to be a problem. I've tried using the mount command and found the following line in the /etc/fstab doc...
Code: <IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on nfs defaults 0 0 It was commented so I uncommented it, hoping this would be a quick and easy resolution =). Anyway, it didn't work and when I run mount -av the server timesout. So on the Mac Server, I enabled Samba sharing preferences and tried adding this to fstab,
Code: <IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on cifs username=name,password=password 0 0 When I run mount -a it hangs. I guess I'm doing everything totally wrong. I can SSH into the MAC Server and use tar, rsync etc with no problem. But I really need this drive to mount as it once use to. It's been suggested to me that the NFS or networking module on the Linux box might be broken.
I woke up this morning to a non-booting 9.10 computer. After my grub screen disappears, I get the familiar Ubuntu b/w logo in the center of my screen. My hard drive cranks for an abnormally long time and then I get the following error:
I booted into a live CD and opened up GPARTED and my sdb4 (my /home location) partition shows up. I do a check on it and it seems ok.
I opened the Palimpsest Disk Utility to see what it said and it shows sdb4 as Unknown or Unused. I can not mount this drive using GUI methods.
I did some research on the forums looking to recover lost partitions. here is the output from fsck
and the abbreviated output from fdisk -l
This seems ok too.
My next step was to try testdisk. When I ran it, I was able to navigate this partition and apparently see all my files. I then tried to mount the partition manually.
That also worked.
It seems to me that I practically have this thing where I need it without too many worries.
My question is: What is the next step to get this back booting again? I'm afraid of rewriting the partitions in testdisk until I get some feedback on whether this will really solve my problem. Maybe the partition isn't the problem? Is it something else and I've been going down the wrong path?
Code: //192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0 But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with Code: sudo mount -a and it mounts fine with no error.
Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.
Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?
I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?
I have installed a 2TB drive in my dual PIII 866 with 750MB ram. The drive is properly installed and I have configured the drive with 1 partition in RAID1. The array loads fine, but when I add the entry to mount the /dev/md2 /data/repository the following error occurs The filesystem size according to the superblock is 488378000 blocks The physical size of the device is 488377986 blocks Either the superblock or partition table is likely corrupt I have run fsck manually with no errors reported. I have removed the partition and rebuilt the array. The array assembles properly and I can manually mount the /dev/md2, but as soon as I add the entry to the fstab I get dropped to a shell after a reboot. Not sure where to go now?
I have a Windows partition encrypted with TrueCrypt. If I start TrueCrypt (or RealCrypt) I can mount the partition through the GUI. before I encrypted the partition I used to auto-mount it at boot using fstab and it would appear in my places bar in the file managers. Is it possible to auto-mount truecrypt partitions from fstab?
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?