General :: Automatically Mount Partitions Under /media Instead Of Clicking Without Fstab
Mar 29, 2010
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.
View 5 Replies
ADVERTISEMENT
Feb 10, 2010
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?
View 14 Replies
View Related
Oct 10, 2010
Ubuntu is automatically mounting all windows partitions. I wanted to mount only one common partition i,e NTFS storage partition to mount and used for both OSs i,e windows and Ubuntu. I unticked all partitions in NTFS configuration tools but in vain.
View 14 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Jun 29, 2010
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).
View 5 Replies
View Related
Apr 13, 2011
On a production server, I want an NFS share to mount automatically. What is the best practice to use?
[Code]...
My understanding is that it is always best practice to use IP addresses in the fstab because the server will fail to mount the share upon booting if DNS is unavailable. I've also been told that if one MUST use names in the fstab, there should be a hosts file entry for it so that the server doesn't depend on DNS on boot.
View 7 Replies
View Related
Jan 14, 2011
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?
View 2 Replies
View Related
Jan 9, 2010
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
View 9 Replies
View Related
May 15, 2010
With a 1Tb USB drive plugged in, we'll call it "TheDrive", I boot my machine and "TheDrive" is mounted automatically. The icon is on the desk-top. "TheDrive" mounts to /media/TheDrive. Everything is fine. But, I would like to automatically mount the drive in my file tree at the location /mnt/TheDrive. I would not like to have the drive automatically mounted to /media/ and appear on the desktop. I know that this requires the use of fstab; but, I do not know what to add to this file.
[Code]...
View 14 Replies
View Related
Dec 10, 2010
I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?
View 2 Replies
View Related
Jun 23, 2011
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?
View 6 Replies
View Related
Feb 6, 2010
I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" part in /etc/fstab
noatime,nobarrier,logbsize=256k,logbufs=8,biosize=16
I receive the following error at boot: INVALID log iosize 4 [not 12-30] << No one used iosize 4... what does it mean? it is connected to the options..but which one? (At the minute I'm usig it with: noatime,nobarrier).
View 1 Replies
View Related
Jul 19, 2011
I am writing this software that creates virtual block device nodes almost like loop does. I need to allow non-superusers to mount and umount filesystems from these devices. I don't know the names of the block device nodes beforehand so i can't use fstab entries to add "user" or "owner" flags there.
Currently i solve this by providing a small suid helper tool that verifies that this is indeed "my" block device the user is trying to mount and then just call /sbin/mount or /sbin/umount to do the job. This is definitely better than setting a suid bit for the whole program but not really perfect.
View 1 Replies
View Related
Nov 3, 2010
After having solved my raid5 creation problems, I'm running into a new one: the RAID is just impossible to mount through fstab. I get a wonderful "The disk drive for /dev/md0 is not ready yet or not present.
Continue to wait or press S to skip mounting or M for mount recovery."
Once the system has booted, I can perfectly run a mount /dev/md0 /media/raid and mount it manually.
I've already tried mdadm.conf with UUIDs, with device names, tried several options in fstab, xfs and ext4 filesystems, nothing to do, it won't mount.
All this is running under Ubuntu 10.04 server, kernel: 2.6.32-25 server, mdadm 3.1.4 (from a Debian sid)
Here's my mdadm.conf:
Code:
The entry in my fstab:
Code:
And just for info, my /proc/mdstat:
Code:
View 8 Replies
View Related
Feb 11, 2010
I've just started playing around with a Sheevaplug running a very light version of Ubuntu. I'm planning to run it with an SD card to store all my server data and a USB stick to regularly back up some of it.My problem is that the 2 partitions on my SD card mount fine at boot, but my USB stick's single partition does not. Could it be that the mounts specified in fstab are done before my USB device has finished getting alive? Mounting the USB stick manually works perfectly well.
fstab
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda1 /media/usb1 ext2 defaults 0 0
/dev/mmcblk0p1 /media/sd1 ext2 defaults 0 0
/dev/mmcblk0p2 /media/sd2 ext2 defaults 0 0
dmesg after boot
Code:
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver.....
In the dmesg
Code:
usb-storage: device scan complete
comes after
Code:
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
which makes me think the USB stick has missed the fstab train the 2 SD card partitions are on. And changing the order of the entries in fstab does not make any difference either.
I'm not planning to reboot my Sheevaplug every 5 minutes, but I like things to be nice and clean.
View 1 Replies
View Related
Dec 19, 2009
I can't remember if things with mounting vista/ntfs partitions has changed, but I cannot seem to get my partition mounted as a read-write partition.
I tried this in fstab:
And it made it read-only..
So i tried this:
And it wouldn't mount it.
Quote:
Failed to mount '/dev/sda1': Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line:
Or add the option to the relevant row in the /etc/fstab file:/dev/sda1 /media/vista ntfs-3g force 0 0
View 4 Replies
View Related
Feb 23, 2010
I'm trying to get fstab to auto-mount a removable device when its plugged in? Is this possible and if not what is the easiest way to auto-mount a removable device?
View 3 Replies
View Related
Aug 12, 2011
I've accidentaly corrupted my fstab and cut the ends of lines. There are now disk uid, mount point, filesystem for root and swap, but the mount parameters are missing.The system boots as readonly. What are default fstab mount parameters in Debian for ext4 root and swap?
View 1 Replies
View Related
Jul 10, 2010
I'm running XBMC media center which is built on Ubuntu and I'm trying to mount a network share, but I can't seem to automate it. If I manually run:
Code:
mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails
The mount is created and everything works fine. But obviously the mount eill be lost on the next boot. A few months back, when I was running a previous version of XBMC and first instructed on how to do this, I was told to put that command in /etc/init.d/rc.local so the mount would automatically be created at boot. I did and it worked. The other day I upgraded to a new XBMC build (which is built on the newer Lucid Ubuntu) and while the same command creates the mount, putting it in /etc/init.d/rc.local does not create it on boot. Someone suggested the fstab was the better place to create the mount. So I inserted the following in /etc/fstab:
Code:
//192.168.1.20/disk7/XBMC_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails cifs file_mode=0777,dir_mode=0777 0 0
That doesn't work either. What am I doing wrong and how can I get this mount auto-created on boot?
View 4 Replies
View Related
Nov 19, 2009
Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip
Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..
//serverip/sharename /net smbfs username=x,password=x
After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.
View 3 Replies
View Related
Mar 19, 2010
How to automatically create windows partitions(fat/ntfs) through Linux. I have all the required information for partitions to be created.
For example:
Size
Flag
Partition Type
etc.
View 2 Replies
View Related
Jan 25, 2011
I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.
View 9 Replies
View Related
Nov 9, 2010
I tried to mount my CD Rom drive and got this response: "mount: can't find cdrom in /etc/fstab or /etc/mtab"
I did see the CD Rom drive briefly after I upgraded from 10.04 to 10.10 but I couldn't access the drive and when I logged back in.
View 5 Replies
View Related
Apr 27, 2010
I have mounted window shared partition to my RHEL 5.4 server through following command
Quote:
But I'm unable to mount the same via fstab.172.20.x.x is my windows server download is my shared folder name.
Suggest me correct fstab entries
My current fstab entry is as follows
Quote:
View 5 Replies
View Related
Feb 6, 2010
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
View 3 Replies
View Related
Jun 4, 2010
I have dual boot: Ubuntu 10.04 and Opensuse 11.2.Howto mount Read Only ext4 partition from Opensuse in /etc/fstab under Ubuntu?
View 3 Replies
View Related
Mar 15, 2010
I'm dual booting with Windows 7 and would like to have my windows 7 user folder mount when I boot.
After some looking around I edited /etc/fstab to add the following line:
This works. But it mounts the windows partition from the root level. I'd like to just mount C:UsersFHSM (/Users/FSHM) to /mnt/windows.
I'm trying to get it so that when I click on the windows drive I get my windows user folder instead of having to click through from C: to get to it.
I'm the only user on this system but if I created a second windows user would my home folder mount for that person too or does setting the user ID prevent that from happening?
View 2 Replies
View Related
Jan 15, 2010
I had automated some tedious commands in the terminal by writing them in a text file and placing an icon on the panel. By clicking the icon the commands ran in the terminal automatically. I cant for the life of me remember the icon command I used to get this to work.
View 3 Replies
View Related
Jan 4, 2011
I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection.I would like to be able to swap drives on the ESATA connection and have all users be able to read and write to these drives.I have created the directory /archive/ where I would like the drive(s) to mount.The drives are all formatted Fat 32 - but in the future I may use HFS for formatting.When I used the command (as root):mount /dev/sdc1 /archivethe drive was mounted (but read only)What can I use in my /etc/fstab file that will allow drives to be mounted and unmounted by all users on the system? (both reading and writing)Also, will I be able to mount and unmount these drives without shutting down? or will I need to reboot every time I want to change drives?
View 2 Replies
View Related
Feb 18, 2011
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:
Code:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
Code:
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).
my fstab:
Code:
View 3 Replies
View Related