Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
this is what shows in terminal when accessing the gksudo gedit /etc/fstab. sorry if this seems dumb. i only have an average iq. sometimes lower (gedit:5785): GnomeUI-WARNING **: While connecting ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    13

    Unhappy hot to fix this

    this is what shows in terminal when accessing the gksudo gedit /etc/fstab. sorry if this seems dumb. i only have an average iq. sometimes lower

    (gedit:5785): GnomeUI-WARNING **: While connecting to session manager:
    Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

  2. #2
    Just Joined!
    Join Date
    Nov 2007
    Posts
    44
    Is gksudo (or is it gksu) installed? I checked in my system both (gksu and gksudo are not installed (am on Fedora12). Try
    Code:
    vi /etc/fstab
    . If that works but if you find vi difficult to use, you can try 'nano'.

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    13
    awesome.. that works..

    now, that i can actually get in there i have to say set new permissions for an ipod. IThese are the directions i'm following .. When i type blkid/dev/sdb for the first method it tells me no such file or directory. So i'm trying to go with method b. As root should i litterally put : vi /etc/fstab /dev/sdb/mnt/ipod vfat sync,user,noauto.umaske=000 0 0?
    or do i wait until the etc/fstab screen pops up then type just the /deb/sdb etc....?


    Next we are going to add you ipod to your fstab. Here are two methods, the first(Method A) and BEST one is identifying your ipod by UUID. This will save you a lot of problems:
    Method A:
    First find your players UUID, type
    blkid /dev/sdb
    This will give you your players UUID. Make sure /dev/sdb is the correct location of YOUR player. Next enter root mode and edit your /etc/fstab:
    UUID=YOUR-UUID /mnt/ipod vfat sync, users, auto,umask=000 0 0
    Method B:
    As root edit your /etc/fstab and add the following line:
    /dev/sdb /mnt/ipod vfat sync,user,noauto,umask=000 0 0
    Make sure the /dev/sdb is the same as the one your ipod will be discovered as when connecting and create the /mnt/ipod dir. (mkdir /mnt/ipod)

  4. #4
    Just Joined!
    Join Date
    Nov 2007
    Posts
    44
    I'm not sure if you are asking question or answering

    Anyway, following are my opinion to mount ipod.

    If you want to mount your ipod the UUID way, you need to use 'blkid' command as root not ordinary user. After connecting the ipod, I would first know what drive letter is. Its not /dev/sdb but /dev/sdb1 or /dev/sdb2 etc. Probably that is why it gave "no such file.." error
    Code:
    su -c 'fdisk -l'
    Let us assume that ipod has /dev/sdb1.
    We should execute 'blkid' as root.
    Code:
    su -c 'blkid /dev/sdb1'
    Now, in the /etc/fstab make entry as
    Code:
    UUID=<uuid you got>   /mnt/ipod   vfat   user,auto,sync,umask=000   0   0
    Things to remember:
    a) its not /dev/sdb but /dev/sdb1 or /dev/sdb2 etc.
    b) blkid should be run as root

    P.S.: Does iPod uses vfat file system? I don't know. 'blkid' may give the fs type.

  5. #5
    Just Joined!
    Join Date
    Dec 2009
    Posts
    13

    Angry

    thanks so much for your help.

    I'M SO FRUSTRATED RIGHT NOW..!!!

    I was asking how i make commands once i'm in the fstab. now it's not doing anything for me, below are my contents. i was never able to retrive a uuid. i haven't been able to make an ipod directory. this is the first message. i recently installed libgpod. my etc.fstab contents are below the message. they appear after the message

    E325: ATTENTION
    Found a swap file by the name "/etc/.fstab.swp"
    owned by: root dated: Sun Dec 6 02:08:21 2009
    file name: /etc/fstab
    modified: YES
    user name: root host name: paul
    process ID: 3632
    While opening file "/etc/fstab"
    dated: Sat Dec 5 02:24:42 2009

    (1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

    (2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r /etc/fstab"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file "/etc/.fstab.swp"
    to avoid this message.


    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda1 / ext3 errors=remount-ro 0 1
    /dev/hda5 none swap sw 0 0
    /dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0

  6. #6
    Just Joined!
    Join Date
    Nov 2007
    Posts
    44
    Which distro are you on? Ubuntu, LinuxMint, Fedora, Mandriva...which one?

  7. #7
    Just Joined!
    Join Date
    Dec 2009
    Posts
    13

    Angry

    this is what i get when i enter paul:/home/paul# su -c 'fdisk -l'

    WHICH ONE IS THE UUID?

    Disk /dev/hda: 45.0 GB, 45020602368 bytes
    255 heads, 63 sectors/track, 5473 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000675f

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 5286 42459763+ 83 Linux
    /dev/hda2 5287 5473 1502077+ 5 Extended
    /dev/hda5 5287 5473 1502046 82 Linux swap / Solaris

    This is what i get when i enter

    paul:/home/paul# su -c 'blkid /dev/sdb1'
    paul:/home/paul#


    I GET NOTHING

  8. #8
    Just Joined!
    Join Date
    Dec 2009
    Posts
    13
    Sorry i didn't see above post -debian

    and yes the ipod was on windows xp previously so it was using a fat file system

  9. #9
    Just Joined!
    Join Date
    Nov 2007
    Posts
    44
    Quote Originally Posted by pstevenson83 View Post
    this is what i get when i enter paul:/home/paul# su -c 'fdisk -l'

    WHICH ONE IS THE UUID?

    Disk /dev/hda: 45.0 GB, 45020602368 bytes
    255 heads, 63 sectors/track, 5473 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000675f

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 5286 42459763+ 83 Linux
    /dev/hda2 5287 5473 1502077+ 5 Extended
    /dev/hda5 5287 5473 1502046 82 Linux swap / Solaris

    This is what i get when i enter

    paul:/home/paul# su -c 'blkid /dev/sdb1'
    paul:/home/paul#


    I GET NOTHING
    Paul, the '#' sign shows that you have already logged in as root. In that case 'su -c' can be dropped and commands directly executed.

    You probably have not connected you iPod, coz, it does not show up on your fdisk output. That's why 'blkid' command is not giving any output. Plugin the iPod and try the commands. UUID has around 32digit alphanumeric id. For eg: 6a2df6fe-7b10-4b7a-a707-5dd18ceaf368

  10. #10
    Just Joined!
    Join Date
    Dec 2009
    Posts
    13
    My ipod IS connected!! I will try to restart my computer. i just installed the libgpod. i'll be back here in a few minutes after restart and see if it picks it up.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •