Discussion Locked

Create a new device

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

RedHat Linux 6.x, kernel 2.2.19. Installation and running ok. But I have a SCSI card and a SCSI disk. To get the card up, it was not a problem. But when it came to do "mount /dev/sda1 /dev/sdisk -t ext2" the message was that there is no device sda1.The same when I was (once, in the past) trying to add and ATAPI CDROM as SCSI (with the emulation). MAKEDEV exists, but checking it was helpless. And I could not find a HOWTO or something similar about "How to create a new device for the sistem" (which later would be mounted! and used).

Thank you for your help.

5 replies

by pahosler

First you normally mount to a directory not a dev, and the file system is usually first, ext2 is assumed usually.

So make an empty directory, like
mkdir /mnt/scsi
or whatever
then use
mount /dev/your_scsi_device /mnt/scsi
this should work if your drive has been formated with ext2 file system.

Paul

by vfrunza

Sorry, not the mount is the problem, but the device node. THERE IS NO DEVICE TO BE MOUNTED, the mount point exist!

by neeraj_rohliyan

if ur linux is working fine, then run fdisk /dev/sda and see ur partition and check the partition table have sda1 partition.
if it exist see ur /etc/vfstab file it might be use for root partition.if it is the root one it automatically mounted.
for mounting ur cdrom use the following command
# mount /dev/cdrom /mnt

by vfrunza

Your answer has a point. In the meantime, I have solved the problem; usually, Linux creates all the neccessary devices at the installation time. After that, it is just a matter of making the links.

Thank you

This discussion is closed to new replies.