Ubuntu Installation :: How To Automatically Mount Second HD

Jan 7, 2010

I have installed the second drive, I have partition it and now it is OK. How could I make it to mount automatically at boot so it could be accessed easily, please?I understand that I have to use some commands (forgot where I read that) but have no idea how to do it.Is there an application with GUI to do that, so I will not make mistakes in terminal?

View 2 Replies


ADVERTISEMENT

General :: Setup Fstab To Automatically Mount NTFS Partitions - GUI To Set The Mount Permissions?

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

Hardware :: Stop USB Stick To Mount Automatically And Mount It Manually?

Jan 26, 2011

I need a guicance related to mounting USB stick of 2GB capacity. Normally when I insert my USB stick it mount automatically and show me.I want that instead the usb mount automatically I manually mount it. Now there are two steps to do it. First How to stop USB to mount automatically ? Second How to mount it manually ?

View 1 Replies View Related

Ubuntu :: Mount FAT32 Drive Automatically?

Jan 12, 2010

I am setting up a home server and have two hard drives. One is the main HD for system files and the other will be for personal files.

The personal HD is /dev/sdb.

I know I have to edit fstab in order to get it to mount automatically at boot, but I am having trouble with the commands.

I would like for it to mount at boot and have full read-write access from any user.

View 3 Replies View Related

Ubuntu :: Mount Partition Automatically At Start?

Mar 28, 2010

recently i was trying to mount my partition automatically at start up ...so i gone through some tutorials on the net nd made some changes in /etc/fstab file (i made a back up before making any changes). when i was changing permissions of folder in which i tried to mount my all partitions i got my system screwed up.then it was showing following error at start up and GUI was not turning up. "could not update ICEauthority file " also my sudo was not working so first i restored original fstab file through recovery console then i googled out about above errors. I found some solution now my system is working but showing strange behaviour like:

> ubuntu is not detecting any of my hdd partition

> disk utility is not working (showing no error)

>fdisk -l shows nothing

> no new software is getting installed via ubuntu software center (shows no error when clicking on install but nothing turns up)

>i cannot restart or shutdown my system from GNOME it only logs off my session (although through terminal its working)

>no media player showing sound controls enabled

>gnome not showing ethernet or sound volume icon in upper panel (although net is working)

>users and groups from system->administration menu is not working (error:cannot load configuration)

i think most of the administrative tasks are not working.........i googled out but found nothing satisfactory..i dont want to reinstall it, coz i m not very experienced with linux n it took about a whole month to customize my ubuntu 9.10 on my college internet...

View 6 Replies View Related

Ubuntu :: Automatically Mount Sshfs Upon Startup?

Jun 17, 2010

I use this command to mount sshfs:sshfs -o idmap=user user@ip:/home/user/public_html ~/FolderThen I enter my password. I do this every time I start my computer

View 3 Replies View Related

Ubuntu :: Automatically Mount A Drive On Boot-up?

Sep 15, 2010

I have just installed 10.04 and am enjoying the quick clean boot. I have a dual-boot option as I have come over from XP. Most of my data is still on the old 'c:/' drive and I have to manually mount it every boot-up. Is there any way to automate this process?

View 4 Replies View Related

Ubuntu Networking :: Automatically Mount A Folder Over Ssh?

Sep 23, 2010

I'm following:To automatically mount a folder over ssh..

everything seems ok[I think?!]
It dosent mount on reboot...
if i take 1 line from the file /etc/init.d/sshfs

[code]....

View 1 Replies View Related

General :: How To Mount Automatically

Jan 5, 2010

I want to mount a partition automatically when ubuntu starts.I have read some articles about but i think i make some mistake.I have read about etc/fstab and I wrote a statement below./dev/sda5/home/xyz/Desktop/ABC udf,iso9660 user,auto,exec,utf8.

View 4 Replies View Related

Ubuntu Networking :: Automatically Mount NFS Shares Without Autofs?

Jan 24, 2010

Setup clients on a LAN to automatically mount NFS shares whenever the fileserver is up, without using autofs. Instead a simple bash script which checks if the server is up, and if the shares need to be mounted or unmounted is called by a custom upstart job. For a small office or home network populated with Unix-like computers (e.g., a few Ubuntu desktops or laptops and a fileserver), NFS (Network File System) is a good way to share storage space and centralise the backup of important documents. However, having a fileserver running 24/7 is often overkill for such a setup.

One way to have clients mount NFS shares automatically when the fileserver is turned on, is to use a package called autofs. Unfortunately, there are a few unresolved issues with using autofs in combination with NFS. In my case, when autofs tries to mount NFS shares when the fileserver is turned off, the Gnome desktop, and Nautilus in particular, becomes extremely unresponsive, regardless of the options used. Attempting to mount the share manually from the command line when the server is down however, does return a message of failure quite promptly, without hanging the desktop.

To solve this issue, I wrote a simple bash script that is run through the upstart system. The script simply checks if the fileserver is up, if the shares need mounting or unmounting, and then sleeps for a while before checking again. This works out quite well, so I decided to share this information in case someone else runs into these issues. PrerequisitesThis howto assumes that you have an NFS server set up with shares exported, and one or more clients capable of mounting those shares. For more information on setting up NFS shares and mounting them on a client from the command line, see: SettingUpNFSHowTo.

Clients should be able to ping the server to determine if it is running. Naturally, you need administrator access on the clients to install the script and upstart job outlined below. This script assumes that the directory paths of the shares match the location where they are mounted. In my case, the fileserver has two shares: /media/Storage and /media/Backup. On the clients these shares are mounted on the same paths. If your setup deviates from this, the script needs some modification. The script From the desktop of one the clients, paste the following bash script as a new file in your favourite text editor:

Code:

#!/bin/bash
# The hostname or IP-address of the fileserver:
FILESERVER="myfileserver.local"
# Check every X seconds (60 is a good default):

[code]...

Now adjust the FILESERVER variable. In this example, my fileserver is called myfileserver. By default, Ubuntu sets up your networking environment in such a way, that computername.local can be used to reach that computer over the local network, so the network name for myfileserver is myfileserver.local. Of course, you can also use the IP-address of the server. Next, change the MOUNTS variable to match the NFS shares exported by your NFS server. MOUNTS is an array; multiple entries are separated by spaces. So if you have one share exported as /media/MyShare, that line would look like this:

Code:

MOUNTS=( "/media/MyShare" )

An advantage of mounting shares in /media, is that they automatically show up as mounted drives on the user's desktop. Note that this howto assumes that you use the same paths for the share on the server and client side! Save the script to your desktop with an obvious name. In this example we call it mount_my_nfs_shares. Open a terminal and cd to the desktop. Make the script executable by calling:

Code:

chmod +x mount_my_nfs_shares

Next, move it to a place where it can be called by our upstart job, but also from the console to test. A good place to put such custom executables is /usr/local/bin.

Code:

sudo mv mount_my_nfs_shares /usr/local/bin

This script uses the logger command to tell the system's log what it is doing. To test this script, open up two terminals; in one, execute the following so we can monitor the log messages:

Code:

tail -f /var/log/syslog

In the other, simply execute mount_my_nfs_shares. If the script works, your shares should show up on the desktop and the computer:// location in Nautilus. If the fileserver goes down or becomes unreachable, the shares should disappear, and reappear when the fileserver comes back on-line. If this works, move on to the next step. Installing a custom upstart job The next step is to have the clients automatically run the above script when they are booted. We can use upstart for this. Create a new text file, and enter the following:

Code:

# mount_my_nfs_shares - mount NFS shares on fileserver, if present
description"Mount NFS-shares"
start on (filesystem)
respawn

[code]....

How the script works The script enters an eternal loop and keeps checking if it can reach the fileserver once every minute (unless you adjust the INTERVAL variable). If it can reach (ping) the fileserver, it checks if the mounts are already mounted by searching for them (grepping) in the output of mount. If they are not mounted, it tries to mount them. Else, if the server is down, it looks in the output of mount to see if these mounts exist. If they do, it tries to unmount them with the -f flag (useful for unmounting unreachable NFS shares).

View 9 Replies View Related

Ubuntu :: USB Hard Drive Doesn't Mount Automatically?

May 28, 2010

The other day a power outage affected an SSH server I have running 9.04 (32-bit desktop ed.). I have two external USB hard drives used for cron-scheduled backups (one for rsync, one for an incremental) that are connected at all times. When I reboot, they no longer mount automatically until I login to the gnome desktop. As far as I can remember, they always mounted automatically before as disk-1 and disk-2, but now I have to login to the gnome desktop and then log back out.

I never had them listed in the fstab before since they just worked, & hope to avoid doing it this way since the drives sometimes get their paths (sdd and sde) interchanged. However, is the best way to fix this to use UUIDs in fstab vs. using sde or sdd? (such as in this post: 4highlight=external+hard+drives+don't+mount+boot Or maybeust remembering incorrectly & ubuntu doesn't mount them automatically until login? Sometimes I have to reboot remotely, & this problem would cause the rsync to fill up my system drive.

View 2 Replies View Related

Ubuntu :: Windows Partition Won't Mount Automatically At Startup?

Jun 2, 2010

I had to re-install Windows XP because the install was running slow.So, I created another partition using GParted for my personal data and moved my files there and re-installed Windows XP.Now, the Windows partition won't mount automatically.NTFS Configuration Tool shows 0.0GB. So, I have to open up a Terminal window, and issue sudo mount /dev/sda1 /media/Windows and everything is fine.

View 2 Replies View Related

General :: Ubuntu Automatically Mount Windows Partitions?

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

Ubuntu :: Possible To Have Hard Drive Mount Automatically(NTFS)?

Jun 5, 2010

I have two 1TB HDD's formatted in NTFS, one has windows and other stuff i use even on linux and the other is all media. i can mount them easy, but this is a minor annoyance because everytime i log in i must type in my password. is there no way to have them auto mounted on startup?

View 10 Replies View Related

Hardware :: Some CDs / DVDs Do Not Automatically Mount

Jun 5, 2010

I have checked out 'similar threads' to no avail. I am using Mandriva 2010 on /dev/sda6. I have two Pioneer CD/DVD drives. Some data CDs/DVDs automatically mount. Some do not show up in Dolphin's 'Places'. I tested many. Age of disk, brand name and whether pen parked gave no significant correlation. Using PCLinuxOS 2010 (live disk) created the same problem - not altogether surprising. But using Ubuntu 9.04 (live disk) created no problem.

Booting with slightly different kernel versions solved nothing. Using Windows XP or Mandriva 2009.1, both on other partitions, created no problem but when I tried Ubuntu 10.04 (live disk) I had 'no signal'. I have just put in a new Radeon (later than HD 2000) video card (fglrx) so I wondered if Ubuntu does not like it but this issue is unimportant - if Mandriva 2010 can be tamed. What did correlate was that both drives either recognised or both ignored any particular disk. Manual mounting as root works okay but my wife is not comfortable with the CLI.

The fstab file is below:
# Entry for /dev/sda6 :
UUID=14353eb6-82ff-45cc-ae64-8eed13800b46 / ext3 defaults 1 1
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/sr1 /media/cdrom1 auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=07e9f3ee-d92e-4696-b762-03a07ed102d2 swap swap defaults 0 0

I checked but could not positively identify this issue as a known bug in Mandriva 2010.

View 2 Replies View Related

Ubuntu :: Mount Second Hard Drive (/dev/sda4/) Automatically On Startup?

Nov 12, 2010

I was wondering if I can mount my second hard drive (/dev/sda4/) automatically on startup? Now I have to enter my password every time.

View 5 Replies View Related

Ubuntu :: Get A Secondary Hard Drive To Mount Automatically On Start Up?

Mar 3, 2011

I have two hard drives in my computer, one for the operating system and the other solely for storage. They both have ext4 filesystems. Is there any way that i can have my storage hard drive to automatically mount on start up?

View 9 Replies View Related

Ubuntu Networking :: Mount Network Drive Automatically ONLY When Present?

Jun 10, 2011

I have a network drive connect to my lan with iomega's iconnect device. I am getting tired of mounting the drive manually each time I want to use it. I would like therefore to have it mounted automatically on boot by placing a line in fstab, but since the computer (a laptop) won't always be connected to my home lan, this might cause problems. Is there a way to list the drive in fstab so if the drive is not present it will just move on?

View 8 Replies View Related

Fedora :: Mount Internal Disk Automatically?

Dec 9, 2009

FC11 had "Authorization" choice in System > Preferences menu that we could change setting of system. but in Fedora 12 I don't have Authorization choice in menus. Now, how I can change setting of system? for example? Mount internal disk automatically!

View 7 Replies View Related

Server :: Fstab - NFS Share To Mount Automatically

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

Ubuntu :: Automatically Mount The Disk And Enter The Password Each Time Boot Up

Mar 7, 2010

i'm trying to get everything working ok. i have installed ubuntu using wubi and i've found that i can access my files on my windows partition from ubuntu. to do this i have to mount the disk and enter the password each time i boot up, and i would like this to be done automatically. i was wondering if this was possible? i put in a link directly to the music folder on windows into my 'places' but it only appears once i have put the password in. its not a huge thing, but its one of those things which would make starting up my ubuntu a lot more conveniant.

View 4 Replies View Related

Ubuntu Security :: Mount A Truecrypt Partition Automatically With Login Password?

May 17, 2010

I found a way some times ago to mount a truecrypt volume when opening the session by insertion of the login password in the mounting script instead of putting it in clear in the script. I don't remember to command to read/transfer the password.

View 2 Replies View Related

Ubuntu :: Automatically Mount Two Shares From Windows Vista SP2 Host - Error - 112

Jan 30, 2011

I'm running Ubuntu 10.04 on a VM and I'm trying to automatically mount two shares from the Windows Vista SP2 host. Currently this is failing with the message "mount error(112): Host is down".

I recently upgraded VMWare Server. Before the upgrade I was able to mount shares without a problem. I can still mount shares on the host using the builtin "Connect to server" feature in Gnome. The problem I'm running into is mounting shares via the command line or via fstab. The relevant lines from my fstab are below.

Just a couple notes: the IP address of the host is static on the virtual network, so using the IP address as the server name should not be an issue. Also, I am able to ping the host fine (which obviously must be true for me to mount using the Gnome feature).

View 2 Replies View Related

Fedora :: Automatically Run Script On Optical Disc Is Mount?

Feb 23, 2010

how to get a bash script to automatically launch when the optical drive mounts a disc, any type of disc - DVD, CD, data, etc. It seems like such a simple task but after weeks of searching I have yet to find a workable solution.

View 1 Replies View Related

Fedora :: F13 Mount All Attached USB Devices After Boot Automatically?

Aug 31, 2010

One question: should F13 mount all attached USB devices after boot automatically? I guess it should. However, what I've experienced is that after boot and login, my USB modem + flash memory is not mounted. I need to manually unplug it and plug it again, and then it's mounted

View 1 Replies View Related

OpenSUSE :: Mount Vfat Partition Automatically After Boot?

Oct 23, 2010

How to mount vfat partition automatically after boot? After login it it will mount all vfat partition and the icon of those parition will be at desktop. How can it be done. udisks is installed. If i click a vfat partition from pcmanfm it prompts for password to mount.I don't want to click. It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop

View 7 Replies View Related

Programming :: Automatically Mount USB Device - Execute Script

Jul 2, 2010

I got a headless server which should, when I plug in a usb stick/device, automatically mount it and execute a script (the script is located on the usb stick). Actually I'm talking about auto-mount & auto-run which is already present in desktop systems but not in server systems. until now I had manually mounted the usb stick via ssh connection and then executed the script by hand.

View 4 Replies View Related

Hardware :: Automatically Mount Removable Drives In Red Hat Enterprise 5?

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

Ubuntu Networking :: Get Lucid Connected To An SME Server 7.4 To Automatically Mount Windows Shares?

May 4, 2010

I have beating my brains out trying to get Lucid Lynx connected to an SME Server 7.4 to automatically mount windows shares. The winbind stuff seems to work okay after I installed a restart script in /etc/network/if-up.d (kudos to OsGnuru & bobpaul for that) There is a short wait on network up before winbind can validate but that is not a show stopper. I have looked at (what I think) is the correct log for pam_mount and it seems to be running through to the end process okay. It looks like it is either not reading the pam_mount.conf.xml file or I have not configured it correctly as it just reports "No Volumes to Mount". I have appended the log file, pam_mount auth, password, session & common conf files as well as the pam_mount.conf.xml file for review.

View 1 Replies View Related

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 View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved