Find the answer to your Linux question:
Results 1 to 4 of 4
Recently i bought my ASUS Eee PC and it is my first Linux experience, and im loving it. I'm looking to install a game onto the PC, although it wont ...
  1. #1
    Just Joined! Jozsa's Avatar
    Join Date
    May 2008
    Posts
    12

    ASUS Eee - Permissions.

    Recently i bought my ASUS Eee PC and it is my first Linux experience, and im loving it.

    I'm looking to install a game onto the PC, although it wont quite fit on the computers tiny internal 4gb Flash Memory, so i would like to install it to an external 8gb USB flash drive.

    Basically, i can install to the /home/user/ perfectly (but theres not enough space). However when i select to install to the USB it gave me the following errors;





    I've tried many things so far, including changing permissions and ownership of the USB drive.

    sudo chmod +rwxrwxrwx /home/user/cj/ (cj is the USB's name)

    Then i tried;

    sudo chown -R root:user /home/user/cj/

    This is meant to change the owner of the USB (and all subfolders) to me, however it tells me i dont have permission to change it.

    Any help would be appreciated.




    I've already had some minor experiance is permissions as a Virtual Private Network Client (VPN) was in /etc/vpnc/ which i had no permission to, and i needed to put a file into that folder, and i found the following two ways around it;

    sudo chmod +rwxrwxrwx /etc/vpnc/

    and

    sudo mv monash.conf /etc/vpnc/monash.conf





    Thanks in advance.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute sudo fdisk -l command and notedown device name ( /dev/sda1 or /dev/sdb1) and mount point ( /media/USB or something like that).
    Remount it using mount command.
    Let say, /dev/sdb is device name assigned to USB Stick.
    Execute this
    Code:
    umount /dev/sdb1
    mount -t vfat /dev/sdb1 /media/USB -o defaults,umask=0
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! Jozsa's Avatar
    Join Date
    May 2008
    Posts
    12
    Also, just to add two things;
    1 - i can create, edit and delete files on the USB in the file manager, the problem is only when trying to install to it.

    2 - The USB is a 4gb USB2 by DSE

    Below is the my file manager and output of sudo fdisk -l;



    In regards to that picture above - I have full permissions and access to the ipod, as it is owned and grouped to user.

    /home/user/cj> sudo fdisk -l

    Disk /dev/sda: 4001 MB, 4001292288 bytes
    255 heads, 63 sectors/track, 486 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 300 2409718+ 83 Linux
    /dev/sda2 301 484 1477980 83 Linux
    /dev/sda3 485 485 8032+ c W95 FAT32 (LBA)
    /dev/sda4 486 486 8032+ ef EFI (FAT-12/16/32)

    Disk /dev/sdc: 4043 MB, 4043309056 bytes
    125 heads, 62 sectors/track, 1018 cylinders
    Units = cylinders of 7750 * 512 = 3968000 bytes

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/sdc1 ? 100405 247697 570754815+ 72 Unknown
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(357, 116, 40) logical=(100404, 79, 11)
    Partition 1 has different physical/logical endings:
    phys=(357, 32, 45) logical=(247696, 24, 51)
    Partition 1 does not end on cylinder boundary.
    /dev/sdc2 ? 21767 271577 968014120 65 Novell Netware 386
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(288, 115, 43) logical=(21766, 48, 47)
    Partition 2 has different physical/logical endings:
    phys=(367, 114, 50) logical=(271576, 60, 42)
    Partition 2 does not end on cylinder boundary.
    /dev/sdc3 ? 241276 491086 968014096 79 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(366, 32, 33) logical=(241275, 3, 30)
    Partition 3 has different physical/logical endings:
    phys=(357, 32, 43) logical=(491085, 14, 39)
    Partition 3 does not end on cylinder boundary.
    /dev/sdc4 ? 372346 372354 27749+ d Unknown
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(372, 97, 50) logical=(372345, 119, 25)
    Partition 4 has different physical/logical endings:
    phys=(0, 10, 0) logical=(372353, 14, 33)
    Partition 4 does not end on cylinder boundary.

    Partition table entries are not in disk order
    Note: sector size is 2048 (not 512)

    Disk /dev/sdd: 4060 MB, 4060086272 bytes
    255 heads, 63 sectors/track, 123 cylinders
    Units = cylinders of 16065 * 2048 = 32901120 bytes

    Device Boot Start End Blocks Id System
    /dev/sdd1 1 3 96264 0 Empty
    /dev/sdd2 4 123 3855600 b W95 FAT32

    I tried this;

    /home/user> sudo umount /dev/sdc/
    /home/user> sudo mount -t vfat /dev/sdc /media/USB2FlashStorage/data -o defaults,umask=0
    But i still get this error when installing;

  4. #4
    Just Joined!
    Join Date
    May 2008
    Posts
    1
    I suspect that problem is probably nothing to do with permissions on the USB drive.

    Are you installing this as root ar as user.

    If you are installing multi-user mode you will probably have to do it as root. If single user mode you might be able to do it as user.

Posting Permissions

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