LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 05-15-2005, 01:05 PM   #1
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Rep: Reputation: 15
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.
 
Old 05-15-2005, 01:12 PM   #2
johnson_steve
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: Reputation: 46
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
 
Old 05-15-2005, 07:17 PM   #3
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Original Poster
Rep: Reputation: 15
I have only used that ipod with windows, it has never touched a mac.
 
Old 05-16-2005, 09:58 PM   #4
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Original Poster
Rep: Reputation: 15
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.
 
Old 05-17-2005, 12:15 PM   #5
johnson_steve
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: Reputation: 46
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.
 
Old 05-17-2005, 01:27 PM   #6
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Original Poster
Rep: Reputation: 15
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?
 
Old 05-17-2005, 02:15 PM   #7
johnson_steve
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: Reputation: 46
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
 
Old 05-17-2005, 06:53 PM   #8
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Original Poster
Rep: Reputation: 15
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!
 
Old 05-17-2005, 07:58 PM   #9
johnson_steve
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: Reputation: 46
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 08:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help mounting ipod shuffle carloscuderia Linux - Newbie 13 06-08-2007 07:44 AM
ipod shuffle with linux cinchel Linux - General 34 12-24-2006 12:47 AM
ipod shuffle speel *BSD 2 06-10-2005 06:09 PM
help mounting ipod shuffle carloscuderia Linux - Hardware 7 04-25-2005 10:04 PM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM


All times are GMT -5. The time now is 12:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration