LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-11-2004, 11:49 AM   #1
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Rep: Reputation: 30
What do I add to my fstab to get my iPod to mount???


Hello guys and girls, what do I add to my fstab to get my ipod to mount when I run GTKpod? I have searche dthe forums and did a few instructions to get the mount points right in disk drake and the mount point is "/dev/sda2/" Now when I try to mount the ipod in a terminal I get this message, "mount: can't find /mnt/ipod in /etc/fstab or /etc/mtab" So now I assume I am supposed to add something to fstab to make it work. What am I supposed to add?
 
Old 07-11-2004, 04:14 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
The howto...
Plug in iPod...
run hard drive and disk drive partition software.
Select ipod from list.
Tell it where you want it to mount...

Not sure why you would be messing with anything in your config files when you could just run the partition manager and have it done automatically...
 
Old 07-11-2004, 04:32 PM   #3
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Or you can be a real man and edit your /etc/fstab by hand :P (just kidding here)
Code:
/dev/sda2        /mnt/ipod     vfat        noauto,owner         0   0

This means it will mount "/dev/sda2" with filesystem format "vfat" into directory "/mnt/ipod". This won't happen at boot time and the device owner is able to mount the filesystem.

If you wish more information you can

Code:
man fstab
man mount
However, I'm not an iPod owner and I'm not completely sure about the options that you should mount your device with.

Last edited by Jose Muņiz; 07-11-2004 at 04:36 PM.
 
Old 07-11-2004, 05:11 PM   #4
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Jose Muņiz
Or you can be a real man and edit your /etc/fstab by hand :P (just kidding here)
Code:
/dev/sda2        /mnt/ipod     vfat        noauto,owner         0   0

This means it will mount "/dev/sda2" with filesystem format "vfat" into directory "/mnt/ipod". This won't happen at boot time and the device owner is able to mount the filesystem.

If you wish more information you can

Code:
man fstab
man mount
However, I'm not an iPod owner and I'm not completely sure about the options that you should mount your device with.
Okay, I added the /dev/sda2 /mnt/ipod vfat etc... to the fstab. What next? Must I reboot and start GTKpod to see if it works? I think i'm missing something here that you guys are explaining. Sorry for sounding stupid. Okay, from step one, what do I do after I plug my ipod into the dock?
 
Old 07-11-2004, 05:17 PM   #5
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
Also, when I go into the folder, "/mnt/ipod, there is nothing there. Is there supposed to be something there. (I feel like a real idiot with this)

Another thing before I forget, under the Mandrake Linux Control Center>Partitions> the ipod is recognized in there as Mount point /sda2
Device: sda2
Dos Drive Letter: C (just a guess) <----it actually says that
Type: Fat32
Size: 13GB (99%)
Formatted
Mounted

I do not know how to make sense of it all.
 
Old 07-12-2004, 10:46 AM   #6
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Ok... your iPod is just some sort of storage device. The same thing goes with CDs , Memory Sticks, Digital Cameras, etc. Hence, think of it as a hard drive.

Hard drives are mounted into your filesystem so that you can view its content and possibly modify it. Hence, at bootup, Linux mounts your root partition so that you can view your files and programs and write to them.

The same thing happens with other units. To be able to use them, you have to make sure they are there somewhere in your filesystem. Take a CD for instance. FIrst you mount the CD

Code:
mount -t vfat /dev/cdrom /mnt/cdrom
Then you can go to /mnt/cdrom and you will find all the content of your CD ROM. Now... notice that the mount was too large and maybe you'd like to only say mount /mnt/cdrom or maybe mount /dev/cdrom. Then, as some things are missing (type and device), your mount command will look in the file called /etc/fstab for more information. This information will be provided by the fstab which will help your system mount the unit.

Now... you have your iPod entry in your fstab. Now mount it (mount /mnt/iPod or whatever the directory was called). You should be able to see something in there :P

And btw.. no need to restart in this kind of things...
 
Old 02-15-2005, 02:01 PM   #7
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
shuffle and flash drive

Hello,

I was just wondering if you guys could help me. I have only one USB port in my laptop and i connect to it many different devices, like my mouse, ipod shuffle and my flash drive. I have an entry in my /etc/fstab that says:
/dev/sda1 /mnt/usb-storage auto noauto,users,rw 0 0

That would mount all gadgets connected to sda1 to /mnt/usb-storage which works for me but aint what i want. I want my ipod 9and only the ipod) to be autimattically mounted to /mnt/ipod and the rest of mass storage devices mounted to /mnt/usb-storage. Is it possible?

If not i am consideringn to have a script for the gtkpod startup that would unmount the device and then mountn it again at the desired point9if that is possible too).

I know this thread is old but i hope someone reads this question before i give up

thanks
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
I can mount my ipod but cant write anything to it FC2 weirdnumber Linux - Hardware 1 10-04-2005 04:15 PM
weird ipod mount bosewicht Linux - Newbie 2 08-17-2005 08:57 PM
Another Ipod mount thred allforcarrie Fedora 2 01-31-2005 08:29 PM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration