In Linux any devices before using should be mounted. I guess you have not mounted, and hence unable to use those.
In your file system there's a /mnt directory which will have normally a 'cdrom' and 'floppy' subdirectories. May be a 'cdrom1' also if you have additional cd drives. These are the normal mount points used.
if you want to mount a cd drive follow this.
1. Insert disk & close drive.
2. type 'mount /dev/cdrom -t iso9660 /mnt/cdrom' at the command prompt without quotes.
3. change your directory to /mnt/cdrom
4. list the directory contents and you will see the contents of your cd rom.
Please note that once you have mounted, you have to un mount before ejecting the cd. The below command with do exactly that.
For a floppy drive
1. Insert the diskette.
2. type 'mount /dev/fd0 -t vfat /mnt/floppy' at the command prompt without quotes.
3. change your directory to /mnt/floppy
4. list the directory contents and you will see the contents of your floppy disk.
umount /dev/fd0 can unmount the floppy disk.
You may have to select the appropriate filesystem of the device you are using, while mounting.
Hope this helps.
<i>The outcome of devotion is, quality!</i>
Re: trouble to use linux
14 years 8 months ago #3091
Thats odd, almost all distributions of Linux include automount that will automatically mount the CD just like autoplay.. therefore I'm assuming he's not made it into X yet..
The commands Cheetah has given you are correct, I'll just add that if you dont have an mnt/cdrom directory you can create one by typing
If you have other filesystems that you need to mount (such as a windows hard drive etc) then you will have to modify your /etc/fstab file so that you dont have to mount the drives manually everytime you reboot.
Understand how Linux names hard drives:
/dev/hda is the first hard disk, /dev/hdb is the second, /dev/hdc is the third etc..
now within each of these the partitions (c: d: etc) are numbered..
/dev/hda1 is the first partition on your first hard disk (if you use windows this would be your C: drive)
/dev/hdb3 is the third partition on your second hard disk..