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 |
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.
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.
|
 |
09-28-2006, 09:41 PM
|
#1
|
LQ Newbie
Registered: Jul 2004
Posts: 18
Rep:
|
I have lost my optical drives!
After a complete system update via smart, I seem to have lost my optical drives in SuSE. The BIOS recognizes then, and I can boot from them, yet they have gone missing from my Fstab. Here's my current Fstab if it helps;
Quote:
/dev/sda6 / reiserfs acl,user_xattr 1 1
/dev/sda7 /home reiserfs defaults 1 2
/dev/sda1 /home/Windows/C ntfs ro,users,gid=users,umask=0
/dev/hdc5 /home/Windows/D ntfs ro,users,gid=users,umask=0
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
|
Fdisk doesn't return anything better;
Quote:
Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5123 41150466 7 HPFS/NTFS
/dev/sda2 5124 9039 31455270 f W95 Ext'd (LBA)
/dev/sda5 5124 5385 2104483+ 82 Linux swap / Solaris
/dev/sda6 5386 6862 11863971 83 Linux
/dev/sda7 6863 9039 17486721 83 Linux
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 2 9729 78140160 5 Extended
/dev/hdc5 2 9729 78140128+ 7 HPFS/NTFS
|
I have no idea what to do. Any ideas?
|
|
|
09-29-2006, 12:30 AM
|
#2
|
Member
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252
Rep:
|
Shot in the dark:
$mount -t iso9660 /dev/cdrom /<mount-point>
I've never used Suse at all, but Redhat seemed to do the same thing to me once. I tried looking for the device file name for the cdrom and couldn't find any references to it anywhere. So, I went and dug around my old notes and came across the reference to /dev/cdrom. I tried it and it worked. Go Fish.
|
|
|
09-29-2006, 12:52 AM
|
#3
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Is smart a bios update? Have you refreshed your bios setup already? like loading its default settings?
|
|
|
09-29-2006, 01:13 AM
|
#4
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
What does "dmesg | grep -i atapi" output?
|
|
|
09-29-2006, 11:47 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Posts: 18
Original Poster
Rep:
|
Quote:
hda: PIONEER DVD-RW DVR-107D, ATAPI CD/DVD-ROM drive
hdb: SAMSUNG CD-R/RW SW-252S, ATAPI CD/DVD-ROM drive
hda: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
|
Those are the drives, now how do I add them to fstab? Thanks a lot!
|
|
|
09-29-2006, 04:17 PM
|
#6
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
Use the editor of your choice (vi, vim, pico, nano) and issue as root in a terminal:
and then add these three lines:
Code:
/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
/dev/hda /dvd auto noauto,users,ro 0 0
/dev/hdb /cdrw auto noauto,users,ro 0 0
This will allow you to mount your drives as a normal user. However, you must create the mount points "dvd" and "cdrw" (or use ones previously created).
I also change owner to my regular user, and change mode to 755 by issuing:
Code:
chown mingdao.users /dvd
chmod 755 /dvd
chown mingdao.users /cdrw
chmod 755 /cdrw
After that, make sure you have the symlink to /mnt/cdrom by issuing:
Code:
mingdao@silas:~$ ls -lh /dev/cdrom
lrwxrwxrwx 1 root root 3 2006-09-30 13:19 /dev/cdrom -> hdc
Slackware creates that link for me and has these permissions:
Code:
mingdao@silas:~$ ls -alh /dev/hdc
brw-rw---- 1 root cdrom 22, 0 2006-09-30 13:19 /dev/hdc
Substitute your username for mingdao.
After it's all setup, you may need to run "xine-config" in a terminal, and if you use K3B you might need to run it's setup program again, also.
Last edited by Bruce Hill; 09-29-2006 at 04:32 PM.
|
|
|
10-06-2006, 06:22 PM
|
#7
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
Zedd129,
Were you able to successfully add your drives?
You should post back to threads you start and tell what you
did to solve your problem. That way others who search and
find your thread will know the solution.
|
|
|
All times are GMT -5. The time now is 11:09 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
|
|