BleepingComputer.com: Trying to mount a CF card onto xubuntu

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Trying to mount a CF card onto xubuntu

#1 User is offline   DnDer 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 605
  • Joined: 25-October 08

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.

Suggestions?

This post has been edited by DnDer: 17 May 2009 - 09:50 PM


#2 User is offline   Miljet 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 66
  • Joined: 25-November 07
  • Location:Texas Gulf Coast

Posted 18 May 2009 - 10:22 PM

Several things jump out at me.

Quote

"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


Quote

"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.

This post has been edited by Miljet: 18 May 2009 - 10:26 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users