| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-11-2005, 10:25 PM
|
#1
|
|
Member
Registered: Feb 2005
Distribution: Ubuntu (Breezy Badger)
Posts: 32
Rep:
|
I can't get ubuntu to work with my external hard drive!
this was working FLAWLESSLY before installing BB.
I could access info on my external, one hundred and sixty gigabyte hard drive, without ANY PROBLEMS.
now, I get new errors every time I try to do something.
this just completely blew my mind.
kingrames@kingrames:/media$ cd sda1
bash: cd: sda1: Permission denied
kingrames@kingrames:/media$ sudo cd sda1
sudo: cd: command not found
WHAT the HELL is wrong with this?
I have tried everything to get this damn drive to work. I can't chmod ANYTHING because it's a read-only drive.
I can't view anything because I don't have the permissions.
How, HOW am I supposed to access this drive? what is the POINT of locking out the user from hardware by default?
especially something as important as an external drive!
and I already did sudo chmod -R 777 /media/onesixtygig
and sudo umount -r /dev/sda1
and sudo chmod a+rx /media/onesixtygig
(this one ticks me off the most - every single file on the hard drive is listed along with an error message saying that I can't change the file permissions due to it being read-only)
double-clicking on the link to onesixtygig on my desktop returns the error message "You don't have the permissions to view these fles."
atttempting to unmount it says "Unable to Eject Media - umount: only root can unmount /dev/sda1 from /media/sda1
eject: unmount of `/media/sda1' failed
"
I'm just about to snap - can anyone tell me what I'm doing wrong?
|
|
|
|
11-12-2005, 01:02 AM
|
#2
|
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776
Rep:
|
What does your /etc/fstab look like? Post it here What filesystem does your external hard drive have?
|
|
|
|
11-13-2005, 10:54 PM
|
#3
|
|
Member
Registered: Feb 2005
Distribution: Ubuntu (Breezy Badger)
Posts: 32
Original Poster
Rep:
|
kingrames@kingrames:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / reiserfs notail 0 1
/dev/hda3 /media/hda3 ntfs defaults 0 0
/dev/sda1 /media/sda1 ntfs defaults 0 0
/dev/hda2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
kingrames@kingrames:~$ sudo fdisk -l
Password:
Disk /dev/hda: 30.7 GB, 30758289408 bytes
16 heads, 63 sectors/track, 59598 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 13874 6992118 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/hda2 13874 15436 787185 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/hda3 * 15436 59591 22254183 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 19457 156288321 7 HPFS/NTFS
-----
Hope this helps.
|
|
|
|
11-13-2005, 11:16 PM
|
#4
|
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776
Rep:
|
Can you try changing this line in your /etc/fstab
Code:
/dev/sda1 /media/sda1 ntfs defaults 0 0
to read like this instead?
Code:
/dev/sda1 /media/sda1 ntfs nls=utf8,umask=0222 0 0
Then type this in the terminal Any difference?
|
|
|
|
11-13-2005, 11:22 PM
|
#5
|
|
Member
Registered: Feb 2005
Distribution: Ubuntu (Breezy Badger)
Posts: 32
Original Poster
Rep:
|
no, no difference.
|
|
|
|
11-14-2005, 12:04 AM
|
#6
|
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776
Rep:
|
Quote:
Originally posted by Kingrames
no, no difference.
|
Theoretically should remount your partitions. Maybe try rebooting?
|
|
|
|
11-14-2005, 09:11 PM
|
#7
|
|
Member
Registered: Feb 2005
Distribution: Ubuntu (Breezy Badger)
Posts: 32
Original Poster
Rep:
|
Quote:
Originally posted by aysiu
Theoretically should remount your partitions. Maybe try rebooting?
|
SWEET!
oh thank you guys. this is wonderful.
now, just to make sure I get something out of this:
what did that command do that I changed in my /etc/fstab file?
was it just a clarification of what my usb drive really was? Was linux trying to use an outdated or obslete driver?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|