Linux - NewbieThis 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
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.
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.
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25
Rep:
CDrom stopped working
For some reason my cdrom doesnt mount anymore. It worked fine from the get-go, the only reason I can think of is because I created a swapfile yesterday. The swapfile works fine.
The cdrom was working perfectly before I created the swapfile. Here is the error I get when it tries to mount the cdrom on bootup.
mount: wrong fs type, bad option, bad superblock -on /dev/cdrom, or too many mounted file systems.
I removed the entry in fstab so the swapfile didn't load, thinking that might fix so I could at least copy the file I wanted from the cdrom, rebooted, and it still encountered an error when mounting my cdrom. Also, the floppy isn't mounting either. So turning off the swapfile didn't seem to fix it.
The cdrom and floppy stopped working after I created the swapfile, that is the only explanation I can think of because they worked fine before.
My goal is to get the cdrom and floppy working again and have the swapfile on.
My system is DSLinux, linux formatted ext2, on a P233mhz, 2GB HD, 32megs RAM.
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25
Original Poster
Rep:
specifically when i
mount /dev/cdrom /mnt/cdrom or even mount /dev/sdc0 /mnt/cdrom
/dev/cdrom: Input/output error
mount: block device /dev/cdrom is write-protected, mounting read-only
mounting read only
/dev/cdrom: Input/output error
mount: you must specify the filesystem type
please help. it is driving my batty, i am googling everything i can think of.
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25
Original Poster
Rep:
ITS WORKING!!
Typing mount -t iso9660 /dev/scd0 /mnt/cdrom
did finally mount the cd.
after that I was at root@/cdrom: when typing ls , it wouldn't display anyfiles on the cd, neither could i see anything in a gui file viewer. but it was mounting and unmounting, because the eject command ejected the cdrom.
so I rebooted and then mounted the cd and presto I could see the files and work with them again.
mount /dev/cdrom /mnt/cdrom a million times finally caught on!!
in reguards to the process I learned to create a swap file this is what I did, I think i did it right because it works. i put the swapfile in /opt
then added /opt/swapfile swap swap defaults 0 0 to fstab
Thank you so much for you help! I'll be keeping a close eye on my cdrom and floppy and keep you posted.
Next I'm on to my first time compiling and installing software in Linux. I'm going to try and install xscreensaver.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.