Ekzema Posted March 15, 2004 Report Share Posted March 15, 2004 Hi all. I don't know if this is the right section of the forums to post this question of mine, if it's not i'm sorry and i hope that the mods can move it in the right place. Still, i feel like posting it here it's maybe the right thing to do. I Installed Mandrake 9.2 on my desktop using a plain vanilla "/" and swap disk formatting. No fancy usr, var, temp or else partitioning. My bad you would say, and i may also agree.:) At this point i was wondering if there is a "post install" procedure to create a new "home" partitioning on my install. A way that will not, of course, mess with the actual content of the dir nor the whole HD. Feel free to tell me the canonic "get the heck out of here nooblar!" or the equivalent "noob-of-the-year-award" sentence... i will be strong. Thanks in advance for any clue or help you may throw in here. Ekzema Quote Link to comment Share on other sites More sharing options...
Gowator Posted March 15, 2004 Report Share Posted March 15, 2004 Not at all, its something we all do once in a while. The trickey bit is resizing the partition unless you left room ... You can use diskdrake and it usually works... but when they say backup ALL your data they mean it!!! Once this is done and you have a partition for /home its simple. You unmount your present one (if it was seperately mounted) if not close X (by init 3 as root) (your doing this to make sure no user stuff is using /home) then edit /etc/fstab create an entry for root according to which partition it is etc. use the model already there. (make sure you make it mounted on boot) then mv /home /oldhome This allows you to then mkdir /home (as an empty dir) then mount /dev/hda(x) /home (in fact if its in the /etc/fstab you shouldnb't need to say where ...) mkdir /home/ekzema (or whatever your username is) then chown ekzema:ekzema /home/ekzema Once that done then su ekzema next cp -rp /oldhome/eksema /home/eksema (p copies permission too., r is recursive) Now you should have everythng in that directory. exit (leave the ekzema shell) init 5 (this will restart the display manager and promot you to login) login as your user and it should all work. Once your sure everything is OK you can rm /oldhomes -rf Quote Link to comment Share on other sites More sharing options...
Ekzema Posted March 15, 2004 Author Report Share Posted March 15, 2004 Hi. Thanks very very much Gowator!:) I will try it and see if i can manage to mess my system badly. :P Thanks again, have a nice day. Ekzema Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.