impossible to transfer file from laptop to MP3 player
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It is not the file but the directory ceyx was talking about.
How are you locating the mp3 file ?
If you are browsing and trying to save from it, often web sites do not want you to download and save the files and will sometimes write javascript to disable right-click functions.
You might have better luck at the shell prompt using 'wget URL.mp3' to fetch from the web site into the current directory.
More specific advise could be given if we knew what you are trying to do in greater detail. Perhaps you might even tell what URL.
Just to summarize: You want to copy MP3 files to your MP3 player, which is, I assume, formatted with FAT32 (most MP3 players are)? If not, please correct me.
Usually when the Paste entry in the menu is greyed out you have not the permissions to write at that directory. For FAT32 disks this usually means that you have not specified an UID/GID when mounting the disk, so that only root has privileges to write to it.
As I stated, you have to replace /dev/sdX with the actual device. Launch as root the command
Code:
fdisk -l
It will show all your storage devices, just choose the one that is your MP3 player. This is how it looks on my laptop when I attach my MP3 player to it:
Code:
root ~ ☺ # fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
32 heads, 32 sectors/track, 76333 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x48dde035
Device Boot Start End Blocks Id System
/dev/sda1 32 8000511 4000240 82 Linux swap
/dev/sda2 * 8000512 78165359 35082424 83 Linux
Disk /dev/sdb: 4043 MB, 4043309056 bytes
8 heads, 32 sectors/track, 30848 cylinders, total 7897088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x221e5780
Device Boot Start End Blocks Id System
/dev/sdb1 * 32 7897087 3948528 b W95 FAT32
As you can see I have one internal disk (40GB,/dev/sda) with two partitions and an external device (4GB, /dev/sdb) which contains one partition /dev/sdb1. This is the name you have to use for the mount-command.
[root@localhost ~]# mount -t vfat -o uid=1000, gid=1000 /dev/sdb1 /home
Utilisation*:
mount [-lhV]
mount -a [options]
mount [options] <source> | <répertoire>
mount [options] <source> <répertoire>
mount <opération> <pointdemontage> [<cible>]
Options*:
-a, --all monter tous les systèmes de fichiers indiqués dans fstab
-c, --no-canonicalize ne pas canoniser les chemins
-f, --fake répétition, sauter l'appel système mount(2)
-F, --fork bifurquer pour chaque périphérique (utiliser avec -a)
-T, --fstab <chemin> autre fichier pour /etc/fstab
-h, --help afficher cette aide et quitter
-i, --internal-only ne pas appeler les assistants mount.<type>
-l, --show-labels afficher la liste de tous les montages avec les étiquettes
-n, --no-mtab ne pas écrire dans /etc/mtab
-o, --options <liste> liste séparée par des virgules d'options de montage
-O, --test-opts <liste> limiter l'ensemble de systèmes de fichiers (utiliser avec -a)
-p, --pass-fd <num> lire le mot de passe depuis le descripteur de fichier
-r, --read-only monter le système de fichiers en lecture seule (comme -o ro)
-t, --types <liste> limiter l'ensemble de types de système de fichiers
-v, --verbose expliquer les actions en cours
-V, --version afficher les informations de version et quitter
-w, --read-write monter le système de fichiers en lecture/écriture (par défaut)
-h, --help display this help and exit
-V, --version output version information and exit
Source*:
-L, --label <étiquette> synonyme de LABEL=<étiquette>
-U, --uuid <uuid> synonyme de UUID=<uuid>
LABEL=<étiquette> indiquer le périphérique par étiquette de système de fichiers
UUID=<uuid> indiquer le périphérique par UUID de système de fichiers
<périphérique> indiquer le périphérique par chemin
<répertoire> point de montage pour remontages (consultez --bind/rbind)
<fichier> fichier régulier pour configuration de périphérique boucle
Opérations*:
-B, --bind monter un sous-répertoire ailleurs (comme -o bind)
-M, --move déplacer un sous-répertoire ailleurs
-R, --rbind monter un sous-répertoire et tous les sous-montages ailleurs
--make-shared marquer un sous-répertoire comme partagé
--make-slave marquer un sous-répertoire comme esclave
--make-private marquer un sous-répertoire comme privé
--make-unbindable marquer un sous-répertoire comme non remontable
--make-rshared marquer récursivement un sous-répertoire complet comme partagé
--make-rslave marquer récursivement un sous-répertoire complet comme esclave
--make-rprivate marquer récursivement un sous-répertoire complet comme privé
--make-runbindable marquer récursivement un sous-répertoire complet comme non remontable
For more details see mount(8).
[root@localhost ~]#
who the fuck is the prick that corrupts my OS to print man page instead of the answer?when will they stop bugging me?
Please watch your language.
Nobody is corrupting your OS, if someone gives you a command you have to use it in the exactly the same way as is written down, in this case you have caused the error by adding a space after the comma in -o uid=1000,gid=1000.
Also, mounting to /home is not a good idea, it will hide your users' home-directories, so that any files in it are inaccessible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.