Slackware This Forum is for the discussion of Slackware 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.
|
|
06-01-2006, 02:57 AM
|
#1
|
Member
Registered: Nov 2003
Posts: 360
Rep:
|
Can't mount CD-ROM after passed hdc=ide-scsi parameter to kernel !
Since now I've never burned a CD under Linux. Now after I installed NeroLINUX logged in as root it warned me I should pass "hdc=ide-scsi" parameter to kernel in lilo.conf (so I did), rebooted, started NeroLINUX again even erased and burned my rewritable cd smooth. Now when I wanted to check the CD to see if all files were burned and I tried to mount de CD-ROM drive I've got an error like:
Code:
root@nykey:~# mount /dev/cdrom
mount: you must specify the filesystem type
Now here is my line from /etc/fstab:
Code:
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
I've tried passing all fstypes I know and neither one worked. Could someone give some indications ?
<EDIT> SORRY ABOUT THIS. I've found out I only had to replace /dev/cdrom with /dev/sr0 . <EDIT>
Last edited by nykey; 06-01-2006 at 03:15 AM.
|
|
|
06-01-2006, 03:33 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
change '/dev/cdrom' to '/dev/hdc' in your fstab and that should hopefully fix it.
regards,
...drkstr
|
|
|
06-01-2006, 04:54 AM
|
#3
|
Member
Registered: Nov 2003
Posts: 360
Original Poster
Rep:
|
Fixed it. Actually I had to replace /dev/cdrom with /dev/sr0. It is so obvious I'm a bit ashame for posting a thread 'bout this .
|
|
|
06-01-2006, 11:20 AM
|
#4
|
Member
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279
Rep:
|
While NeroLINUX may require "hdc=ide-scsi" cdrecord, itself doesn't. You can easily burn CDs by running
"cdrecord -scanbus dev=ATAPI"
That will ID where your CD-ROM Drive is on the bus and
"cdrecord -v dev=ATAPI:0,0,0 someiso.iso"
Will do the actual burning, just adjust the dev= part to match the output of scanbus.
You can make the iso with
"mkisofs"
CDs are not like floppies where you put down a filesystem first than write files on top of it. with CDs everything must be done in one shot since once the dye layer is burned away you can't change it without destroying the data.
If you've burned a CD with WinXP you know that Windows opens a tmp folder and you then copy files to it. Behind the scences Windows rolls those files into an ISO than burns the ISO to the CD and deletes the ISO.
Dennisk
Last edited by dennisk; 06-01-2006 at 11:21 AM.
|
|
|
06-01-2006, 06:49 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
Fixed it. Actually I had to replace /dev/cdrom with /dev/sr0.
|
Oops, my mistake. No more LQ for me when it is past my bed time.
Quote:
It is so obvious I'm a bit ashame for posting a thread 'bout this .
|
There's no reason to be ashamed, we all over look the obvious every once in a while. I just did this by replying without thinking it though all the way myself. In my opinion that is much worse then asking the question in the first place.
Glad you got it working!
regards,
...drkstr
|
|
|
06-02-2006, 05:24 AM
|
#6
|
Member
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480
Rep:
|
Quote:
Originally Posted by nykey
Fixed it. Actually I had to replace /dev/cdrom with /dev/sr0. It is so obvious I'm a bit ashame for posting a thread 'bout this .
|
Pfft. Don't worry about it. This is still one of the most common problems people have with burners, and you posting about it means probably 2-3 people who ran into the same issue are now looking at the solution to their problem, having found this post with a search engine.
|
|
|
06-02-2006, 06:06 AM
|
#7
|
Member
Registered: Nov 2003
Posts: 360
Original Poster
Rep:
|
Yeah, that's a fact. Hope this helps someone. Cause now after I recompiled my kernel to v2.6 I needed to change the line in /etc/lilo.conf with and modify my /etc/fstab from
Quote:
/dev/sr0 /mnt/cdrom auto noauto,users,ro 0 0
|
back to
Quote:
/dev/hdc /mnt/cdrom auto noauto,users,ro 0 0
|
because scsi emulation is no longer needed in v2.6 kernel series.
|
|
|
06-03-2006, 04:26 PM
|
#8
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
I'm a little tired here, but I believe in 2.6 kernels you don't need the hdc=ide-scsi" anymore. It's been depracated. Altho I dont use the nero burner.
Last edited by Old_Fogie; 06-09-2006 at 12:48 PM.
|
|
|
06-03-2006, 04:53 PM
|
#9
|
Member
Registered: Nov 2003
Posts: 360
Original Poster
Rep:
|
Yeah, that's what I said, that I don't need the hdc=ide-scsi kernel parameter anymore in v2.6 kernel and switched back to hdc=ide-cd. Also replaced /dev/sr0 with /dev/cdrom. I had those options (ide-scsi and /dev/sr0) from when I had v2.4 kernel and needed emulation.
|
|
|
06-03-2006, 09:55 PM
|
#10
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
oh lol, i didnt realize.
but I dont think you need to pass anything to lilo for your cd rom at all anymore.
i'm pretty sure you dont need that in your lilo anymore, the kernel should do it for you know.
Last edited by Old_Fogie; 06-09-2006 at 12:48 PM.
|
|
|
All times are GMT -5. The time now is 03:07 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
|
|