CDRW problem : mount: special device /dev/hdc does not exsit
ON boot up the CDRW detects /dev/hdc
Here is my fstab /dev/hda5 / ext2 defaults 1 1 /dev/hda1 /fatc ntfs ro 1 0 /dev/hdb1 /fatd vfat defaults 1 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/hdc /mnt/cdrw iso9660 noauto,owner,rw 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 I was messing with ls and I think I really messed it up |
You're kinda vague there. Post the output of "mount" and the
command you're running to get "mount: special device /dev/hdc does not exsit" I'm assuming you're getting that when trying to mount /dev/hdc You should probably have something like this -> /dev/scd0 /mnt/cdrw iso9660 user,umask=1000,rw,auto 0 0 |
umask=1000 ?
What is the result of this setting ? What permission does it give ? |
excuse me, two goofs :/
|
excuse please
|
What is the problem here? you haven't described it very well. you showed us your fstab... ok... so?
and `ls` is used for LiSting the contents of a directory. it has no side-effects; ie. it cannot mess something up. If it can, could you please give me step-by-step instructions on how to use ls to mess something up? |
OK I added that line in fstab
/dev/hdc /mnt/cdrw iso9660 noauto,owner,rw 0 0 Then I do a ls -l /dev/hdc /usr/bin/ls: /dev/hdc: No such file or directory root@OnlySecure:~# ls -l /mnt/cdrw TOTAL O and when I mount /mnt/cdrw mount: special device /dev/hdc does not exist root@OnlySecure:~# mount /dev/hdc /mnt/cdrw mount: special device /dev/hdc does not exist and then I try to ln -s /dev/hdc /dev/hdc/ ln: creating symbolic link `/dev/hdc/' to `/dev/hdc': No such file or directory don't know what else to do to get this working.... |
Ok.... I'm still not 100% sure, but let me try.
This line: /dev/hdc /mnt/cdrw iso9660 noauto,owner,rw 0 0 in your fstab should make it ok, i *think*, but I ain't no expert there. this line: ln -s /dev/hdc /dev/hdc/ is not good. you are trying to symlink a file to itself (which is not normally a good thing) and the file doesn't even exist in the first place! do you have a /dev/scd0 or /dev/scd1 or a /dev/cdrom? |
see on boot it dectects my plextor cdrw as hdc in fstab it only list /dev/cdrom and that is my dvd drive which works...
There is nothing that stats /dev/scd0 |
Then when I use KDiskFree
and mount /dev/hdc I get this Called: mount -tiso9660 -onoauto,owner,rw /dev/hdc /mnt/cdrw |
hmmm not really sure. you seem to have lost /dev/hdc/ and need to get it back, i assume. unfortunately, I don't know how to get it back :(
|
If you are using any kernel before 2.6.x, and you are, if you're using
any default install of Slackware up to and including version 10.0, then you should know that a CD-RW or a DVD+/-RW will only work as a burner enabled as a scsi device. That said, you can look at my fstab and see how I've set up my DVD+/-RW, CD-RW, and usb hard drives. Code:
mingdao@paul:~$ cat /etc/fstab for scsi device 0 (the first one) and scsi device 1 (the second one). Those devices are emulating scsi devices, though they are actually ide devices, so you also have to put append lines in LILO. Code:
mingdao@paul:~$ cat /etc/lilo.conf and Linux on the second. You can look at some this output for more understanding: Code:
mingdao@paul:~$ mount this, please issue "man <command_name>" first and read that and see if it helps you; i.e. "man fdisk" (without the quote marks) or "man df" and that will give you the manual page for the command. If you still need help after that, post the output of those same commands on your computer. |
OK I have done all that changed the fstab
/dev/scd0 /mnt/cdrw iso9660 noauto,umask=1000,owner,rw 0 0 Changed lilo and added append="hdb=ide-scsi hdd=ide-scsi apm=power-off" root@OnlySecure:~# mount /dev/hda5 on / type ext2 (rw) proc on /proc type proc (rw) /dev/hda1 on /fatc type ntfs (ro) /dev/hdb1 on /fatd type vfat (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdd on /mnt/cdrom type iso9660 (ro) root@OnlySecure:~# fdisk -l Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 1374 11036623+ 7 HPFS/NTFS /dev/hda2 1375 4865 28041457+ 5 Extended /dev/hda5 1375 4865 28041426 83 Linux Disk /dev/hdb: 41.1 GB, 41174138880 bytes 255 heads, 63 sectors/track, 5005 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 5005 40202631 c W95 FAT32 (LBA) and gives me this error root@OnlySecure:~# mount /dev/scd0 mount: /dev/scd0 is not a valid block device root@OnlySecure:~# mount /mnt/cdrw mount: /dev/scd0 is not a valid block device Hmmm what else did I miss out? |
very much not an expert here... but just to thow a wild 'maybe' at you....
is there a folder in '/mnt' that represents your cdrw? a folder that says 'hdc' or something. when i first installed slackware it only detected one cd drive... not the other. i changed my fstab... only to find out i had to create a folder in /mnt to represent the drive. i could be completely off here. all the stuff you've posted has kinda confused me....lol- anyways... *maybe* this coukld help...lol |
Ya I actually created a folder in /mnt/cdrw
|
All times are GMT -5. The time now is 11:20 PM. |