CollegeLinux This forum is for the discussion of CollegeLinux. |
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-20-2004, 06:23 AM
|
#16
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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 ? =\
|
|
|
06-20-2004, 06:30 AM
|
#17
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
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?
|
|
|
06-20-2004, 06:49 AM
|
#18
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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 ???? =\
|
|
|
06-20-2004, 07:00 AM
|
#19
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
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.
|
|
|
06-20-2004, 07:26 AM
|
#20
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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??
|
|
|
06-20-2004, 07:27 AM
|
#21
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
PS: i putted old line back =) ( sdc0)
|
|
|
06-20-2004, 07:32 AM
|
#22
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
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)
|
|
|
06-20-2004, 07:33 AM
|
#23
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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
|
|
|
06-20-2004, 07:35 AM
|
#24
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
I definitely need to see your fstab then :~]
|
|
|
06-20-2004, 07:37 AM
|
#25
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
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)
|
|
|
06-20-2004, 08:01 AM
|
#26
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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 !! 
|
|
|
06-20-2004, 08:05 AM
|
#27
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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$!!) 
|
|
|
06-20-2004, 08:18 AM
|
#28
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
[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!
|
|
|
06-20-2004, 08:36 AM
|
#29
|
Member
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146
Original Poster
Rep:
|
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 
|
|
|
06-20-2004, 08:45 AM
|
#30
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:54 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
|
|