LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help me, need to move carpets to a SDHC to avoid space problems (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-need-to-move-carpets-to-a-sdhc-to-avoid-space-problems-4175424398/)

ferfar56 08-28-2012 08:35 AM

help me, need to move carpets to a SDHC to avoid space problems
 
In my Asus notebook I installed easypeasy, excelent distro, I have a SSD w/4g where I installed easypeasy, need to redirect "my documents" and some other carpets to a sdhc/8g . With this I want to avoid disk space problems on SSD, when running applications.
How can I do that ?

Thanks for help.

rokytnji 08-29-2012 05:36 PM

Takes some work and skill. Need symlinking skill and edit /etc/fstab skill plus use of terminal.

Code:

harry@Biker:/mnt/sdb1/home/harry$ sux
Password:
root@Biker:/mnt/sdb1/home/harry# blkid
/dev/sda1: LABEL="/" UUID="62f41c57-e269-42ea-b339-19a9ed8b266e" TYPE="ext2"
/dev/sdb1: LABEL="/home" UUID="f496aeb2-996f-49ff-9f91-5552f385a465" TYPE="ext2"
root@Biker:/mnt/sdb1/home/harry# cat /etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab
/dev/sda1 / auto defaults,noatime 0 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 1
/dev/sdb1 /mnt/sdb1 ext2 auto,users,exec,relatime 0 2
# Dynamic entries below
tmpfs /media/ramdisk tmpfs size=64M,nr_inodes=10k,mode=777 0 0

root@Biker:/mnt/sdb1/home/harry# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1      3.7G  2.5G  1.1G  71% /
tmpfs          5.0M    0  5.0M  0% /lib/init/rw
tmpfs          202M  516K  202M  1% /run
udev          1004M    0 1004M  0% /dev
tmpfs          404M  8.0K  404M  1% /run/shm
/dev/sdb1        15G  2.6G  12G  19% /mnt/sdb1
tmpfs            64M  9.4M  55M  15% /media/ramdisk
root@Biker:/mnt/sdb1/home/harry#

I did this on my EEEPC 900. But not on Easy Peasy. My thread with screenshots.

http://antix.freeforums.org/dealing-...0e0ff752833bbc

I could point you to a lot of Ubuntu links if you prefer that instead.

Link


All times are GMT -5. The time now is 08:29 AM.