-
Yet another 'missing' CDROM thread...
I just installed knoppix 3.8 (debian style), and while my CD ROM was detected and working perfectly in the live version, the hdd version fails to detect it.
Now I have read the many posts on this topic, but all of the solutions say to link to /dev/sr0 or similar (which isnt a valid device on my system).
When I look at dmesg, I get:
Code:
hdc: SONY DVD RW DRU-710A, ATAPI CD/DVD-ROM drive
and
Code:
ide-cd: passing drive hdc to ide-scsi emulation.
Nothing else in dmesg seems relevent.
I tried symlinking to /dev/hdc, but even that wont work.
This is using only the 2.6 kernel (3.8 doesnt install anything else)
My relevent lilo.conf portion is:
Code:
image=/boot/vmlinuz-2.6.11
label="Linux(2.6)-1"
initrd=/boot/initrd.img-2.6.11
append="ramdisk_size=100000 lang=en apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce "
read-only
Any assistance on this would be appreciated.
-
Senior Member
registered user
Good for you for doing your homework! Every new version of something brings new surprises, eh?
Your dmesg shows that the drive is being detected - it's just not where you can find it. To see where Knoppix put the thing do this: $ cat /etc/fstab. Here's part of mine, from my shiny-fresh installation of 3.8.1:
Code:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/cdrom /cdrom iso9660 defaults,ro,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
Now, where are you having problems? From the KDE desktop? When I hovered my mouse over the CD-ROM icon, I saw that the shortcut pointed to /mnt/cdrom.
Well, that won't work! To change it, I right-clicked on the icon, left-clicked on Properties, left-clicked on the URL tab, and changed it to just /cdrom.
Does that help?
-- Ed
-
Senior Member
registered user
I don't use LILO, so please take anything I say about it with a grain of salt.
Please try it again after nuking all the "hdx=scsi" entries from lilo.conf and rerunning (here's the "take with a grain of salt" part) /sbin/lilo. This kernel doesn't use SCSI emulation for CD drives any more and, in my experience, often won't mount them if the "hdx=scsi" parameter is there.
Knoppix includes an automounter daemon by default, so you can usually easily tell when you've got it set up correctly by firing up Konqueror with a CD in the drive and clicking the "+" by the /mnt directory in the left-hand pane. The automounter should detect that there's a CD in the drive and create a symlink to /mnt/cdrom.
-
Senior Member
registered user
Oh. Yeah. What he said. You absolutely must run lilo after making any changes to the file /etc/lilo.conf in order for those changes to get written to the boatloader.
Ummm, about those 8 hard drives (hda ... hdh).... LILO notation is hd and then a letter for each physical drive, and then a number for each partition on that drive.
One of my computers has only one hard drive, and it has these partitions: hda1, hda2, hda3, (hda4 is an extended partition), and hda5 ... hda11.
The other computer has two hard drives, so if I had LILO installed instead of GrUB the partitions would be: hda (Windows has the whole drive), hdb1, hdb2, hdb3.
... firing up Konqueror with a CD in the drive and clicking the "+" by the /mnt directory in the left-hand pane
Okay, I give. There have been times when clicking on the little disk icon on the desktop hasn't worked for me when it was set to /mnt/cdrom, with both Knoppix 3.7 and 3.8.1. And now it does.
So I'll withdraw my suggestion about changing the icon and let you focus on your /etc/lilo.conf.
-- Ed
-
If I remove all of the hd*=scsi flags from the kernel line, the kernel fails to boot (it wont even get past the "Loading Linux................" portion) I tried this after reading someone else post before I even posted...
However, something I just tried, if I remove just the hdc=scsi portion (and leave the rest), my cdrom works perfectly.
It seems to me that the kernel wants =scsi for my harddrive or it wont boot up...odd
So problem fixed.
-
Senior Member
registered user
It seems to me that the kernel wants =scsi for my harddrive or it wont boot up...odd
That's very interesting. Will have to remember that.
<edit>
If you feel like experimenting, you might try it without the ramdisk (i.e. delete the "initrd=/boot/initrd.img-2.6.11" line, and the "ramdisk_size=100000" parameter), then see if it works without the "hdx=scsi" parameters.
The ramdisk may be why the "hdx=scsi" parameters are still necessary for you.
(Unless you do, in fact, have a SCSI hard disk...)
-
Senior Member
registered user
Re: Yet another 'missing' CDROM thread...
Originally Posted by
TheDevilsJester
I just installed knoppix 3.8 (debian style), and while my CD ROM was detected and working perfectly in the live version, the hdd version fails to detect it.
Now I have read the many posts on this topic, but all of the solutions say to link to /dev/sr0 or similar (which isnt a valid device on my system).
Actually it's /dev/scd0 you must link to. For a permanent fix with a Knoppix install I had to modify /etc/init.d/knoppix-autoconfig. See this post: http://www.knoppix.net/forum/viewtopic.php?t=13601
I would have thought *they* would have fixed this by now, this bug first appeared in 3.4 with the introduction of the 2.6 kernel. This is one of the reasons I have switched to Kanotix; it has fewer bugs like this and those that do appear get fixed.
Similar Threads
-
By hooper_fc5 in forum Networking
Replies: 0
Last Post: 04-27-2006, 02:03 AM
-
By master inuyasha in forum Games
Replies: 2
Last Post: 04-16-2006, 07:40 PM
-
By Keithj in forum Hardware & Booting
Replies: 2
Last Post: 06-10-2005, 09:59 PM
-
By SkyHawk in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 02-14-2004, 04:40 AM
-
By Koga in forum General Support
Replies: 3
Last Post: 01-11-2003, 12:07 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46
$109.99
SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46
$10.99
512GB USB Flash Drive External Storage Memory Stick For iPhone iPad Android
$17.59
SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46
$12.99
Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory
$24.99
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1
$13.00
Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof
$8.34
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$388.39
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$379.99