add a device to mtab or fstab ubuntu 10.10

Asked by tombo

Hi, I'm trying to mount my daughters vtech Kidizoom camera . the device is recognised by the device manager but will not mount automatically. I also tried sudo mount /dev/sdd1 and the device was not found in the fstab or mtab. Which one should I add the device to. thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

run:

gksudo gedit /etc/fstab

You can add entrys there, this page will help form the entry in the file, usually udisks mounts them for you

https://help.ubuntu.com/community/Fstab

Revision history for this message
tombo (tombo465) said :
#2

hello actionparsnip, I went to the website you suggested and ran the command <sudo blkid> but it did not list the camera. Do I make up a uuid or is there another way to find it ? or could I just use < /dev/sdd1 > ?

Revision history for this message
delance (olivier-delance) said :
#3

My FAT32 USB stick is listed by command:
   sudo blkid
like /dev/sdh1: LABEL="WHITEEMTEC" UUID="512E-2808" TYPE="vfat"
So I presume yours should be also. Looks strange.

Make before folder data1
   sudo mkdir /media/data1
   sudo chown tombo:tombo /media/data1
In fstab, you add
/dev/sdd1 /media/data1 vfat defaults,user,exec,uid=1000,gid=100,umask=000 0 0
Then run
   mount /dev/sdd1
It should work.

Revision history for this message
tombo (tombo465) said :
#4

below is what I get with blkid. The camera is not listed.

tbone@tbone-desktop:~$ sudo blkid
/dev/sda1: UUID="1b16f277-3e33-4a31-9323-e80f166860e9" TYPE="swap"
/dev/sda4: UUID="e0daafd4-cff6-4a7c-b5f3-5690d91c76cc" TYPE="ext4"
/dev/sdb1: UUID="23D808483E75F7BB" TYPE="ntfs"
/dev/sdb2: UUID="62b65ab1-6c86-4826-a936-d47aff0a6a73" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdd1: LABEL="New Volume" UUID="1E78A12778A0FEA1" TYPE="ntfs"
tbone@tbone-desktop:~$

The camera shows up with fdisk, it's listed as sde . if I put a removable device in fstab I get errors at boot. About the best I've been able to get is to manually mount the camera. My daughter is only 6 so thats a problem. I've got mp3 players and thumb drives that all auto mount when they are plugged in. seems like the more I learn about this stuff the more confused I become.

tbone@tbone-desktop:~$ sudo fdisk -l
[sudo] password for tbone:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x29e96df7

   Device Boot Start End Blocks Id System
/dev/sda1 1 545 4377681 82 Linux swap / Solaris
/dev/sda4 546 19457 151910640 83 Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x16521652

   Device Boot Start End Blocks Id System
/dev/sdb1 1 31512 253120108+ 7 HPFS/NTFS
/dev/sdb2 31513 60801 235263892+ 83 Linux

Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b4196

   Device Boot Start End Blocks Id System
/dev/sdd1 1 30401 244196001 7 HPFS/NTFS

Disk /dev/sde: 47 MB, 47743488 bytes
1 heads, 46 sectors/track, 2027 cylinders
Units = cylinders of 46 * 512 = 23552 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c42c7

   Device Boot Start End Blocks Id System
/dev/sde1 2 2027 46584+ 6 FAT16
Partition 1 does not end on cylinder boundary.
tbone@tbone-desktop:~$

Revision history for this message
delance (olivier-delance) said :
#5

/dev/sdd1: LABEL="New Volume" UUID="1E78A12778A0FEA1" TYPE="ntfs" => NTFS
/dev/sdd1 /media/data1 vfat defaults,user,exec,uid=1000,gid=100,umask=000 0 0 => VFAT
Device and line in fstab don't use same file system.
Use as model the following line
UUID=1E78A12778A0FEA1 /media/data1 ntfs defaults,nls=utf8,umask=007,gid=46 0 0

Can you help with this problem?

Provide an answer of your own, or ask tombo for more information if necessary.

To post a message you must log in.