Hi
I've just installed Antix M8 on my 2gb eee. Everything's working fine, but I haven't much space left on the internal SSD, so I was hoping to put /home on my 4gb SD card. During install the only option in the /home location dropdown was root, so it had to go on the SSD, but I'm hoping that now the install is complete I can move it to my SD card. Does anybody have some straight-forward instructions on how I might achieve this?
Thanks
Andy
topic title: Can I move my /home to my SD card?
9 posts
• Page 1 of 1
-
Posts: 4
- Joined: 19 Feb 2009
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Welcome to antiX.
About your question. I presume it can be done if the pc sees the SD card, but I'm not sure how or the best way to go about this.
To save space on the SSD, you may want to remove some apps you don't want/need.
About your question. I presume it can be done if the pc sees the SD card, but I'm not sure how or the best way to go about this.
To save space on the SSD, you may want to remove some apps you don't want/need.
-
Posts: 200
- Joined: 15 Oct 2008
#3
Hello
I haven't tried this (since I have a 4G eepc 701, antiX installed on the SD card, and not yet wiped off xandros install)
I would format the SD with gparted ext2 or ext3
create a /home directory on the SD
copy the SSD home to the /media/sd1/home (assuming /dev/sdb1 is the SD, mounted on /media/sdb1)
edit /etc/fstab to have /dev/sdb1/home mounted under /home at boot
...reboot
One issue may be that your SD card doesn't show as /dev/sdb1 if other USB devices are plugged
It would be better to use the UUID in fstab:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://manual.sidux.com/en/part-uuid-en.htm%22%20onclick=%22window.open%28this.href%29;return%20false"
linktext was:" http://manual.sidux.com/en/part-uuid-e ... turn false"
====================================
Hope this will help
I haven't tried this (since I have a 4G eepc 701, antiX installed on the SD card, and not yet wiped off xandros install)
I would format the SD with gparted ext2 or ext3
create a /home directory on the SD
copy the SSD home to the /media/sd1/home (assuming /dev/sdb1 is the SD, mounted on /media/sdb1)
edit /etc/fstab to have /dev/sdb1/home mounted under /home at boot
...reboot
One issue may be that your SD card doesn't show as /dev/sdb1 if other USB devices are plugged
It would be better to use the UUID in fstab:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://manual.sidux.com/en/part-uuid-en.htm%22%20onclick=%22window.open%28this.href%29;return%20false"
linktext was:" http://manual.sidux.com/en/part-uuid-e ... turn false"
====================================
Hope this will help
-
Posts: 4
- Joined: 19 Feb 2009
#4
Thanks, I've edited fstab, but I do have another problem. I can't write to the SD card as I don't have permission. I formatted it to ext2 when I installed antiX, but that's made it owned by root, and only root has permissions on it. If I try to do a sudo chmod on it I get an error saying that I don't have permission to sudo that command. Infact I get that error if I try to use sudo to run any command (e.g. sudo apt-get autoclean).
Also, I can't log in as root, I get the error"Failed to execute login command".
Any ideas why I can't sudo or even login as root? I'm definitely using the correct password as certain items within the Control Centre request it, and they all work.
Thanks
Also, I can't log in as root, I get the error"Failed to execute login command".
Any ideas why I can't sudo or even login as root? I'm definitely using the correct password as certain items within the Control Centre request it, and they all work.
Thanks
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#5
antiX doesn't use sudo, but su and sux instead.
To get root priviliges, in a terminal
su
root-password
apt-get update
For gui apps needing root priviliges, in a terminal use sux instead of su.
If you want to login as root (not recommended) you have to use the nogui cheatcode at boot menu, or if in X, Ctrl Alt F1 to drop to a shell and then login as root. (The login manager used in antiX, SLiM, doesn't allow root login)
To get root priviliges, in a terminal
su
root-password
apt-get update
For gui apps needing root priviliges, in a terminal use sux instead of su.
If you want to login as root (not recommended) you have to use the nogui cheatcode at boot menu, or if in X, Ctrl Alt F1 to drop to a shell and then login as root. (The login manager used in antiX, SLiM, doesn't allow root login)
-
Posts: 253
- Joined: 13 Sep 2007
#6
Putting /home on a different drive (not just a different partition) from /root has been discussed on
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://mepislovers.org"
linktext was:"http://mepislovers.org"
====================================
" onclick="window.open(this.href);return false. I think that they usually recommend either:
- a symlink from the /home made during the install and the new /home that you want to use.
- copy the installed /home to a new partion and edit fstab as lagopus stated.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://mepislovers.org"
linktext was:"http://mepislovers.org"
====================================
" onclick="window.open(this.href);return false. I think that they usually recommend either:
- a symlink from the /home made during the install and the new /home that you want to use.
- copy the installed /home to a new partion and edit fstab as lagopus stated.
-
Posts: 4
- Joined: 19 Feb 2009
#7
Fantastic. I think I've got it all working, so I've got 509MB free on my 2GB SSD, and my /home is on the SD card with around 3.7GB free. Should mean I can install any software I need without problems, and still have loads of room left for any other files I need to create/edit/store in my home directory __{{emoticon}}__
Thanks for all your help!
Thanks for all your help!
-
Posts: 4
- Joined: 19 Feb 2009
#8
Just one other thing, I've noticed I have no sound. I've run the Configue Sound app in the control centre without any luck. Any ideas? I assume it's simply a driver issue, but I could be wrong.
Thanks
Thanks
-
Posts: 903
- Joined: 11 Oct 2008
#9
Hello awakener76:
I had a lot of problems with sound in a desktop as well. Perhaps you have done this already, but from a terminal run alsamixer and increase the volume. Also make sure the volume bar (at least in ice-wm) is turned up.
Finally, I had to mute a setting in alsamixer in order to get sound to work. The info is at the end of this link
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/change-of-mission-for-antix-t1434.html"
linktext was:"antix.freeforu ms.org/change-of-m ... t1434.html"
====================================
" onclick="window.open(this.href);return false
I hope it works for you.
Pedro
I had a lot of problems with sound in a desktop as well. Perhaps you have done this already, but from a terminal run alsamixer and increase the volume. Also make sure the volume bar (at least in ice-wm) is turned up.
Finally, I had to mute a setting in alsamixer in order to get sound to work. The info is at the end of this link
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/change-of-mission-for-antix-t1434.html"
linktext was:"antix.freeforu ms.org/change-of-m ... t1434.html"
====================================
" onclick="window.open(this.href);return false
I hope it works for you.
Pedro