Troubles with mounting hard-drive. Cannot even mount or access in root.
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.
Troubles with mounting hard-drive. Cannot even mount or access in root.
Hi all.
I've a major problem. CDs will not mount. Neither media nor data CDs. I have to boot into Windows to access 'em. I've all things needed. I can't even access 'em when I log into root! I mount it with
mount /dev/dvd or
mount /dev/cdrom or
mount /dev/hdc
Nothing works. I then do mount in Konsole, and it says that my DVD-ROM has been mounted, yet I'm unable to access my CDs. I can listed to my music CDs through CDPlayer or KSCD or something like that; but I cannot access them in /media/dvd nor can I access my data CDs there. Kinda driving me nuts. I've searched and nothing I've tried works.
Any help please? Must I edit something?
When I do mount in Konsole, I get:
Quote:
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
So my DVD drive has been mounted; but I just can't access it. It says "Could not enter folder /media/dvd" - and it doesn't say why. It says ownership is root and user is root; but even when logged in as root I cannot enter it, nor modify its properties. Makes no sense to me at all. I check in the /var/log/messages and got this:
Quote:
Aug 18 17:42:36 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
Aug 18 17:42:36 linux kernel: hdc: packet command error: error=0x54
Aug 18 17:42:36 linux kernel: ATAPI device hdc:
Aug 18 17:42:36 linux kernel: Error: Illegal request -- (Sense key=0x05)
Aug 18 17:42:36 linux kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
Aug 18 17:42:36 linux kernel: The failed "Start/Stop Unit" packet command was:
Aug 18 17:42:36 linux kernel: "1b 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 "
Aug 18 17:42:36 linux kernel: cdrom: open failed.
Aug 18 17:42:36 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
Aug 18 17:42:36 linux kernel: hdc: packet command error: error=0x54
Aug 18 17:42:36 linux submountd: mount failure, No medium found
Aug 18 17:42:36 linux kernel: ATAPI device hdc:
Aug 18 17:42:36 linux kernel: Error: Illegal request -- (Sense key=0x05)
Aug 18 17:42:36 linux kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
Aug 18 17:42:36 linux kernel: The failed "Start/Stop Unit" packet command was:
Aug 18 17:42:36 linux kernel: "1b 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 "
Aug 18 17:42:36 linux kernel: cdrom: open failed.
Aug 18 17:42:36 linux kernel: subfs: unsuccessful attempt to mount media (256)
ebopbob; back to basics, read those printouts (even if hardcopied) very carefully with explicite attention to those errors (clues where what needs done). u may need to redo the permissions to execute commands. (notice rw on konsule mnt) that is read/write. what happened to rwx those are the permissions. so redo in correct sequence then things go in working order.
I guess suse has some issues with automount, indeed. I've seen this here, and people have frequently reported problems here at LQ.
Try to mount'em as if no automount were present. Just su to root, then do "mount /dev/hdc /media/dvd" with a data cd inside.
Post here the output of the console.
ebopbob; back to basics, read those printouts (even if hardcopied) very carefully with explicite attention to those errors (clues where what needs done). u may need to redo the permissions to execute commands. (notice rw on konsule mnt) that is read/write. what happened to rwx those are the permissions. so redo in correct sequence then things go in working order.
Ok.... I'm new here, so bare with me!
The permissions for the DVD when doing mount at Konsole say ro. That means Read Only I presume. I right clicked on the DVD icon on my desktop, went to permissions, and it says Owner = Read Only, while Group and Others were forbidden. Should I change it so they are ALL Read Only, or what?
I'm guessing the error is to do with permissions. What else could it be?
Also the problem is, I've no idea what the errors in /var/log/messages mean.
Quote:
Try to mount'em as if no automount were present. Just su to root, then do "mount /dev/hdc /media/dvd" with a data cd inside. Post here the output of the console.
Quote:
linux:/home/user # mount /dev/hdc /media/dvd
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
Quote:
linux:/home/anjayszczep # mount /dev/hdc
linux:/home/anjayszczep # mount /media/dvd
And STILL it says the same old same old. I cannot enter /media/dvd
When I do mount in Konsole, I get:
Quote:
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=utf8)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
ebopbob; please read the readme,s and this: http://tldp.org/HOWTO/HOWTO-INDEX/html sections 4.1.8 partitions and filesystems,4.1.12 using linux;4.2.System Administration and Configuration,4.2.1 Configuration/Installation. & please,please expand each section for detail information, reading carefully with understanding, it will guide you through step by step. yeah i know its but necessary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.