republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » External drive in PCLOS
Search Topic:
Uniqs:
468
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Uninstalled Bash :( RHEL5 »
« PCLOS - program will not open  
AuthorAll Replies


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!
Forums » Tech and Talk » OS and Software » All Things UnixUninstalled Bash :( RHEL5 »
« PCLOS - program will not open  


Saturday, 11-Oct 22:49:56 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.
page compression OFF
Most commented news this week
· [141] It's Cable TV Rate Hike Season
· [97] Wholesale Bandwidth Prices Still Dropping
· [96] Symmetrical FiOS No Longer Qualifies For Bundle Discounts
· [95] Is Comcast Cooking Up a 22Mbps/5Mbps Tier?
· [85] Time Warner's Ugly Feud With LIN TV
· [77] Half Of New iPhone Owners Came From Verizon
· [70] Supreme Court TiVo/Echostar Ruling
· [70] Microsoft: U.S. Broadband Policy 'Total Failure'
· [67] Verizon Unveils Blackberry Storm
· [64] XOHM Online In Additional Launch Markets
Most people now reading
· Safty Question about K & T wiring. Very worried... [Home Repair & Improvement]
· Should hourly workers work for free thru lunch [General Questions]
· Extreme HD and Essentials [Verizon FIOS TV]
· [Connectivity] Neighbor using MY router to connect to Internet? [Comcast HSI]
· What's Your "Home Page"? [General Questions]
· IMG 1.6 Build 06.89 Released [Verizon FIOS TV]
· privacy: how much do they know [TekSavvy]
· Where did the money go? [General Questions]
· [Other] Did Joiphone sunrocket its users???? [VOIP Tech Chat]