LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2013, 04:29 PM   #16
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908

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.
 
Old 04-07-2013, 04:32 PM   #17
highrolla
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
on sudo vim /etc/fstab

udo: vim: command not found

do you want me get to file in dolphin and edit it
 
Old 04-07-2013, 04:34 PM   #18
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,128
Blog Entries: 1

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Yes as root use sudo
 
Old 04-07-2013, 04:35 PM   #19
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 04-07-2013, 04:43 PM   #20
highrolla
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-07-2013, 08:54 PM   #21
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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
 
Old 04-08-2013, 03:15 AM   #22
highrolla
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-08-2013, 03:29 AM   #23
highrolla
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
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

Last edited by highrolla; 04-08-2013 at 03:40 AM.
 
Old 04-08-2013, 11:55 AM   #24
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,128
Blog Entries: 1

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Hi

Home would be /home correct
 
Old 04-08-2013, 01:12 PM   #25
highrolla
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
thanks spiky
 
Old 04-08-2013, 03:22 PM   #26
highrolla
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving file data using Python in an embedded system in an safe and fast way Fabio Paolini Programming 7 04-24-2011 12:07 PM
[SOLVED] Automating USB drive configuration of partion table, partition and file system nicklli Linux - General 9 01-28-2011 10:40 AM
fat32 file system 100% safe with linux? vlatko Linux - Newbie 4 06-26-2006 02:14 AM
fail-safe update prog, how much is the file system a problem? Thinking Programming 4 02-24-2006 06:18 AM


All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration