--What does ' cdrecord -scanbus ' return?
Originally Posted by knoppixnewb
hi all!
i have done the knx-hdinstall and all is well except.
having trouble with knoppix finding my cd drives (1 burner and a dvd player).
recent upgrade to 3.3 and i still can't get my burner and DVD to work
--What does ' cdrecord -scanbus ' return?
Originally Posted by knoppixnewb
I had the problem with CD/RW and DVD using knx-hdinstall on version 3.2 (9-5-03). My CD/RW is IDE master and worked after install. My DVD drive is IDE slave and did not work. I found that the DVD had the wrong symbolic link. After install, "ls -al /dev/dvd" returned "/dev/dvd -> /KNOPPIX/dev/dvd". I fixed it by:
rm -f /dev/dvd
ln -s /dev/scd1 /dev/dvd
Now I can play movies on Mplayer!
hi!
sory i have been gone for ages but i was hanging on for 3.3 and.....erm....problem is still there.
this is what i get with the command "cdrecord -scanbus"
0,0,0 0) 'DVD_ROM' '16X' '5.cv' Removable CD_ROM.
0,1,0 1) 'CDWriter' 'IDE5224' '001H' Removable CD_ROM
of course there, are a bunch of blank lines. but i could not be bothered to type them all in. (freeeeeeekin winmodem).
hope you can help Dave!!
Your drives are there so it is just a matter of having the correct lines in the /etc/fstab, they should look like this:Originally Posted by knoppixnewb
You would have to edit the /etc/fstab file as root and add the lines or modify them if they already exist and you would then have to mkdir dvd as root in the / directory from a console window.Code:/dev/scd0 /dvd iso9660 ro,user,noauto 0 0 /dev/scd1 /cdrom iso9660 ro,user,noauto 0 0
Then after having made the changes you would right click on the desktop and create the shortcut icons for the drives and you will be able to access them. If you have problems could you post the /etc/fstab file so we can see it.Code:cd / then mkdir dvd
thanks.
here is my fstab. i do not understand what you where saying.
# /etc/fstab: file system table
#
#file system mount point type options dump pass
/dev/hda5 / ext3 defaults,errors=remount -ro 01
/dev/hda6 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,noexc,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
#added by knoppix
/dev/hda7 /mnt/hda7 ext3 noauto,users,exec 0 0
thats the lot hope it helps
You file should look like this after editing as root:
Then you would still have to make the /dvd directory as root if it does not exist and everything should work. To check for the directory open a console window (clam shell icon on the taskbar) and ls -l /dvd if it says file does not exist then su enter type in your root password enter again then cd / and enter next mkdir dvd enter once again and the directory will have been created then make your shortcuts on the desktop. BTW what do you have on the /dev/hda7 partition?Code:# /etc/fstab: file system table # #file system mount point type options dump pass /dev/hda5 / ext3 defaults,errors=remount -ro 01 /dev/hda6 none swap sw 0 0 proc /proc proc defaults 0 0 /dev/fd0 /floppy vfat defaults,user,noauto,noexc,umask=022 0 0 /dev/scd0 /dvd iso9660 defaults,ro,user,noexec,noauto 0 0 /dev/scd1 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 #added by knoppix /dev/hda7 /mnt/hda7 ext3 noauto,users,exec 0 0
thanks heaps.
just a general question though. why the scd0? i already know that cdrw's use scsi emulation (assuming that scd resembles scsi devices) but why use scd0 for my DVD drive? and how does linux use the fstab, does it just point the kernal to my hardware? if so how? of course if you could provide a link explaining all of this it would be greatly appreciated.
thanks for your help.
It is the real device everything else is linked to it on my computer for my burner:Originally Posted by knoppixnewb
As you can see /dev/cdrom is linked to /dev/cdrom0 which in turn is linked to the actual block device /dev/scd0. The reason for using /dev/scd0 for the DVD is it's the first scsi emulated device seen by the OS when you scanned the bus with cdrecord so that is what device you have to use to access it. The reason I use it in the /etc/fstab and when accessing from the command line is when you install programs that use it sometimes they mess up the symbolic links like for example k3b and put all kinds of junk in the /etc/fstab that interfers with access to the device if not done right, using the actual device eliminates the middle man so to speak and will always give you access not matter how bad things get messed up.Code:[04:00 PM Thu Oct 09: stephen @ ~] >$ ls -l /dev/cdrom lrwxrwxrwx 1 root root 11 2003-10-09 15:55 /dev/cdrom -> /dev/cdrom0 [04:00 PM Thu Oct 09: stephen @ ~] >$ ls -l /dev/cdrom0 lrwxrwxrwx 1 root root 9 2003-10-09 15:55 /dev/cdrom0 -> /dev/scd0 [04:00 PM Thu Oct 09: stephen @ ~] >$ ls -l /dev/scd0 brwxrwxrwx 1 stephen root 11, 0 2002-03-14 17:54 /dev/scd0
When Linux needs to access a device like a cdrom or hard drive it looks to the /etc/fstab for the proper settings and mount points to use.
A couple of links:
http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html
http://www.tldp.org/HOWTO/CD-Writing-HOWTO-2.html
just the kind of thing i was looking for. it has helped heaps thank's.
Dell XPS 8930 Gaming Desktop Core i7 9th 8-core 1TB HDD 20GB RAM NVIDIA GTX GPU
$399.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
HP ProDesk 600 G3 DM w/ Core i5-7500T CPU - 8GB RAM - No Drive, Adapter or OS
$59.99
Dell OptiPlex 3060 SFF Core i5 8500, 8GB RAM, 128GB SSD, Windows 11 Home
$159.99
EXCELLENT 2020-2022 iMac 27" 5K, 3.8 GHz 8-Core i7, 1TB SSD, 64GB RAM, 5500XT
$1765.00
Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU
$262.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$24.00
Dell OptiPlex 7040 Intel core I7-6700 3.4 GHz 8 GB ram No HDD/No OS
$59.99
Dell Optiplex 5040 MT Core i5-6500 3.20GHZ 8GB RAM 256GB SSD Win 10 Pro WiFi
$89.99