Results 1 to 5 of 5
Its true. Im dumber than a box of rocks. So I wanted to expand my linux partition. I chop 10 gigs off of my NTFS using the GParted Live CD. ...
- 03-29-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 14
I am retarded. Plz help.
Its true. Im dumber than a box of rocks. So I wanted to expand my linux partition. I chop 10 gigs off of my NTFS using the GParted Live CD. Then I went and mounted the new EX3 partition on my home directory. Baisically I cant login using a GUI... I can still access my origional home directory (its now under local....lonc story). Can i just copy this over to the now empty "home" directory? I've tried the following already:
Neither did anything visible, and didnt copy over the stuff in snaxib to the home folder.Code:# cp /home/snaxib /local/snaxib/* (snaxib was the main part of my home directory) # cp /local/snaxib/* /home/snaxib
- 03-30-2007 #2
I believe the question of the hour is, "What was under '/home' before you mounted the new partition?" -- just 'umount /home' -- whatever was there originally should still be there...
Of course, you could use 'mv' instead of 'cp -a'...Code:umount /home mv /home /home.old mount /home # Assuming '/home' is defined in /etc/fstab as new partition... cp -a /home.old/* /home/ # Assuming no 'dot' files in '/home.old/'
- 03-30-2007 #3
if you are moving Home then you should preserve symlinks and permissions too.
cd to old home folder and execute this
Code:find . -depth -print0 | cpio --null --sparse -pvd <path_of_new_home_folder>
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-30-2007 #4I believe 'cp -a' will accomplish this quite nicely...
Originally Posted by devils_casper
- 03-31-2007 #5Just Joined!
- Join Date
- Jan 2007
- Posts
- 14
Ok, I tried this"
It copied everything fine. However i still get an error when logging in (in runlevel 7 only)Code:find . -depth -print0 | cpio --null --sparse -pvd <path_of_new_home_folder>
this is the error:
"User's $HOME/.dmrc is being ignored. This prevents the default session and language from being saved. File should be owned by user and wave 644 permissions. User's $HOME directory must be owned by user and not writable by other users"


Reply With Quote