LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-28-2006, 10:41 PM   #1
Zedd129
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Rep: Reputation: 0
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?
 
Old 09-29-2006, 01:30 AM   #2
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Rep: Reputation: 36
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.
 
Old 09-29-2006, 01:52 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Is smart a bios update? Have you refreshed your bios setup already? like loading its default settings?
 
Old 09-29-2006, 02:13 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
What does "dmesg | grep -i atapi" output?
 
Old 09-29-2006, 12:47 PM   #5
Zedd129
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Original Poster
Rep: Reputation: 0
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!
 
Old 09-29-2006, 05:17 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Use the editor of your choice (vi, vim, pico, nano) and issue as root in a terminal:
Code:
pico /etc/fstab
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 05:32 PM.
 
Old 10-06-2006, 07:22 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
  


Reply

Tags
fstab


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there DMA for SATA Optical Drives? Or is my inspiron optical not supported (yet)? RHLinuxGUY Linux - Kernel 14 09-24-2006 04:11 PM
SATA Optical Drives? Method9455 Linux - Hardware 2 09-16-2006 03:13 PM
[SOLVED] How do I get my 2 optical drives back? MBA Whore Linux - General 14 05-25-2006 03:41 AM
optical drives, help please. kenthegardener Linux - General 5 05-01-2005 08:33 AM
Help with Optical Drives QzarBaron Slackware 3 01-17-2005 02:21 PM

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

All times are GMT -5. The time now is 03:10 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