LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CollegeLinux
User Name
Password
CollegeLinux This forum is for the discussion of CollegeLinux.

Notices


Reply
  Search this Thread
Old 06-20-2004, 06:23 AM   #16
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15

sorry for the late reply, im still having problems since i cant even mount my cdrom when using

# mount /dev/cdrom
mount: can't find /dev/scd0 in /etc/fstab or /etc/mtab

any ideas ? =\
 
Old 06-20-2004, 06:30 AM   #17
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
try this:
root@box# ln -sf /dev/hd* /dev/cdrom

where * = cdrom device name:
hda = pri master
hdb = pri slave
hdc = sec master
hdd = sec slave

If you dont know which one it should be, experiment by first using hdb then c then d (a is probably your hard disk).

ps. did you try kdiskfree?
 
Old 06-20-2004, 06:49 AM   #18
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
thx again =) i did all of them and nothing happened:
# ln -sf /dev/hda /dev/cdrom
#

i found some stuff on that search u gave me:

root@me:/home/me#
root@me:/home/me# mount -t iso9660 /dev/cdrom /mnt/cdrom

mount: block device /dev/cdrom is write-protected, mounting re
mount: No medium found

root@me:/home/me# ls -lah /dev/cdrom
lrwxrwxrwx 1 root root 9 Jun 9 01:21 /dev/c

root@me:/home/me# mount /dev/scd0 /mnt/cdrom -t iso9660
mount: block device /dev/scd0 is write-protected, mounting rea
mount: No medium found

root@me:/home/me# eject /dev/scd0 (this worked!! )
root@me:/home/me#

what i know is that i have a thery crappy CD-rom and its located in scd0 so everything i did shouldve worked!! so what is wrong here ???? =\
 
Old 06-20-2004, 07:00 AM   #19
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
First of all, put the old link back:

root@box# ln -sf /dev/scd0 /dev/cdrom

Now, your distro (college linux) surely is made to be easy!! there must be a way of doing it from the desktop without having to use the command line. Have a closer look at the control centre and try right clicking on any cdrom icons to see if you can mount them from there.
Surely you are not the first person to do this on college linux? anyone?

edit: could you also post the contents of your /etc/fstab too plz

Last edited by Tuttle; 06-20-2004 at 07:01 AM.
 
Old 06-20-2004, 07:26 AM   #20
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
thx for quick replys =) , i typed

root@me:/home/me# /etc/fstab
bash: /etc/fstab: Permission denied

i also got a nice little command from that search u made:# mcedit /etc/fstab ,should i write what it says??
 
Old 06-20-2004, 07:27 AM   #21
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
PS: i putted old line back =) ( sdc0)
 
Old 06-20-2004, 07:32 AM   #22
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
use kwrite to open /etc/fstab then copy and paste it. Here is mine for reference purposes:

/dev/hda12 swap swap defaults 0 0
/dev/hda10 / reiserfs defaults 1 1
#/dev/hda1 /mnt/c vfat noauto,user,ro 1 0
/dev/hda5 /mnt/d vfat noauto,user,rw 1 0
/dev/hda6 /mnt/e vfat noauto,user,rw 1 0
#/dev/hda7 /mnt/lx auto noauto,owner,rw 1 0
#/dev/hda8 /mnt/hda8 auto noauto,user,rw 1 0
/dev/hda9 /home auto defaults 1 0
/dev/hda11 /usr/local/games reiserfs defaults 1 0
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
/dev/cdrw /mnt/cdrw auto noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Quote:
PS: i putted old line back =) ( sdc0)
Its a link! (see man ln)
 
Old 06-20-2004, 07:33 AM   #23
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
sry forgetting all time (i meant scd0) and i right clicked my cdroms (ive got two "icons" of them i think its for the dvd but i only have one =\ ) on devices and mount and the first one says:
mount: can't find iso9660 in /etc/fstab or /etc/mtab

the other one says:
mount: according to mtab, /dev/hda1 is already mounted on /
mount failed
 
Old 06-20-2004, 07:35 AM   #24
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I definitely need to see your fstab then :~]
 
Old 06-20-2004, 07:37 AM   #25
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by Wiz22
thx for quick replys =) , i typed

root@me:/home/me# /etc/fstab
bash: /etc/fstab: Permission denied
btw, it said this because you were trying to execute it when it is not executable, it's a configuation file! (see man fstab)
 
Old 06-20-2004, 08:01 AM   #26
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
i found this kwrite (first time i see this ) here goes:

none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /dev/pts devpts defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda4 swap swap defaults 0 0
/dev/hda2 /usr ext3 defaults 1 2
/dev/hda3 /opt ext3 defaults 1 2
/dev/hdc
/mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0

/dev/hda1 /mnt/hda1 auto defaults 0 0

/dev/hda2 /mnt/hda2 auto defaults 0 0

/dev/hda3 /mnt/hda3 auto defaults 0 0
none /proc/bus/usb usbdevfs defaults 0 0

somethings wrong isnt it? =)
thx for fast replys !!
 
Old 06-20-2004, 08:05 AM   #27
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
ive seen it before when i studied linux under m$ xp ( http://www.humbug.org.au/talks/fstab_man.txt )
i have a textdocument full of em =P im working hard getting rid of something i hate!!! (m$!!)
 
Old 06-20-2004, 08:18 AM   #28
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
[QUOTE]Originally posted by Wiz22
Code:
none		/proc		proc	defaults	0 0
none		/dev/shm	tmpfs	defaults	0 0
none		/dev/pts	devpts	defaults	0 0
/dev/hda1	/		ext3	defaults	1 1
/dev/hda4	swap		swap	defaults	0 0
/dev/hda2	/usr		ext3	defaults	1 2
/dev/hda3	/opt		ext3	defaults	1 2
/dev/hdc
	/mnt/cdrom	iso9660	noauto,user,ro	0 0
/dev/fd0	/mnt/floppy	auto	noauto,user	0 0

/dev/hda1 /mnt/hda1 auto defaults 0 0

/dev/hda2 /mnt/hda2 auto defaults 0 0

/dev/hda3 /mnt/hda3 auto defaults 0 0
none      /proc/bus/usb   usbdevfs        defaults	0 0
this:
Code:
/dev/hdc
	/mnt/cdrom	iso9660	noauto,user,ro	0 0
should be:
Code:
/dev/hdc	/mnt/cdrom	iso9660	noauto,user,ro	0 0
To make the changes, open a console and type:

user@box$ su
[enter password]
root@box# mc

If "mc" (midnight commander) runs ok, navigate to /etc, highlight fstab then press F4 to edit it.
If "mc" isnt installed then you can either:

root@box# kwrite

and edit it or learn to use vi.

If you have another cd device just add it in the same manner; making sure to create the new mountpoint (eg. /mnt/dvd) and use the correct device (eg. /dev/hdd).

Good luck!
 
Old 06-20-2004, 08:36 AM   #29
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
woho i did it! =) now i got 3 CDroms!!!! =\

the third one gives a different error atleast:

mount: wrong fs type, bad option, bad superblock on /dev/hdc
or too many mounted files system
(could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)

atleast im on the right track now
 
Old 06-20-2004, 08:45 AM   #30
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
nice.
Quote:
woho i did it! =) now i got 3 CDroms!!!! =\
the third one gives a different error
Do you mean the other two work?!
Quote:
(could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)
sr0 probably yes. It's called sr_mod. You could try "lsmod" to see if the sr_mod kernel module is loaded too.
 
  


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
Is it possible to watch 2 movies at same time on linux? Nyybai Linux - Software 1 05-04-2005 04:51 AM
AAAYYYEEEE Wanaa watch movies on Linux? saint_devil Linux - Software 9 01-22-2005 04:00 PM
Can't watch DVD movies FXRS Linux - Hardware 2 08-25-2004 10:21 AM
How to watch .rm movies? jimman Linux - Software 3 09-06-2002 02:44 AM
How do I watch Divx movies in linux? Cheese Linux - Newbie 3 12-22-2001 03:53 AM

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

All times are GMT -5. The time now is 09:54 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