fstab

Discussion in 'Modding and Customization' started by Diverted Income, Apr 13, 2010.

  1. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    I think I hosed up my fstab file. My expansion card no longer is recognized. It looks like this

    /dev/sda1 / ext2 rw 0 0
    none /dev/pts devpts rw,gid=5,mode=620 0 0
    none /dev/shm tmpfs rw 0 0
    none /sys sysfs rw 0 0
    none /mnt/home aufs rw,si=d6c23880,xino=/home/user/.aufs.xino,create=mfs,dirs=/home/user=rw 0 0
    /dev/mmcblk0p1 /media/disk-2 vfat rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=500 0 0

    Help!
     
    Diverted Income, Apr 13, 2010
    #1
  2. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    I get this error when I add an SD card to either slot.

    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: only root can mount /dev/mmcblk0p1 on /media/disk-2.
     
    Diverted Income, Apr 13, 2010
    #2
  3. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    Anyone?
     
    Diverted Income, Apr 14, 2010
    #3
  4. Diverted Income

    Jimux

    Joined:
    Mar 23, 2010
    Messages:
    70
    Likes Received:
    0
    I've reproduced your mount problem and the steps to achieve access.
    Open a terminal and run the following commands.
    su [enter]
    df [enter]
    mount /dev/mmcblk0p1 /media/disk-2 [enter]
    df [enter]
    ls -l /media/disk-2 [enter]

    Inspect the file access rights in the report from the ls. You should have rwxrwxrwx
    If you still do not have access inspect the card with a disk partitioner such as gparted. Look for the format, integrity and specified mount point.
     
    Jimux, Apr 14, 2010
    #4
  5. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    Thanks You!
    I tried that and it will not mount. If I boot to an Ubuntu flash drive it sees the card. Hmmm.
    I hate not having my expansion card working!
     
    Diverted Income, Apr 15, 2010
    #5
  6. Diverted Income

    Jimux

    Joined:
    Mar 23, 2010
    Messages:
    70
    Likes Received:
    0
    Did gparted see the unmounted drive? if so click on partition information and it may advise on missing software tools like mtools or dosfstools. In which case you may be best doing a software re-install/repair.
     
    Jimux, Apr 15, 2010
    #6
  7. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    gparted will see the drive but can not mount it.
     
    Diverted Income, Apr 15, 2010
    #7
  8. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    Ok here is a dumb question, how do I use the recovery dvd on the AAO ? I have the fies on a usb drive. Do I need to burn a DVD image to the USB drive and try to boot from it? Or is there an executable in the files I can launch and it will re install? Thanks a lot for your help!
     
    Diverted Income, Apr 15, 2010
    #8
  9. Diverted Income

    Jimux

    Joined:
    Mar 23, 2010
    Messages:
    70
    Likes Received:
    0
    I'm still waiting for my DVD to be sent so can't really answer - except most recovery disks are bootable and have a menu with repair, recover, install options. None make changes to a system without user confirmation. Look for a file with a .iso extension and use burn image, not copy file, to create the disk.

    Did you run gparted as user or root?
    Is there a difference between the left and right hand slots. My right hand multi-card slot autoboots cards and names them with their unique disk label, whilst my left simply mounts them as /media/disk-2.

    Also have you enabled the user mountable checkbox in the partitioner screen?
     
    Jimux, Apr 15, 2010
    #9
  10. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    Will try again. I ran it as user.
     
    Diverted Income, Apr 15, 2010
    #10
  11. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    Ran as root. I could format the card but couldn't mount it.
     
    Diverted Income, Apr 15, 2010
    #11
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.