LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2006, 02:28 PM   #1
MikeEnIke
LQ Newbie
 
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11

Rep: Reputation: 0
CD-Rom is not a valid block device.


Hey guys, I installed slackware on my rig probably about 6-8 months ago. Everything has worked fine, I'm a bit of a linux n00b but I'm good with computers so I've learned pretty quickly. Now, I have recently wanted to isntall samba because I realized that getting it is how I will be able to access my windows network and the printer connected to my windows computer. I found out that samba is a package on the first slack CD so I tried to put it in and mount it. Well i get an error saying "mount: /dev/cdrom is not a valid block device." and it has worked in the past. The only thing that I changed on my computer within that past month is I got a new motherboard, but it was the same mother board... same version, brand, everything (Abit AN7). So I type "mount /mnt/cdrom" and I get that error. Has anyone has this problem in the past and can anyone offer me any kind of insight into fixing it? Thanks.
 
Old 03-15-2006, 02:32 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Can you post the output of `cat /etc/fstab` and `v /dev/cd*` ?
 
Old 03-15-2006, 02:39 PM   #3
MikeEnIke
LQ Newbie
 
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
fstab output is
Code:
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,ro  0   0
and the /dev/cd* is
Code:
lrwxrwxrwx  1 root root      8 2005-12-26 22:03 /dev/cdrom -> /dev/hdc
brw-rw----  1 root cdrom 24, 0 1994-07-18 16:07 /dev/cdu535
 
Old 03-15-2006, 02:42 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
And now, `v /dev/hdc` ?
 
Old 03-15-2006, 02:44 PM   #5
MikeEnIke
LQ Newbie
 
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
Code:
brw-rw----  1 root disk 22, 0 2002-06-09 19:27 /dev/hdc
 
Old 03-15-2006, 02:57 PM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Did you mount as root or as a regular user?
 
Old 03-15-2006, 03:00 PM   #7
MikeEnIke
LQ Newbie
 
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
mounted as root.
 
Old 03-15-2006, 03:32 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Is the CDROM drive still /dev/hdc? i.e. connected to 2nd IDE controller master?
Check the output of the dmesg console command for messages relating to hdc. Do you see any errors?
Is this the first time you have attempted to use the drive since replacing the motherboard?
Is the drive still enabled in the motherboard BIOS?
 
Old 03-15-2006, 03:56 PM   #9
MikeEnIke
LQ Newbie
 
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
Haha, how could I be so stupid. I plugged it into the wrong IDE slot when I reinstalled the new mobo. Thanks man.
 
Old 03-17-2006, 01:11 AM   #10
HendiX
LQ Newbie
 
Registered: Mar 2006
Location: Indonesia
Distribution: Slackware, PCBSD
Posts: 1

Rep: Reputation: 0
IDE primary master --> hda
IDE primary slave --> hdb
IDE secondary master --> hdc
IDE secondary slave --> hdd

Example
when you installed slackware and cdrom plugged intohdb at first time. And you want to change cdrom into hdd , all you have todo is :
1. remove file /dev/cdrom
2. create the new one as root
#link /dev/hdd /dev/cdrom
mount your cdrom as usually
GOD BLESS YOU
 
  


Reply



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
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
Fedora Core 1 SCSI CD-ROM Won't Mount (always get "is not a valid block device") jerrykuch Linux - Hardware 2 04-18-2004 01:02 PM
Can't mount cd-rom drive (not a valid block device) patrickdepingui Linux - Hardware 3 04-14-2003 11:39 AM
RedHat 8.0 valid block device ?? Tuzinor Linux - Hardware 0 02-09-2003 07:46 PM
mounting cd-rom(not a valid block device) reidstev Linux - Hardware 5 11-12-2002 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 PM.

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