LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2013, 03:56 AM   #1
Sujathapm
LQ Newbie
 
Registered: Jul 2013
Posts: 9

Rep: Reputation: Disabled
mount: mount point /mnt/cdrom does not exist


I have executed this command:
mount /dev/mtdblock5 /mnt/cdrom
Getting error as
mount: mount point /mnt/cdrom does not exist

I have checked mnt/cdrom directories,It is existing, eventhough I'm getting the above error message.
 
Old 07-30-2013, 04:00 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

please post the output of the following:
Code:
stat /mnt/cdrom
Evo2.
 
Old 07-30-2013, 04:45 AM   #3
Sujathapm
LQ Newbie
 
Registered: Jul 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
stat: cannot stat `mnt/cdrom': No such file or directory

But I have checked that directory is existing.

Again I recreated those directories.If I executing same command getting another error as:
mount: special device /dev/mtdblock5 does not exist

Last edited by Sujathapm; 07-30-2013 at 05:46 AM.
 
Old 07-30-2013, 06:17 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

did you confirm the device really exists?

Evo2.
 
Old 07-30-2013, 06:40 AM   #5
Sujathapm
LQ Newbie
 
Registered: Jul 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
No, mtdblock5 is not created under dev folder.

how to create this device?
 
Old 07-30-2013, 10:46 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

why are you trying to mount a device that doesn't exist? Ie what are you actually trying to do?

Evo2.
 
Old 07-30-2013, 11:12 AM   #7
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,211

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
Create the directory

Code:
mkdir /mnt/cdrom
Code:
mount /dev/mtdblock5 /mnt/cdrom
if that doesnt work copy and paste this command EXACTLY and post results:

Code:
ls -alh /mnt
 
Old 07-30-2013, 06:43 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by szboardstretcher View Post
Create the directory

Code:
mkdir /mnt/cdrom
From the most recent post it seems that /mnt/cdrom exists now but the device (/dev/mtdblock5) does not. So OP is trying to mount a device that does not exist...

A device should be created automatically if the corresponding physical device is connected to the computer. The questions remain:

- what is this physical device?
- why is it expected to appear at /dev/mtdblock5?
- what is the kernel telling you about this device (eg look in dmesg output etc)?

Evo2.
 
Old 07-31-2013, 02:29 AM   #9
Sujathapm
LQ Newbie
 
Registered: Jul 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Hi,

mtdblock5 is partition of on chip NAND flash of the device which we are using.Need to mount this partition on usb,so that making usb as mass storage device.
 
Old 07-31-2013, 02:33 AM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

ok that answers the first question.

You need to work out if your kernel even sees this device: have you tried looking at the output of dmesg?

Evo2.
 
Old 07-31-2013, 03:05 AM   #11
Sujathapm
LQ Newbie
 
Registered: Jul 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Hi,

I didn't find any message related to mtdblock5 device in the output of dmesg.
 
Old 07-31-2013, 03:19 AM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by Sujathapm View Post
I didn't find any message related to mtdblock5 device in the output of dmesg.
Which explains why you don't see /dev/mtdblock5. So, do you see anything related to your flash device?

And could you please answer why you expect to see it at /dev/mtdblock5? The less information you provide the less help you can be given.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount point /mnt/cdrom does not exist fshah Linux - General 1 04-28-2013 06:42 AM
Redhat Linux 4.8 error -mount: mount point /oracle does not exist for new /etc/fstab entries bellnarm Linux - Server 1 11-23-2011 06:09 AM
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 08:01 PM
How to release /dev/cdorm or mount point (/mnt/cdrom) after doing this : norman68 Linux - Software 3 07-02-2003 07:07 PM
How to release /dev/cdorm or mount point (/mnt/cdrom) after doing this : norman68 Linux - General 1 07-02-2003 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration