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.
|
 |
03-15-2006, 02:28 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11
Rep:
|
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.
|
|
|
03-15-2006, 02:32 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
Can you post the output of `cat /etc/fstab` and `v /dev/cd*` ?
|
|
|
03-15-2006, 02:39 PM
|
#3
|
LQ Newbie
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11
Original Poster
Rep:
|
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
|
|
|
03-15-2006, 02:42 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
And now, `v /dev/hdc` ?
|
|
|
03-15-2006, 02:44 PM
|
#5
|
LQ Newbie
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11
Original Poster
Rep:
|
Code:
brw-rw---- 1 root disk 22, 0 2002-06-09 19:27 /dev/hdc
|
|
|
03-15-2006, 02:57 PM
|
#6
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
Did you mount as root or as a regular user?
|
|
|
03-15-2006, 03:00 PM
|
#7
|
LQ Newbie
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11
Original Poster
Rep:
|
mounted as root.
|
|
|
03-15-2006, 03:32 PM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,799
|
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?
|
|
|
03-15-2006, 03:56 PM
|
#9
|
LQ Newbie
Registered: Mar 2006
Location: USA
Distribution: Slackware 10.2
Posts: 11
Original Poster
Rep:
|
Haha, how could I be so stupid. I plugged it into the wrong IDE slot when I reinstalled the new mobo. Thanks man.
|
|
|
03-17-2006, 01:11 AM
|
#10
|
LQ Newbie
Registered: Mar 2006
Location: Indonesia
Distribution: Slackware, PCBSD
Posts: 1
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:39 AM.
|
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
|
|