LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2002, 02:02 PM   #1
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
Question slackware 8


I just installed slackware 8 for the first time and I have no directory for the floppy drive. I have a directory showing for the cdrom but it will not open. could anyone help.

thanks,
joe
 
Old 01-18-2002, 02:23 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
are you talking about like in the /mnt directory..? you should be able to create one.. name it something like floppy..
edit your fstab if you want the entry there as well..
 
Old 01-18-2002, 02:28 PM   #3
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
cdrom

I have a /cdrom directory which wont open the cdrom any suggestions
 
Old 01-18-2002, 02:39 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Re: cdrom

Quote:
Originally posted by jstu
I have a /cdrom directory which wont open the cdrom any suggestions
well if i think what i think your trying to do, first you have to mount the cdrom to that directory...

something like this: mount /dev/hdc /mnt/cdrom

then you can cd into the directory... are you mounting the cdrom first.. same goes for a floppy disk too...
 
Old 01-18-2002, 02:40 PM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
The cd has to be mounted before you can use it. /cdrom is just the mount point. To mount the cd type the following:

mount /dev/hdb /cdrom
That should work as a generic mount command IF your cdrom is the second drive in your system. If you have two harddrives the cdrom may be hdc etc...To eject it you have to unmount it by typing umount /cdrom or umount /dev/hdb etc... Then you can eject it. Depending on the filesystem on the cd, for example if it's UDF (the packet writing method of cd/rw's), you'll have to add support for it in the kernel or type /sbin/modprobe udf on the command line to load the module. Type man mount to get all of the options you can use, but if it's a plain old cd you shouldn't have to pass any special options. The same is for the floppy. Slack doesn't automagically set things up like other distros, you'll want to get used to doing things alot more manually.
 
Old 01-18-2002, 03:46 PM   #6
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
slackware

when i type mount /dev/hdb /cdrom I get /dev/hdb is not a valid block device.
 
Old 01-18-2002, 03:57 PM   #7
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
one more thing

one more thing do you think slackware is better than debian or doesnt it matter.
 
Old 01-18-2002, 04:37 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
try this: first must make sure your CD rom is set up in your device files. /dev directory that is.
make sure you have something like this in your fstab file ../etc/fstab

/dev/cdrom /mnt/cdrom iso9660 noauto,ro,usr 0 0
(all one line) the /dev/cdrom can also be your hdb, however it is setup as primary or secondary controller.. on the first ide... etc
then make sure you have an empty directory /mnt/cdrom/

then use the command:
mount /mnt/cdrom/

then go to the directory /mnt/cdrom/ and your cd files should be there.

even though, i don't have an entry for my cdrom in fstab, i can still mount my cdrom with no problem.

well, i won't discuss in details about slack vs debian.. lets just say i like them both and recommend them for advanced users.

oh you can find some more solutions if that first one doesn't work here: http://www.computing.net/linux/wwwboard/forum/6331.html
 
Old 01-18-2002, 07:12 PM   #9
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
i beleive that a simple mount /dev/cdrom (since cdrom should be a link to /dev/hdc or whatever the cdrom is on)
so try mount /dev/cdrom /cdrom
and then when you try to enter the /cdrom directory you should get all that is on the cd... to eject the disk you have to umount it first (umount /cdrom).
 
Old 01-19-2002, 06:18 PM   #10
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
cool

cool you guys have been a lot of help
thanks
joe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 10:54 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 01:49 PM
Slackware 10 RC2 released; Slackware 10 imminent... SBing Slackware 22 06-22-2004 08:53 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 01:47 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration