Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Trying to mount a CF card onto xubuntu

  • Please log in to reply
1 reply to this topic

#1 DnDer


  • Members
  • 646 posts
  • Local time:01:16 PM

Posted 17 May 2009 - 09:49 PM

Original Thread from Ubuntu Forums

In a nutshell:
Set a mount point using "sudo makedir -p /cfcard" and lo, and behold, there's a directory. All well and good. But I can't get the thing to mount. "mount /dev/sda1 /username/cfcard" should mount the card, but did not. I was returned to the prompt, indicating success, but there's nothing in the directory.


Edited by DnDer, 17 May 2009 - 09:50 PM.

BC AdBot (Login to Remove)


#2 Miljet


  • Members
  • 66 posts
  • Location:Texas Gulf Coast
  • Local time:01:16 PM

Posted 18 May 2009 - 10:22 PM

Several things jump out at me.

"sudo makedir -p /cfcard"

makedir is not a valid command. The correct command is mkdir.
You are attempting to create a directory called "cfcard" directly under the root directory. This will work although it is not standard practice to create mount points directly under the root directory. It is more common to use
sudo mkdir /media/cfcard

"mount /dev/sda1 /username/cfcard"

Here you are attempting to mount /dev/sda1. sda1 is definitely not your card. It is the first hard disk on your system. If you are running a Linux only system, it is probably your main Linux system (which is already mounted.)
You are attempting to mount the device to "/username/cfcard" which doesn't exist. You first created, or tried to create a mount point "/cfcard". Therefore you should mount to "/cfcard", not "/username/cfcard".

you can find out what your card is by running
sudo sg_map

Look in the right column for your card.

Don't be surprised if all that doesn't work. If the card is not defective and wasn't improperly removed the last time it was used, it should have been detected and mounted automatically when inserted.

Edited by Miljet, 18 May 2009 - 10:26 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users