Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Well, I want to pull a lost music file from my iPod, and I can't seem to figure out how to mount it. My Linux kernel supports HFS+, but it just won't mount:
Code:
# mount -t "hfsplus" "/dev/sdb2" "/mnt/ipod/"
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
Originally posted by twantrd Do a 'man mount' and it will tell you which filesystems it supports. I don't believe it's called "hfsplus" but rather "hfs" I think.
-twantrd
Well, that didn't really fix anything. Although, I [i]do[/] know to use "hfs" instead, now. But it still won't mount, and gives the same error message.
The data partition on a HFS+ iPod ("Mac formatted iPod") is the third partition. The first is a partition table, the second has the OS, and the third is data.
If it is indeed available as a device, you should be able to mount it if it truly is hfsplus with root priv:
mount -t hfsplus /dev/sdxn /mnt/target
This must be available as a partition at sdxn (sda3 for example). You can use the graphical hardware browser to take a look. Also, the target directory must exist and be owned by root.
If the iPod was used with a PC initially, it may be FAT formatted.
Are you trying to connect over firewire? If so then search for '1394' and 'ohci' in these forums for that setup.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,151
Rep:
im using a HFSplus ipod with SuSE 9.2 (2.6.8)
hfs and hfsplus are totaly diferent. If you mount it hfs all you get is a note that you have to upgrade to mac os 8 or newer. I had to re-compile my kernal without EFI partition suport. (If you check an ipod for that type of partition it just locks up.) The comand i use is:
mount -t hfsplus /dev/sda3 /mnt/iPod/
this will be a little diferent for you. Mac ipods have 3 partitions:
1 - nothing(i've heard of io errors on the first block i think thats why this is there.)
2 - ~32Mb iPod Firmware
3 - Your music and files
also I don't know if this will apply to you But I share my iPod with a Mac(Os X 10.3) and I had to go into "ipod preferances" in itunes and check the box marked "enable iPod for disk use". If you don't have access to a mac you can sync it with an windows box(Ewww) and it will convert it to fat32 for you. This is the best way to convert your ipod. you can reformat it with linux and copy the firmware but ive heard of lockups and other problems doing this. All iPods come as HFS+ from apple
I'm not 100% certain BUT as far as I'm aware you cant "pull MP3's from IPOD's". Its a counter measure apple made to prevent copyright. With windows you need special tools to extract MP3's.
Originally posted by genderbender I'm not 100% certain BUT as far as I'm aware you cant "pull MP3's from IPOD's". Its a counter measure apple made to prevent copyright. With windows you need special tools to extract MP3's.
But am not sure, investigate
Sure you can. I have a 4g 20gb ipod with vfat fs. Just mount it and cd to the dirs that contain your tracks and cp em anywhere you want. It's just not posible with itunes I think.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,151
Rep:
you can pull songs of the iPod I do it all the time I don't even have my mp3s on my linux box i just mount the ipod and use them from there (of course i also built my computer to have a P4 2.4 1Gb of ram and a 13.5Gb hard drive so I don't have a lot of space)
Fair nuff I did not know all this. In all honesty ive only ever used itunes and remember being pissed off when i couldnt get songs easily from it cos they were indexed all weird. Now I know to stick with a linux distro
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,151
Rep:
are you using the windows itunes ? because sucks next to the mac version. it looks the same but i've used both and there are lots of features missing from the windows version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.