  nixie21 Premium join:2004-08-19 Harrington Park, NJ
·ViaTalk
| External drive in PCLOS
I have an external drive. Everything was working fine until I plugged in another external drive with the 1st one not on (not mounted) Since then I removed the new one, but can no longer mount the old one?
How can I mount the old one?
Thanks |
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ
·ViaTalk
| In FSTAB - does not auto mount
/dev/sda1 /media/SimpleDrive ntfs-3g defaults,user,exec,auto,locale=en_US.UTF-8 0 0
I always type
mount /media/SimpleDrive
Now I get
[root@new-host etc]# mount /media/SimpleDrive/ ntfs-3g: Failed to access volume '/dev/sda1': No such file or directory Please type '/bin/ntfs-3g --help' for more information.
I do not know what changed? |
|
  happylurk
@look.ca | reply to nixie21 What's the interface? Are these drives ESATA, USB or Firewire? |
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ | USB, thanks |
|
  happylurk
@look.ca
| Dunno about PCLinuxOS, but SuSE handles USB drives with hald and hotplug.
Try commenting out any references to the drive in your fstab, reboot and see if they autodetect when plugged in as they should be.
One thing I've noticed is that when SuSE uses the YaST partitioning tool to format a USB drive it creates an fstab entry by default. It's usually an extra step to remove that entry in order to have the device recognized by hotplug afterwards... |
|
  happylurk
@look.ca | reply to nixie21 Edit>>> Also check to see if udevd is running on your system... |
|
  rolfp
join:2001-09-12 Oakland, CA
·Comcast
·EarthLink
| reply to nixie21 Also, in KDE, if you right-click a handle in the panel, go to Panel Menu > Add Applet to Panel..., there is Storage Media in the list. Add that and a handy icon appears when an optical disk is loaded to a reader or usb-connected device is plugged in. Clicking on that icon gives mounting/running/umounting options, as appropriate. |
|
  happylurk
@look.ca | reply to nixie21 Did any of our advice work for you? If so, it might be nice to post your solution for the next one who has the same problem... |
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ | reply to nixie21 Thanks for the help....
I removed the entry in FSTAB and rebooted. I then put the line back in and it worked. Why it happened or why it works now, I do not know, but at least it is working again! |
|
  happylurk
@look.ca
| Actually that's very weird.
USB storage devices should not require any kind of fstab entry in any modern Linux distro.
udevd, hald and hotplug should handle detection and automounting on the fly placing the symlink to the drive in either the /media or /mnt or /local directories depending on which particular distro you are running.
Try removing the fstab entry again, rebooting (always reboot after any modification of fstab) and then looking for the drive in one of the three directories I mentioned above.
The disadavantage to having an fstab entry in this case is that the drive is not hot swappable or pluggable. |
|
  happylurk
@look.ca
| reply to nixie21 The only entry you should have regarding the USB Filesystem is a line like this one in fstab
|
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ | When I do not have the line I can not get it to mount (prob. my inexperience with Linux)
I will remove the line and make sure the one you have is there. Can I change the noauto to auto? |
|
  happylurk
@look.ca
| Actually why don't you post the entire contents of your fstab before making any changes?
From what I could see of the line you posted, it was referring to /dev/sda1 which should be the / partition of your primary HD.
That entry in theory should have nothing to do with the mounting and unmounting of a USB drive.
just for comparison's sake, here's the contents of my own fstab
|
|
  antiserious The Future ain't what it used to be Premium join:2001-12-12 Scranton, PA
| I'm not in PCLOS right now, but in UbuntuStudio I have no entries at all relating to usb's (as you mentioned in an earlier post), and they mount just fine. I can't recall seeing any in the 5 working distros I have, but I haven't actively looked for them either. Usb's have always just worked, but PCLOS does do a few things a little differently - not always better, just differently.
fwiw
--
"My goal in life is to become the kind of problem that people throw money at".
|
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ
·ViaTalk
| thanks,
here is my fstab
# /etc/fstab: static file system information. # #
/dev/hda5 / ext3 defaults 1 1 /dev/hda7 /home ext3 defaults 1 2 /dev/sda1 /media/SimpleDrive ntfs-3g defaults,user,exec,auto,locale=en_US.UTF-8 0 0 /dev/hda2 /mnt/win_c ntfs-3g defaults,user,exec,auto,locale=en_US.UTF-8 0 0 /dev/hdb5 /mnt/win_d ntfs-3g defaults,user,exec,auto,locale=en_US.UTF-8 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 none /proc/bus/usb usbfs defaults 0 0 /dev/fd0 /mnt/floppy auto user,exec,rw,noauto 0 0 /dev/hda6 swap swap defaults 0 0 |
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ
·ViaTalk
edit: May 7th, @08:44PM
| I commented out the Simpledrive line and rebooted. It is mounted and I can access it BUT can not use virtualbox (my virtual XP is on that drive) I get an error below.
Also will it auto mount if I have the drive off at boot and then turn it on?
Thanks so much!
Could not load the settings file '/media/SimpleDrive/Windows XP Home Edition/VM-Win-XP/VM-Win-XP.xml' (VERR_OPEN_FAILED). FATAL ERROR: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/media/SimpleDrive/Windows XP Home Edition/VM-Win-XP/VM-Win-XP.xml Location: '', line 0, column 0.
Result Code: 0x80004005 Component: Machine Interface: IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}
[nixie21@new-host media]$ ll total 8 drwxrwxr-x 2 root root 4096 Nov 20 23:28 SimpleDrive/ drwxrwxrwx 1 root root 4096 Feb 18 23:09 SimpleDrive-1/ [nixie21@new-host media]$
|
|
  happylurk
@look.ca
| reply to nixie21 I can't comment on the Virtualbox since I don't use it so I'll leave that to someone else to fill in. My guess though would be that somewhere in the conf file there is a path to the drive hardcoded in that has to be changed somehow.
As far as booting up with the USB drive off or on, a USB drive should be totally hot-pluggable and should be accessible the minute you plug it into the machine, whether at bootup or in mid session... |
|
  nixie21 Premium join:2004-08-19 Harrington Park, NJ | Everything is working now!!!
Thanks for all the help, it is greatly appreciated! |
|