help mounting
can someone help me mount a cd writer and a external usb floppy drive?
i tried mounting the cd rom but mount /dev/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems ? thanks you |
for the externam floppy, i am not %100 sure, but external drives may be set up as /dev/sda1 or /dev/sda2. I have an external (USB) flash card reader and when i installed slackware, it saw the device as /dev/sda1 instead of /dev/hdb1, because /dev/hda is for your hard drive. You may want to look into /dev/sda as the location of your external USB connected devices... What kind of CD burner do you have?
|
Post the contents of /etc/fstab. My cdrom entry looks like this:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 If yours is the same, be sure you have a directory called /mnt/cdrom Then use $ mount /mnt/cdrom or $ mount /dev/cdrom Also, I need to be root to mount my drive. $ su, $ password, $ mount /dev/cdrom. |
/dev/hda4 swap swap defaults 0 0
/dev/hda6 / ext2 defaults 1 1 /dev/hda1 /win1 vfat defaults 1 0 /dev/hda5 /win2 vfat defaults 1 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 /dev/cdrom /cdrom iso9660 noauto,user,ro 0 0 |
Looks ok. Did you try as root? You also need to have a cd in the drive to mount it, and 'umount' to remove the cd. If the cd is corrupt you may get errors as well.
|
uhmm..
root@192:/home/marc# mount /dev/cdrom mount: /dev/cdrom is not a valid block device root@192:/home/marc# /mnt/cdrom bash: /mnt/cdrom: is a directory |
pls try to elaborate on things more.. im kinda new to all these
|
you must have a CD in the drive before you can mount it. Also, an audio CD (like an ordinary music CD) won't do either. You need a data CD to be able to mount it.
It might help if you change the entry in fstab from /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 to /dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0 |
oh.. i tried changing the lines and the cd...
my fstab now looks like /dev/hda4 swap swap defaults 0 0 /dev/hda6 / ext2 defaults 1 1 /dev/hda1 /win1 vfat defaults 1 0 /dev/hda5 /win2 vfat defaults 1 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 /dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0 but mount /dev/cdrom,,, gives me [mntent]: warning: no final newline at the end of /etc/fstab mount: /dev/cdrom is not a valid block device and can you explain what fstab is for? |
You have two lines with /dev/cdrom. Get rid of the first one or place a # in front of it (this way it turns into a comment and won't have any effect). Press Enter afte rthe last line of fstab to get rid of that error message about no final line blah.
fstab stands for File System Table. It specifies what partition is to be mounted where and how and also where and how cdroms and floppies and other such devices are to be mounted. |
what is your distribution, actually? And what kind of CD-drive is it? Also external?
|
its a lite on cd rw... its internal..
im running slackware 9.1 ={ my fstab now looks like /dev/hda4 swap swap defaults 0 0 /dev/hda6 / ext2 defaults 1 1 /dev/hda1 /win1 vfat defaults 1 0 /dev/hda5 /win2 vfat defaults 1 0 #/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 /dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0 mount /dev/cdrom now gives me mount: /dev/cdrom is not a valid block device |
sori if this already seems stupid dont really know much,,
|
# mkdir /mnt/cdrw
# mount /dev/sr0 /mount/cdrw mount: block device /dev/sr0 is write-protected, mounting read-only # cdrecord --scanbus Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' scsibus0: 0,0,0 0) 'ASUS ' 'CRW-5224A ' '1.20' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * |
All times are GMT -5. The time now is 11:15 PM. |