Find the answer to your Linux question:
Results 1 to 7 of 7
i am useing an asus eee pc 901. i have ubuntu installed on the internal 2.5gig ssd. when i install wine it fills up the 2 gig ssd so i ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    4

    how to install wine on a diffrent drive

    i am useing an asus eee pc 901. i have ubuntu installed on the internal 2.5gig ssd. when i install wine it fills up the 2 gig ssd so i cant install any software. how can i install wine on the larger ssd in my computer?

  2. #2
    Just Joined!
    Join Date
    May 2006
    Location
    San Jose, CA
    Posts
    67
    Here is what I did.. may not be the most elegant solution, but it works well

    After installing wine, move your "drive_c" directory to where you want it (your other ssd drive). Then you need to update the symlink in your ~/.wine/dosdevices for c:
    Code:
     ln -s /where/you/moved/drive_c/ ~/.wine/dosdevices/c:

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    4

    not quite

    when i try to do this it says that i dont have permission. when i log in as root i cant get to the file becaue it is saved under my user name. and it wont let me put it onto a flash drive. any suggestions?

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    I was going to make the same suggestion, except move the whole ~/.wine instead of just drive_c.

    Permissions failures to a flash drive are usually indicative of a mounting issue, where the flash drive either mounts as read-only, or mounts so only root has write access.

    With the flash drive plugged in, open a terminal windows and type mount . Show us the output please.

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    4
    im not sure if it is the same permission problem. it dosnt write all of the files to the flash drive.

    heres my output

    mount
    /dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    lrm on /lib/modules/2.6.28-15-generic/volatile type tmpfs (rw,mode=755)
    securityfs on /sys/kernel/security type securityfs (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfs-fuse-daemon on /home/tyler/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=tyler)
    /dev/sdd1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1 000,utf8,umask=077,flush)
    /dev/sdc1 on /media/Kodak type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1 000,utf8,umask=077,flush)

  6. #6
    Just Joined!
    Join Date
    Aug 2009
    Posts
    4
    so you want me to move the enitre folder instead of just the c drive? then use the same code presented earlyer?

  7. #7
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    /dev/sdd1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1 000,utf8,umask=077,flush)
    Yep, it's permissions. Umask makes an inversion of the defined permissions, thus a 077 lets through a 700 (rwx------), or IOW, root or the owner can do anything with the device, noone else can touch it. It further defines uid=1... I don't think that's even a valid user, so effectively, only root has access to the flash drive as it sits. For a single user system, I always prefer umask=0. That way, there's no permissions problems, which is the way a FAT filesystem works best anyway.

    Fixing it? Hmmm, good question. I'd like to figure out how to change the default pmount setting, but I have no clue. The only way I know to override this is to edit the fstab so you have a defined mount point for each device you could possibly plug in... or there is a way to do it for only this one.

    I'm still curious how the "uid=1 000" got in there, should be uid=1000 (no spaces) to attach it to the default user. Can I see the contents of your current /etc/fstab and the output of ls -l /dev/disk/by-uuid while the drive is plugged in? Thanks.

    so you want me to move the enitre folder instead of just the c drive? then use the same code presented earlyer?
    No that's not necessary. From a disk space perspective, KingX's commands will work just fine.

Posting Permissions

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