LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-06-2006, 11:24 AM   #1
josuuj97
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Lost USB HD (my mistake) on Ubuntu


I'm Newbie with Linux so please keep it simple.

I have 160GB external Lacie USB HD, which I've been using for some time, having ntfs file system. I installed ntfs-3g (R/W ntfs driver for Linux) acc to these instructions
"ubuntuforums.org/showthread.php?t=217009"
and the R/W started to work fine with the HD (damn, I should have stopped here).

During the the ntfs-3g installation I created a new directory /media/Lacie160 to which I mounted the HD in fstab:
/dev/sda1 /media/Lacie160 ntfs-3g silent,umask=0,locale=fi_FI.utf8 0 0
So everything was fine at this point.

Then I noticed that there was already similar directory "/media/Lacie" (obviously generated earlier by Ubuntu) so I decided to do some clean up and deleted the "Lacie" and renamed the "Lacie160" to "Lacie" (and of course changed the name in fstab), I shouldn't have done this, now Ubuntu shows that directory "/media/Lacie" is empty and I cannot read (find) the HD anymore.

What should I do to make the HD visible again?
 
Old 08-07-2006, 12:23 AM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Have you tried reversing the steps you took? Rename /media/Lacie back to /media/Lacie160, edit fstab, then recreate /media/Lacie
 
Old 08-07-2006, 02:45 AM   #3
josuuj97
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, I'll try the reverse step method.

Does Ubuntu create some hidden files when it creates the /media/Lacie directory during the first plug-in of a USB HD, in this case they are gone now for good, or is it just a dummy empty directory?
 
Old 08-07-2006, 11:18 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
I'm not too sure myself as I typically run Slackware, but I can check on a Ubuntu box at work today. I have a flash drive that I've never plugged in to it, so it should create the folder and such.

My gut feeling is that it's just an empty directory, otherwise mount would complain if it was used as a mount point, but the drive might be mounted somewhere inside /media/Lacie. The problem is that Ubuntu doesn't use fstab for auto-mounted drives, so your current fstab conflicts with this.
 
Old 08-07-2006, 01:14 PM   #5
josuuj97
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I got it visible again. I tried first the reverse thing, didn't help, but when I removed the mount line from fstab and booted Ubuntu the Lacie icon reappeared on the desktop. I just have to rethink the mount method, I'll let you all know how it goes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
OOo2 lost under new Ubuntu install dgermann Ubuntu 5 06-20-2006 09:20 PM
Cant start X - seems to have lost fonts. Ubuntu 5.10. Peet_Nel Linux - Software 1 02-13-2006 04:38 PM
LXer: Comment of the Day - January 5, 2006 - Fundamental Mistake in Article About Ubuntu LXer Syndicated Linux News 0 01-05-2006 11:01 AM
I lost my NTFS partition by mistake using GRUB yoonsangkyun Linux - Newbie 6 06-03-2004 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration