Ubuntu :: Script To Mount External HD Does Not Work?

Jun 20, 2010

Script doesn't work anymore? I created a script that mounts an external hard drive.
#!/bin/sh
mount -t smbfs //192.168.1.104/MediaShare /mnt/MediaShare
mount -t smbfs //192.168.1.104/Backup /mnt/Backup

It is in my startup and has been working fine. I recently upgraded to 10.04 Ubuntu and I don't know if this has anything to do with it. A while after the upgrade something changed. Normally when booting up a permission screen for the scrip would pop up, I would enter the password, and it worked. But suddenly it started going past the login for the script and the mouse could not click on anything. I discovered that I could press alt-o and the mouse worked again. And I would activate the script in terminal and it would work. Why this would suddenly change and what I can do to get the script working again.

View 1 Replies


ADVERTISEMENT

OpenSUSE Hardware :: Mount External Drive - 11.0 Doesn't Seem To Work

Aug 31, 2010

I have a hard time mounting two external drives on my Suse 11.3. When I use the device notifier gadget both drives get mounted in /media/<drive name>, the vfat drive is read-only though. However, I would like to mount both drives under /<drive name> in separate directories and rw. I looked at the devices in /dev/ and entered the device name to fstab, set the mount point, file system (vfat, and ntfs-3g) and set 'rw,noauto,exec,user,sync 0 0'.

This way I could mount my vfat drive read-only under /<drive name>, but not the ntfs one. After a reboot i noticed that the external drives get different IDs in /dev. E.g. what I had in my fstab under /dev/sdc1 got /dev/sdf1, and /dev/sdc was unknown. I am doing something wrong here, what worked in 11.0 does not seem to work here.

[code]...

View 2 Replies View Related

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

Debian Configuration :: Error "mount Exited With Exit Code 1: Helper Failed With: Mount: Wrong Fs Type" Mounting Any External Storage Media

Feb 27, 2011

I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:

Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.

View 4 Replies View Related

Ubuntu :: How To Mount New External

Feb 6, 2010

Just bought a new external and usually i would be able to mount things but i cannot log into GDM so im suck doing it in the terminal like thing. so far i have tried:

Code:

sudo fdisk -l /dev/sdb

Code:

sudo mkdir /media/usbdrive
sudo mount -t msdos /dev/sdb1 /media/usbdrive

but when i do that is says

Code:

FAT: bogus num of reserved sectors
mount: wrong fs type, bad option, bad superblock on /dev/sdb1

comp: Dell Inspiron E1505
OS: 9.10
HD: Segate Free Agent Go 320GB

View 1 Replies View Related

Ubuntu :: Mount A New External USB HDD?

Sep 11, 2009

I'm new to Linux. Currently installed Ubuntu 9.04.
I want to mount a USB HDD to my PC.

View 2 Replies View Related

Ubuntu :: Can't Mount External Drive

Apr 6, 2010

Error mounting: mount exited with exit code 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,

missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

I get this when I try to mount this drive. I was working just fine and then when I tried to mount again to pull some data off It gave me an error. It is an internal hard sata hard drive hook up via usb with a usb to sata converter. Is there some kind of disk check i can do to find errors. There is data on there I would like to keep

View 1 Replies View Related

Ubuntu :: How To Mount External Drive?

Jun 15, 2010

How to mount external drive in Lubuntu?

View 3 Replies View Related

Ubuntu :: External HDD Won't Mount On Boot

Sep 11, 2010

I need a hand with mounting an external hd on boot with ubuntu server. I am aware of modifying the fstab, but that doesn't seem to be working. Here is an output:

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name

[code]....

The problem is with the last line. Once booted into the server, I can mount using the following command:

Code:

sudo mount -t ntfs-3g /dev/sdb1 /media/externalHD

I know I can work around it by running a script with the previous command at startup, however I think I am simply doing something wrong. Is there a better way?

View 3 Replies View Related

Ubuntu :: External HD Won't Mount On Boot?

Jan 4, 2011

I need a hand with mounting an external hd on boot with ubuntu server. I am aware of modifying the fstab, but that doesn't seem to be working. Here is an output:

Code:
# /etc/fstab: static file system information.
#

[code]....

View 4 Replies View Related

Ubuntu :: Mount An External Usb Dvd / Cd Drive?

Feb 28, 2011

I am the owner of a netbook (Namely, the Acer Aspire one.) With Ubuntu 10.10 netbook edition. I also own a External Usb CD drive. My question is, how do I mount it? K3B seems to find it. Sound juicer doesn't. Rhythm-Box doesn't.

View 3 Replies View Related

Ubuntu :: Cannot Mount External USB Drives?

Apr 12, 2011

I have recently installed Ubuntu 10.10 on my machine as dual boot using WUBI but on a seperate partition to Windows. Loving it so far, but i cannot get any external drives to mount - i've tried pen drives, camera memory cards and hard drives but nothing comes up.

I have just tried restarting with a pen drive plugged in, and it finally showed something in the computer folder - "memory stick drive" is shown (and my internal CD drive, which i'm not sure was there before.), but i still can't access it and when I try to unmount it gives me the message

Error detaching: helper exited with exit code 1: Detaching device /dev/sdc
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1)
SYNCHRONIZE CACHE: FAILED: No such file or directory
(Continuing despite SYNCHRONIZE CACHE failure.)
STOP UNIT: FAILED: No such file or directory

[Code]...

View 3 Replies View Related

Ubuntu :: Mount Point For External USB Hub

Feb 3, 2010

Been trying to find out the mount point for an external usb hub. I can find information with lsusb :

Bus 001 Device 002: ID 05e3:0608
and dmesg:
[0.924293] hub 1-0:1.0: 4 ports detected

But can't seem to find where the hub is mounted. I've tried / dev and /etc/fstab and mtab and /media. BTW what does [0.924293] signify?

View 9 Replies View Related

Ubuntu :: How To Mount Iso On External Hard Drive?

Jan 18, 2010

I am having problems mounting an iso on my external hard drive. I do not want to move it onto my linux partition because it is 3.6 GB. I have a directory made (/media/iso) that I would like to mount it in, but if that doesn't work then I don't care where it goes. After I mount it I want to be able to run it using Wine, but that will come later. For now I just need to get it mounted. And, of course, I am fairly new to linux/ubuntu.

View 2 Replies View Related

Ubuntu :: Can't Mount External Hard Drive Though Can In XP

Feb 23, 2010

I've been checking the Forums and I can't find anything similar to my problem yet. I have 2 external drives that my UBUNTU 9.10 doesn't recognize, although I can see them perfectly in Win XP.I was using them in Ubuntu until 2 weeks ago, when this problem started and I can't find a way to see/mount them again. GPARTED doesn't find any of them; and when aply fdisk -l, can't see them either (only my internal HD).

View 2 Replies View Related

Ubuntu :: Can't Mount External Drive Automaticly

Mar 5, 2010

I'm having a problem with my external drive under Ubuntu 9.04. After a reboot Ubuntu seems no longer to mount the the 3 seperate partitions on my external drive. I've added some screenshots of my fstab file which i tried just to let Ubuntu mount my drives, without any results!Can someone help me? If more info is requered, please let me know.

View 4 Replies View Related

Ubuntu :: External HD Does Not Mount After Kernel Update

Mar 18, 2010

Ubuntu 9.10 on 2.6.31-20 kernel (updated today), using USB 2.5" enclosure w/ 80GB HD...flash drives mount fine. Drive has power to it via USB (confirmed). command sudo fdisk -l does NOT list the drive. I use this drive for backups, so it's quite important to me.

View 2 Replies View Related

Ubuntu :: Cannot Mount External Hard Drive (10.04)?

May 10, 2010

I run 10.04 lucid in a laptop with EXT4 as filesystem, and I tried to mount an external hard drive from a Windows that, obviously, uses FAT32. Its the first time I try to mount a hard drive (external) since the upgrade to 10.04. Do I have to download some packages via synaptic? If not, what do I have to do?

Plus, I have run
Code:
sudo fdisk -l
and this is what I get

[Code]...

View 2 Replies View Related

Ubuntu Installation :: Mount External HDD On Startup?

May 18, 2010

Just installed my first ever linux distro in my life and sad that i did not come here before. Anyways i have a WD Green 1TB External HDD. I have Ubuntu 10.04 Lucid Lynx Installed and i want it to mount my HDD as soon as my PC starts up.Quick Q: How much time does it take for any USB device to get recognized on ubuntu. Takes me more than 2 minutes compared to a few seconds on my windows i had before (same machine)

View 9 Replies View Related

Ubuntu :: Mount Permissons On External Drive?

Oct 27, 2010

I've got an external drive that is formatted using the FAT32 filesystem. My fstab file contains the following line:

[Code]...

View 9 Replies View Related

Ubuntu :: Can No Longer Mount ESata External HDD

Dec 2, 2010

I have an external eSATA hard drive that has been working fine for months for backing up (I had been rsync'ing to it every night). For my configuration, see [URL]

I can no longer mount the drive with eSATA (doesn't even recognize it). It was mounted on /dev/sdb1. The drive also has a USB ... I tried that and it mounts fine.

So, my data is ok, but I want to resume nightly backups (via eSATA).

Here is some output:

fstab (2 lines below 'cause I swap HDD's between my dock and offsite storage):

Code:
proc /proc proc defaults 0 0
UUID=228d6ffc-c50e-425d-a768-fcb9c22d8383 / ext3 relatime,errors=remount-ro 0 1
UUID=aa75b03b-5037-4b0b-b73b-0c1f017c89dd none swap sw

[Code].....

View 9 Replies View Related

Ubuntu :: Cannot Mount External Hardrive / Resolve This?

Apr 16, 2011

When I try to mount my 320 Gig HD I get this.

DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending

What am I missing?
Im Running Ubuntu 10.10

View 1 Replies View Related

Ubuntu :: External Hard Drive Won't Mount?

Jun 8, 2011

I recently wiped and re-installed Ubuntu on my system Lenovo Thinkpak T510, now running 11.04. Before formatting my hard drive, I backed up all my information to an external USB Seagate FreeAgent Drive, which I reformatted to ext4 before copying my data there using a rsync command. After reinalling the operating system, I'm no longer able to get the drive to mount. I'm not quite sure what's going on. Here are the results of a fdisk command:

Code:
$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

I'm not able to mount the drive from my mac either. Did I do something wrong when backing up my data and loose everything (fortunately, most of it is also backed up elsewhere, just not all in a single place), or is there something else I can try to get it back?

View 2 Replies View Related

Ubuntu :: Unable To Mount External Drive?

Jul 29, 2011

Having issues while mounting my 1TB passport USB drive. When running this command....

Code:
sudo mount /dev/sdc /mnt/WD/

I got this error: mount: you must specify the filesystem type I even tried adding the filesystem, which was or is ext4

Code:
sudo mount -t ext4 /dev/sdc /mnt/WD/
Getting a different error instead:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sdc,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

I should mention that this was working just a few hours ago. There was a power glitch and my Ubuntu headless server lost power. I turned it on and since then, I am getting this error. I would prefer not to format via GUI .... 1st because I have data there , 2nd, because I don't want to rely on a graphical interface but being able to fix this via terminal.

View 9 Replies View Related

Ubuntu :: Mount Point For External Hard Disk?

Jan 11, 2010

I have just updated to karmic, and I found that my external hard disk partitions, previously mounted under /media/disk and /media/fat are now referenced by something looking like a UUID, namely /media/7b096ea4-60ee-46b1-95cd-1851b051c40d and /media/4951-95D9.

Is there a way to revert to the old settings? Any application relying on the files on the external hard disk has now stopped working. While I certainly could just change reference (assuming the UUID does not change every session), I'd rather use the old names if possible.

View 5 Replies View Related

Ubuntu :: Auto Mount Options For External NTFS?

Jan 31, 2010

Have a 1TB external USB hard drive I want to use on both Windows and Linux (Mythbuntu 9.10), so I thought the easiest way would be to format it with NTFS. Installed the NTFS-3G package and I'm able to read and write to the drive fine from Linux, however I have a few questions;

1) How do I configure Linux so that when it mounts the NTFS partition it is writeable for user, group and other (bascially I want everyone to have read and write access)? Currently when the NTFS disk is mounted the permissions are restricted to the user only and I suspect I'll need to edit fstab for this, but don't have much experience here so need help with the specifics.

2) If my Linux PC is turned on with the external drive attached, the disk is not mounted until I double click on the icon on the desktop. Is there anyway I can configure Linux so that it will automatically mount the external disk when booting?

Below is what is in my fstab file at present;

Quote:

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

[Code]....

View 5 Replies View Related

Ubuntu :: Permanently Mount External Hard-drive

Mar 17, 2010

I've recently started using a 500gb external hard drive for music and backups. It is always plugged into the computer but doesn't always mount at boot-up and I have to dis-connect and re-connect the USB cable. The desktop icon then appears.The fact that it's mount point changes also means I can't share the Music folder on the external hard drive via Samba (WinXP machines say they can't access the folder) and also Songbird 'loses' the tracks.

How do I permanently mount the external hard drive? I assume it will mean some editing of the fstab file? Unfortunately, I've got no idea of what I should enter on there.The external hard drive volume is called 'Music and BackUps' - Gparted screengrab attached.

View 9 Replies View Related

Ubuntu :: External Hard Drive Won't Mount After Reformat

Apr 9, 2010

I recently reformatted my external hard drive. Somewhere along the way I think my fstab got messed up because now my hard drive won't mount. Instead I get the following error:

Error mounting: mount exited with exit code 1: helper failed with:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error

In some cases useful info is found in syslog - try dmesg | tail or so

If I mount it through Gparted, it mounts just fine.

My fstab currently looks like this:

View 3 Replies View Related

Ubuntu :: 10.04 Can't Mount Hitachi Simpledrive External Drive?

May 14, 2010

ive been facing a problem lately after a week of a fresh install of 10.04i am being unable to mount my SimpleDrive external drivethe below info

optix@optix-laptop:~$ sudo fdisk -l
[sudo] password for optix:
Disk /dev/sda: 40.0 GB, 40007761920 bytes

[code]....

View 9 Replies View Related







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