Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-15-2005, 02:05 PM
|
#1
|
Member
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143
Rep:
|
ipod shuffle, again.
I've used this site's help to get this far, but now I'm stuck. I've added such a line to /etc/fstab
Code:
/dev/sda2 /mnt/ipod vfat noauto,owner 0 0
created a directory /mnt/ipod.
Now when I try to mount, I get
Code:
linux:/home/jordan # mount /mnt/ipod
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
wha...? I tried unmounting some things and seeing if that did anything, but it still didn't work.
|
|
|
05-15-2005, 02:12 PM
|
#2
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
are you suer that you ipod is fat32? all ipods come from apple formated with hfsplus unless you used this ipod with windows it wont work with fat32
|
|
|
05-15-2005, 08:17 PM
|
#3
|
Member
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143
Original Poster
Rep:
|
I have only used that ipod with windows, it has never touched a mac.
|
|
|
05-16-2005, 10:58 PM
|
#4
|
Member
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143
Original Poster
Rep:
|
Perhaps I need a better fstab line? That one I got from some one who had not used a shuffle on linux just from the top of his head.
|
|
|
05-17-2005, 01:15 PM
|
#5
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
I don't have a shuffle but my ipod (20G) is /dev/sda3
this is my fstab line (my ipod is mac formated)
#iPod
/dev/sda3 /mnt/iPod hfsplus users,rw,noauto 0 0
you should do a:
fdisk -l /dev/sda
it will print up the partition table for your ipod the largest partition should be your music. If it is /dev/sda2 and it still doesn't work check your dmesg and see if you get lots of input output errors. I don't know about the shuffle but the large ipods won't work if your kernel supports efi partitions. You may have to recompile your kernel.
|
|
|
05-17-2005, 02:27 PM
|
#6
|
Member
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143
Original Poster
Rep:
|
That's another thing, I've done dmesg , but right now I just get dozens of pages of techno-babble. I really don't feel like picking through thousands of lines not even knowing exactly what I'm looking for? On a side note, what is dmesg, how do you use it, and how can you make it give you the information you need?
|
|
|
05-17-2005, 03:15 PM
|
#7
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
dmesg is a log it restarts when you reboot the computer you can view it page by page like:
dmesg | less
or you can search for info like:
dmesg | grep cpu
but for the ipod I would boot up your computer wait then plug in the ipod and:
dmesg
the part about the ipod gets added when you plug it in so it should be at the very end
oh and | is shift+\ on most keyboards it's used to combine commands like dmesg and grep
|
|
|
05-17-2005, 07:53 PM
|
#8
|
Member
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143
Original Poster
Rep:
|
Whoa! Blowing my mind man!
Alright, today I plugged in my ipod and BAM, a screen comes up saying would I like to open the USB mass storage device. So I click 'yes' and I can see everything that's on the ipod.
Here's the working dmesg:
Code:
usb 4-6: new high speed USB device using address 3
usb 4-6: Product: iPod
usb 4-6: Manufacturer: Apple
usb 4-6: SerialNumber: 000A2700101FD755
usb 4-6: configuration #1 chosen from 2 choices
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: Apple Model: iPod Rev: 2.70
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 999936 512-byte hdwr sectors (512 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 3
usb 4-6: USB disconnect, address 3
usb 4-6: new high speed USB device using address 4
usb 4-6: Product: iPod
usb 4-6: Manufacturer: Apple
usb 4-6: SerialNumber: 000A2700101FD755
usb 4-6: configuration #1 chosen from 2 choices
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: Apple Model: iPod Rev: 2.70
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 999936 512-byte hdwr sectors (512 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 4
Then me being the idiot I am, I pull it out real quick to see if maybe I had left it on or something diffrent. It closes. Then I plug it back in and nothing happens. I try to plug it in several times on several diffrent ports, but nothing like that even happens again. "Damn it!" I think to myself. After trying several more times to mount the ipod or get anything to happen, I look again at the disk partitioner, check it:
http://img.photobucket.com/albums/v2...r11/sspart.png
Now I have two registered ipod's under my partition table, but only 1 plugged into the computer. And it's not under /dev/sda anymore, like it was, the new one is under /dev/sda1 . So I change the /etc/fstab line from /dev/sda to /dev/sda1 and there ya go! Now it mounts! I have no clue what went on, but it's all good.
I think I understand why it wasn't working, the front USB port I was using might have been buggy. Now I'm using the back ports. I can't believe that I was so stupid as to not try other USB ports, but the fact that that it worked momentarily on the front port today confuses me. Also the fact that when I plug in the ipod on the back with the working USB ports, nothing pops up telling me it has been plugged in. I'm dazed but pleased it is now working
Now on a similar note, how nessesary is gtkpod?
Take for example this view of my ipod:
Code:
jordan@linux:/mnt> ls -R ipod
ipod:
image.gz Makefile syslinux.exe vmlinuz
iPod_Control syslinux.c usr_cram.fs
ipod/iPod_Control:
iTunes Music
ipod/iPod_Control/iTunes:
DeviceInfo iTunesDB iTunesPrefs iTunesSD iTunesStats
iTunesControl iTunesEQPresets iTunesPState iTunesShuffle winPrefs
ipod/iPod_Control/Music:
f00 f01 f02
ipod/iPod_Control/Music/f00:
01 Track 01 12.m4a 14 Track 14 42.m4a
01 Track 01.m4a 14 Track 14 43.m4a
02 Track 02.m4a 16 One Of A Kind 1.mp3
04 Track 04 42.m4a 80_s Rock - Dead or Alive-.mp3
04 Track 04.m4a ACDC - Hells Bells.mp3
05 Track 05 51.m4a Eye of the Tiger 1.mp3
1-05 What You Got_.m4a Pink Floyd - Another Brick.mp3
10 Track 10 2.m4a Rolling Stones - Paint It B.mp3
11 Track 11 12.m4a Scorpions - Rock You Like a.mp3
12 Track 12 22.m4a Take On Me 1.mp3
12 Track 12.m4a Wanna Be A Balla 1.mp3
ipod/iPod_Control/Music/f01:
01 Party All The Time 1.mp3 11 Track 11.m4a
01 Track 01 11.m4a 18 Track 18.m4a
02 Track 02 21.m4a 80_s - Michael Jackson - Do.mp3
02 Track 02 22.m4a ACDC - TNT.mp3
03 Sky Is Falling 1.mp3 Aqua - Cartoon Heros.mp3
03 Track 03 31.m4a CHICAS DE HOY.mp3
04 Track 04 41.m4a Coolio - Gangsters Paradise.mp3
06 Ghostwriter 1.mp3 DDR - Smile DK - Kissy Kiss.mp3
06 Track 06 61.m4a Quiet Riot - Cum On Feel Th.mp3
09 Track 09 91.m4a The Rolling Stones - Satisf.mp3
09 Track 09 92.m4a Welcome To Atlanta 1.mp3
ipod/iPod_Control/Music/f02:
01 Der Kommissar 1.mp3 1-02 Lapdance.m4a 80_s Rock - Def Leopard -.mp3
01 The Promise.mp3 1-04 Fuck That.m4a 80_s - The Pretenders - I W.mp3
02 Full Clip 1.mp3 12 Track 12 23.m4a Black Sabbath - Iron Man.mp3
03 Track 03 32.m4a 15 Track 15 52.m4a Dick Dale - Misirlou _Pulp.mp3
07 Track 07 71.m4a 15 Track 15 53.m4a MC Hammer - Can_t Touch Thi.mp3
07 Track 07 72.m4a 15 Track 15.m4a Mexican Rap.mp3
08 Track 08 81.m4a 16 Track 16 62.m4a Not So Blue 1.mp3
08 Track 08 82.m4a 17 Track 17 72.m4a The Knack - My Sherona 80s.mp3
Notice that all of my music is stored in f00, f01, or f02. Could I not just simply copy music into these files? Wouldn't that work?
P.S. If you're wondering what all those boot files are in my ipod, yea, I use my ipod-shuffle as a linux boot drive. Yea baby!
|
|
|
05-17-2005, 08:58 PM
|
#9
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
you cant just unplug your ipod thats why it gave you trouble you must first eject it:
eject /dev/sda1
you could copy files to the music directories but your ipod won't play them because they aren't in your ITunesDB you need either gtkpod (nice gui) or gnupod (command line) to add music so that you can play it on your ipod.
Last edited by johnson_steve; 05-17-2005 at 09:01 PM.
|
|
|
All times are GMT -5. The time now is 03:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|