I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?
I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?
I installed Ubuntu 10.04 two days ago and was using my 1tb passport external HDD with it to download and store files. However today whenever i try and copy/cut and past to the HDD i get this error message..
Error opening file '/media/My Passport/test.avi': Input/output error This is obviously very fustrating and i want to stay with Linux but i do need to fix this problem else im afraid im going to have to back to awful windows.
I am attempting to be careful in case my system crashes, and although highly unlikely my first question is if there is a way to first compress my Linux Partitions. After running the diskutil command in OSX's Terminal, I basically end up with this poartition scheme:
Quote: Macintosh HD = 130GB disk0s3 = 1MB disk0s4 = 30GB Linux Swap = 1.3 GB
I am sure there is a way in the Terminal to first compress disk0s3, disk0s4, and Linux Swap, and then output the compressed partitions into my external Harddrive. I have already read some of the suggestions that only /HOME, /etc/fstab/, list of installed packages, /opt, and /var/cache/apt/archives/-where all installed packages are stored, is what I should backup. But, please correct me if I'm wrong. Wouldn't it take quite a while to install all those packages again in case of a system failure. Or would it just be easier to untar all of them in their directories once Linux has been reinstalled. The closest command I have found so far in being able to achieve this is:
Quote:
sudo tar cvf - files | (cd target_directory ; tar xpf -) The above code is very suitable for what I am looking for because it enables you to copy files into another location by using the tar command where you would create In my case the new location would be my external harddrive. My external harddrive already has its own Linux partition which I am able to mount in Linux and that Linux sees as free space.
I'm trying to mount a USB hardrive from the terminal.
Using the following I can mount the hdd:
Code: sudo mount -o rw,users /dev/sdb1 /mnt/usbhd However if I try and change to /mnt/usbhd :
Code: -bash: cd: /mnt/usbhd: Permission denied
(if I change to root I can view the contents)
If I add umask=000 I can view the contents, but I can't do anything to them:
Code: sudo mount -o rw,users,umask=000 /dev/sdb1 /mnt/usbhd
Code: mkdir: cannot create directory `misc': Read-only file system
I have tried changed the privileges of /mnt/usbhd, and I have tried adding an entry into /etc/fstab (and restarted), and I have tried using "user" rather than "users" but I get exactly the same results.
I don't have autofs or usbmount installed, which I read somewhere causes issues.
Code: /dev/sdb1 on /mnt/usbhd type ntfs (rw,nosuid,nodev)
I've run these commands on another machine and it works perfectly, so it isn't the drive...?!
I have a Westel 1 TB external hard drive and when attempting to partition it, the partitioner never finishes refreshing the device. I've tried gparted live, opensuse, & ubuntu; and none of them finish refreshing the device.
Another issue is, I have 200 gig of music & movies that can't be wiped out because I got no room elsewhere to move them to. I would like to set a partition of 750 gig for the ext 3 and leave the rest for ntfs.
I've pretty much installed Ubuntu Linux9.10, 10.04 and Debian 5 on external hard drives before, however, I just want to avoid certain pitfalls that may occur with openSUSE11.3. Has anyone successfully done this before? And, is it similar like Debian and Ubuntu installs in that you have to install the OS using an advanced option and specifying /dev/sdb, etc? Right now, I have Ubuntu installed on an external harddrive along with Debian as well and wanted to do the same for openSUSE11.3 and was wondering if all Unix derivatives share similar installation processes. I would just like to keep things as I have it currently where the system does not boot with Grub, and instead I have to go to the bios and specify which physical drive to boot from in order to change the boot order.
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.
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).
As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.
Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.
I have an apache web server with php 5.3 and I need to connect to a webservice I set up in sqlserver 2008 Both servers are in the intranet. If from my browser I write http://192.168.2.2/internet?wsdl I am prompted for a user and a password, which are those of a windows user with permissions to connect to the ws. After writing them I can see the XML file in my browser.
the php file is code...
I've tried variations in the url, the user, with and without password, with no luck I've googled a lot, with no luck
I have a 64 bit Karmic system with two drives. One is mounted as / and the other is mounted as /home. I just put the video card from my system into my son's system and got a new video card. (Don't see how it's related but still...)Now I am getting the following message when I turn on the system. code...
I'm running Ubuntu 10.10 with all the updates. I'm in an NFS/NIS networked environment. My mounts eventually work, but mountall fails with this message in /var/log/boot.log: mount.nfs: Failed to resolve server myservername: Name or service not known
Here's the entry in /etc/fstab: myservername:/nfs/share/path /mount/path nfs rw,_netdev,bg,hard,intr,rsize=8192,wsize=8192 0 0
Here's the host entry in /etc/hosts: 123.45.678.901myservername
I've noticed that mountall seems to be trying to mount my share before it has network access.
I started up my computer and this is what it said: Mount of file system failed.A maintenance shell will now be started.CONTROL-D will terminate this shell and re-try.root@Gifted:~#The only part I recognize is the name of my computer; Gifted
I'm trying to partition/format a new external hard disk for backup and have run into a snag that now prevents my computer from booting. In the description below of what happened please bear with me as I do my best to remember the commands and screen output (which for obvious reasons I don't have in front of me).As root.The disk was subsequently writable. However, I then realized that the default start and end cylinders had resulted in a very small partition apparently occupying some free cyclinders in the beginning of the disk.
So next I ran fdisk again, deleting the sdc4 I had just created and creating a new one instead, this time using the cylinders at the end of the disk. When I exited fdisk I got a message something like that the new tables can only be read upon a subsequent reboot. I ran mkfs again, but not e2label. Indeed using /sbin/fdisk -l, sdc4 still had the small size as defined initially. So I rebooted.
Now when it comes up I get something like "checking filesystems. fchk.ext3: can't resolve 'LABEL=/media/LaCie2TB1'" and am prompted to login as root to correct. I tried to simply delete sdc4 again but that didn't help. I also tried to edit /etc/fstab (using vi, which I don't know at all) but it kept telling me that this is a read only file, even though permissions are rw for root.Can anyone out there help me so that (1) I can boot into my computer, and (2) I can correctly partition and format the hard drive??
Every once in a while I get this error when I plug in my external hard drive. I'm a bit worried I might suffer some kind of data loss. I'm trying to get some more information about this. I have been using this hard drive with Windows 7 previously so it is most likely NTFS I think.
Finally got FC8 installed on new machine, and now it won't mount CDs/DVDs - didn't change anything in BIOS, CD/DVD drive is only thing on the IDE controller (HD is SATA) so is it likely a driver issue? FC8 seemed to have correct (or at least working) drivers for LAN, audio, SATA, etc.
I am trying to mount a NAS device using the hostname on my linux computer (running slax)
The command I am using is mount //hostname/sharename /mnt/test -t smbfs -o username=***,password=***
i am getting back the error mount error: could not find target server. TCP name hostname/sharename not found No ip address specificed and hostname not found
I can do this mount from an older version of SLAX but i can't from this new version. smb:/ can find then through the file explorer window but I can't mount them from the command line.Is there something i am doing wrong?
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.
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
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
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?
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. #
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.
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