Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've finally done it and switched completely over to Linux and am finding it's definitely been the best computer decision I've ever made.
I'm running OpenSuSE 10.2 on a Lenovo/IBM Thinkpad Z60M and *almost* everything is working perfectly. The only issues I'm having are with my external hard drive. Using the YaST2 --> Partitioner I formatted my drive (it's a 120GB Western Digital "Passport") over to the ext3 file system, with the mount-point set to /media/disk and fstab options "mountable by user" and "do not mount on system startup" selected.
Onto the issues...
When I plug in the HD I can mount it fine without any problems, and I'm able to read/write/edit without any troubles either. I don't seem to be able to unmount the drive in my 'normal' user account--I can only unmount the drive by logging into the root account and doing it from there. How can I fix this?
I've already gone in and edited the permissions for the drive so that it's readable/writable/edit-able by user: <user_name> and group: root but when I tell SuSE to "safely remove" the drive, it just sits there.
And while the drive can be removed from the root account and mounted from both root and user accounts, if I attempt to start the computer WITHOUT the drive already plugged in I get a boot error telling me the file system on /dev/sdb1 cannot be read, and then the boot process halts. What's the use of having a laptop computer if, for the system to boot, I HAVE to have the removable drive plugged in? Shouldn't it be removable? I've done all I can think of...
Within the partitioner the device is listed as such:
Device Name: /dev/sdb, Type: WDC WD12-00VE-00KWT0
The partition is listed...
Device Name: /dev/sdb1, Type: Linux Native, Mount: /media/disk
Help me out? Thanks!
I'm still fairly new to Linux (part of the reason I'm using OpenSuSE) but I'm not afraid to manually change some things if I have to!
Last edited by Dieselashi; 02-01-2007 at 04:57 AM.
What I would advise is to open up a terminal, su to root and chown yourHDD to your username.
You can also open "My Computer" as a root, right click and change the permissions to user.
Hope this helps.
I'm not familiar with the "su to root and chown yourHDD to your username" suggestion, though I have tried the second to no avail. Clicking on the device "120G Media" in "My Computer" doesn't allow me to access/change any permissions; looks like I can't edit the device itself, only the files written to it. So...still hoping for something...anyone?
There is another solution. Select log out from your session, then "end current session". Log on as root, and then open "my computer" then right click on the device. You will be able to edit it.
Regarding the "su to root", open up a terminal, type
Code:
su
and then you will be prompted with a password. Enter your root password and you will become root. You will need this information when you are installing programs and any other single thing that you can not do as a regular user.
I suggest you to open a terminal and type
Code:
man chown
and read the man page. At the "examples" section you will see what you need ;-) [you can press q and quit the man page]
There is another solution. Select log out from your session, then "end current session". Log on as root, and then open "my computer" then right click on the device. You will be able to edit it.
Regarding the "su to root", open up a terminal, type
Code:
su
and then you will be prompted with a password. Enter your root password and you will become root. You will need this information when you are installing programs and any other single thing that you can not do as a regular user.
I suggest you to open a terminal and type
Code:
man chown
and read the man page. At the "examples" section you will see what you need ;-) [you can press q and quit the man page]
Ok, cool. I was able to use chown to change the permissions of the disk to user_name:users, but when I try to left click on the device "120G Media" in My Computer it just hangs and the status message at the bottom of the window just alternates between "looking up disk info..." and "looking up memory info..."
It's not a big deal really, since now with the terminal I can unmount it in like a second with su...but i'm just wondering why the My Computer functionality isn't there.
Also--the computer still refuses to boot properly without the external HD attached, despite the fact that I told it not to automatically mount at startup...what is causing that?
Using the key j come to the last line and press d twice [like double click: dd]. The last line will be deleted. Then hit Esc, type :wq and the file will be saved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.