LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   after install how to keep file system safe and use another partion for my file system (https://www.linuxquestions.org/questions/linux-newbie-8/after-install-how-to-keep-file-system-safe-and-use-another-partion-for-my-file-system-4175457221/)

theNbomr 04-07-2013 03:29 PM

If you have no /home directory, just make one (as root):
Code:

mkdir /home
Change the line in your fstab that mounts on /mnt/sda2 to mount on /home. Reboot, or run 'mount -a'.
The script that creates users may try to create them in /mnt/sda2, but it sounds like probably not. You may find one or more existing user home directories in the partition that you are re-mounting.

We asked you to use [CODE] [/CODE] tags to preserve readability and formatting of your posted data. Please reciprocate to those who are trying to help you by doing so. See the link in my sig for details.

--- rod.

highrolla 04-07-2013 03:32 PM

on sudo vim /etc/fstab

udo: vim: command not found

do you want me get to file in dolphin and edit it

spiky0011 04-07-2013 03:34 PM

Yes as root use sudo

theNbomr 04-07-2013 03:35 PM

Okay, just re-reading your fstab file, it looks like there is no actual installation. Is this a system that boots from a CD/DVD/Flash-drive? If so, then there is no simple way to make your changes permanent. Please give use the details of the nature of this system, and how it was created.

--- rod.

highrolla 04-07-2013 03:43 PM

no all my changes are getting saved after reboot i have no problem ther it was a live cd/usb but has a hdd install menu wich installs to my hdd

chrism01 04-07-2013 07:54 PM

Here's an explanation/howto of code tags https://www.linuxquestions.org/quest...do=bbcode#code

Good Linux tutorial http://rute.2038bug.com/index.html.gz

highrolla 04-08-2013 02:15 AM

Ok thanks how would I install applications on my system now . Rebooted and it home mounts under home thanks for your help most thankfully

And change my paths

highrolla 04-08-2013 02:29 AM

Would home be under /home/
Not /root/home//

To work apps do copy file system over to hone
if so how to set new path

spiky0011 04-08-2013 10:55 AM

Hi

Home would be /home correct

highrolla 04-08-2013 12:12 PM

thanks spiky

highrolla 04-08-2013 02:22 PM

I just want to say thanks to all who have helped me at linux questions i have solved my problems with your help my home now mounts on new partion and all is correct if anyone is reading this post and are looking to do the same here is a good link witch i found helpfull thanks to linux question forum

http://embraceubuntu.com/2006/01/29/...own-partition/


many thanks


All times are GMT -5. The time now is 12:56 PM.