Re: Now Can't Mount the CDROM
Hi Bruce,
I?m grateful for your help. It seems as though the problem
is there is no /cdrom directory or files! Do you know how I can
fix this? Perhaps load a disk image onto a floppy, or...?
Thanks!
- Manu
Here's the latest script:
Agape:~# mount /dev/sonycd /cdrom
mount: /dev/sonycd is not a block device
Agape:~# ls -l /dev/sonycd /dev/cdrom
ls: /dev/cdrom: No such file or directory
total 0
brw-rw---- 1 root disk 15, 0 May 5 20:37 sonycd-
Agape:~# ls -l /dev/cdrom
ls: /dev/cdrom: No such file or directory
Agape:~# /dev/MAKEDEV /cdrom
/dev/MAKEDEV: don't know how to make device "/cdrom"
Agape:~# /dev/MAKEDEV cdrom
/dev/MAKEDEV: don't know how to make device "cdrom"
Agape:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>
<dump> <pass>
/dev/hda2 / ext2 defaults,errors=remount-ro 0
1
/dev/hda3 none swap sw 0
0
proc /proc proc defaults 0
0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto
0 0
Agape:~# ln -s /dev/sonycd /dev/cdrom
Agape:~# mount /dev/sonycd /cdrom
mount: /dev/sonycd is not a block device
Agape:~# exit
exit
Script done on Fri May 5 21:21:37 2000
In a message dated 5/5/00 9:07:46 PM EST, bsass@freenet.edmonton.ab.ca writes:
<<
> Hello!
>
> Bruce, thanks for the tip about ?script?. For whatever reason, ?man?
> didn?t work, but I got the script working anyway. Here are the relevant
> excerpts:
>
> Agape:~# ls -l /dev/{sonycd,cdrom}
> ls: /dev/{sonycd,: No such file or directory
> ls: cdrom}: No such file or directory
Ack! Try: "ls -l /dev/sonycd /dev/cdrom"
a{b,c} == ab ac, or at least it is if bash is the shell
<...>
> Agape:/etc# ae fstab
> File "fstab" 345 bytes read.
> 7m....5...10....5...20....5...30....5...40....5...50....5...60....
> 5...70....5...80 /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> /dev/hda2 / ext2 defaults,errors=remount-ro
> /dev/hda3 none swap
> proc /proc proc defaults
Hmmm, where are the dump and pass flags; there should be "0 1" at the
end of the "/dev/hda2" line, and "0 0" at the end of the others. Also,
try "cat /etc/fstab", instead of "ae fstab".
You could add:
/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0
> Agape:/etc# lsmod
> Module Size Used by
> cdu31a 21448 0 (unused)
> serial 18412 0
> parport_pc 5492 1 (autoclean)
> lp 5184 0 (unused)
> parport 6600 1 [parport_pc lp]
> vfat 8972 0 (unused)
> smbfs 24104 0 (unused)
> binfmt_aout 3668 0
This looks ok. I think your problem is that there is no node in
/dev for the sonycd ("cd /dev;./MAKEDEV sonycd" should fix it, but I
can't say for sure without seeing the output of the ls command given
earlier).
This is what it looks like on my system:
# ls -l /dev/sonycd /dev/cdrom
lrwxrwxrwx 1 root root 11 Mar 7 21:53 /dev/cdrom -> /dev/sonycd
brw-rw---- 1 root root 15, 0 Feb 12 00:20 /dev/sonycd
later,
Bruce
>>
Reply to: