Ubuntu Installation :: Mounting Removable Disk On Startup Automatically - Fstab
Jul 4, 2010
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
View 2 Replies
ADVERTISEMENT
May 26, 2009
I want the following behavior in kubuntu 9.04 when I plug a device (USB stick or CD disk):
1. It should be mounted automatically for me. Now it isn't, though it appears in fdisk -l output: Code: Disk /dev/sdd: 8006 MB, 8006926336 bytes
16 heads, 32 sectors/track, 30544 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x9b12d290
Device Boot Start End Blocks Id System
/dev/sdd1 * 16 30544 7815232 b W95 FAT32 and if I mount it manually, all goes OK
2. If I mount manually my CD disk and then press the eject button on my drive nothing happens until I manually unmount the drive. But I want it to open immediately
All this worked for me in kubuntu 8.10, and broke with the upgrade.
My fstab entries Code: /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sdc1 /media/usb vfat noexec,codepage=866,utf8,nosuid,nodev,quiet,uid=1000,gid=1000,umask=077,user 0 0
View 9 Replies
View Related
Apr 29, 2010
I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.
Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.
View 9 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
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Apr 25, 2010
I thought, that "Removable devices" module in KDE system settings supposed to automount removable devices. But when any removable media inserted, absolutely nothing happens.
View 6 Replies
View Related
Sep 29, 2009
I just started using openSUSE 11.1 with xfce and my problem is that I cannot mount my external USBs, I get the following message:
org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result).
It seems hal does not give me permission to do this. Am I able to mount using the command line? If so, how?
View 14 Replies
View Related
Jul 16, 2009
I want to disable automounting of removable media such as anything on USB, memory cards, and even eSATA. I do want the device node to be set up, but that's it.
View 3 Replies
View Related
Apr 20, 2011
I was installing last night some applications , then i forgot to plugin my laptop so suddenly it turned off , anyways today i turned it on , while booting it gave me this error : "error where found when mounting the disk file /"so i press I to ignore , and it works , but now how can i fix this error?
View 1 Replies
View Related
May 12, 2010
I use Ubuntu 10.04, and whenever I insert media into a removable media drive, it does not come up on my desktop automatically. I need to go to Computer, then to the drive. It then appears on my desktop. Is there any way to make the device automatically appear? This problem occurs for any removable media. I am using Ubuntu 10.04.
View 4 Replies
View Related
Dec 21, 2010
Is it possible to remove the "flush" flag when mounting removable disks in KDE4 without recompiling KDE4? Can it be done in some config file(s)? Thanks!
View 5 Replies
View Related
Aug 6, 2010
so that short description doesn't cut the mustard. Let me start by describing what I had working in RHEL4, so you know the requirements. There is a group here at my job that does a lot of data transfer to external USB drives. I leveraged fstab-sync (which we normally turn off at my work) and created a FDI policy file to search on the drives' HAL descriptors, set the mount options, and define the mount point by name (each drive is uniquely named).
The result of all this is that when the user plugged in a drive, it mounted in /media automatically, on a unique path, and with permissions so that every user could read/write to it. SO now we're upgrading to RHEL5, and fstab-sync doesn't exist any more. Instead there's gnome-mount (did I mention we use Gnome?) and I can't figure out how to get the same functionality working.
View 3 Replies
View Related
Jun 19, 2010
yesterday I did an upgrade from 9.10 to 10.04 and this time it was a mixed experience, most thing worked, but some things like gdm, sound and other setting need(ed) corrections to work again (as in 9.10).In 9.10 I setup my system so that the second partition (data) was only manually mounted after asking for my password.
After updating 10.04 I asking me at every bootup whether I want to manually mount or skip the mounting. And when I manually mount the partition I don't need any password anymore.Why did the upgrade change my setting?Not being an linux-expert, having not documented how I have done the previous setup and being unlucky with google, I could use some pointers in the right direction.Even if I sound not so happy at the moment I really appreciate the good work that went into ubuntu. After setting up my system after each new installation or upgrade I enjoyed a carefree time with ubuntu (where I forget everything I need to setup my system because it just works as it should).
View 4 Replies
View Related
Jan 9, 2010
At work I use Ubuntu and one nice thing about it is that it creates mount points for removable drives automatically.
In Slackware I can set up XFCE so that it mounts drives when they are plugged in, but only if they're already specified in the fstab (which means I must have used them and set them up in advance).
This is becoming a problem now that removable usb drives of all sorts are so common.
View 2 Replies
View Related
May 26, 2010
i using policy kit to restrict removable mounting to prompt for root password, but on 11.2, I am unable to do so.i read out, ver 11.2 not longer using hal and policykit, rather sth like freedesktop.org policy.
View 9 Replies
View Related
Jun 28, 2010
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
View 9 Replies
View Related
Jun 30, 2010
I`ve got a laptop with Lucid Lynx. After I tried to connect a smartphone to it, my permissions for all removable media (usb flash, dvd-rom, sd-cards) have somehow switched to read-only. When I use sudo rm -rf to delete files, everything works, but when I try to write something to the drive, all the files are skipped.
View 2 Replies
View Related
May 5, 2010
I'm puzzled as to why this fstab isn't working:
Code:
# /etc/fstab: static file system information.
#
[code]...
View 3 Replies
View Related
Sep 29, 2010
I recently added myself a harddisk with one big ext4 partition on it. I tried to add it to my fstab file like so:
Code:
UUID=c41b529d-77ee-427c-82b3-dff16f2123a2 /media ext4 rw,user,noexec 0 2
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?
View 6 Replies
View Related
Jul 14, 2011
Just the last day or so, I've noticed a long pause when I boot my laptop, with lots of disk activity. dmesg says:
[Code]...
Why would there be a 15-second pause (during which the disk is slammed) between mounting root and mounting swap? During this time I see nothing but a blank purple screen, there are no cycling dots or text scroll. Is this normal and I'm just freaking out over nothing because there's no indicator of progress? GRUB default boot options: quiet splash nomodeset video=uvesafb:mode_option=1920x1200-24,mtrr=3,scroll=ywrap vt.handoff=7
View 9 Replies
View Related
Jul 5, 2011
Recently I had installed "Storage Device Manager", since because my hard drive partitions were not mounted correctly during installation.
I own to hard disk "sda" 120 GB & "sdb" 1000 GB , since during boot time i had mounted the "sda" having 3 partitions of windows on locations "/partion_name 1, 2, & 3" at root, and "sdb" was not mounted during instalation.
After installation I had added "sdb" with my system and was working fine.
But "sba" was mounted at "/partion_name 1, 2, & 3", But I wanted to change this type of partion what "sdb" i.e it should prompt me for the password when I use to mount it, So I tried to change the mount type for the "sba" But wasn't able to do this beacause of error "Disk is been used by other process".
Now what i require is to mount "sda" partitions such as It may prompt for password when I try to mount and in "sdb1" having partions "sdb10" to be mounted automatically during boot time and the rest partions have to be prompted for password when I try to mount it.Is it possible..?
*Please suggest me the whole procedure in manual manner(Command line) for the same
*Also using "Storage Device Manager"
*if I remove "Storage Device Manager" in future thus it effct my system partitions
*If I mount the partition in "/media/partion_name" thus it will solve my problem.
Quote:
Details
UBUNTU 10.10
Harddisk:
sda : "sda1" mountpoint- "/win_xp"
[Code].....
View 5 Replies
View Related
Feb 9, 2010
I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?
P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?
View 1 Replies
View Related
Aug 27, 2010
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.
Here is my fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=5d0ed718-2719-4b28-a031-9ab10f9aa740 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
[Code]...
View 9 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
Mar 21, 2010
I have a command line that mounts the disk of my mobile
Code:
It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.
Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.
View 7 Replies
View Related
May 20, 2010
I have this configuration on my Ubuntu server:
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.
View 1 Replies
View Related
Jun 8, 2010
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.
View 3 Replies
View Related
Aug 12, 2010
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:
//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0
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.
View 5 Replies
View Related
May 22, 2010
I am using ubuntu 10.04. I want to set up authentication to mount hard disk and other removable devices.
View 5 Replies
View Related
Apr 30, 2010
I have the following line in my fstab:
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.
View 9 Replies
View Related