Differences between version 24 and predecessor to the previous major change of ShouldBePutWhere.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 24 | Last edited on Sunday, July 29, 2007 2:06:27 pm | by ElroyLiddington | Revert |
Older page: | version 22 | Last edited on Sunday, July 29, 2007 2:00:51 pm | by ElroyLiddington | Revert |
@@ -35,33 +35,24 @@
#Create new '/home'_temp partition and format, then quick integrity check:
*'cfdisk /dev/xxxx'
* REBOOT!!! - is this really needed?
-
*'mkfs.ext3 -c /dev/xxxx'
* REBOOT!!! - is this really needed?
-
*'fsck.ext3 -c /dev/xxxx' (Extra -c redundant from mkfs -c?)
#Move/redirect '/home'_old to temp partition/drive,
*'<your-fav-text-editor-here> /etc/fstab'
* Locate the line with '/home' in it.
-
* Carefully remove the '/dev/xxxx...' at the beginning, and replace with that of your newly created temp partition.
* SAVE!
-
-
* This is where we mount our new temp dir:
* 'mkdir /media/xxxx'
-
* This mounts our temp EXT3 partition to our previously created mount point '/media...' etc:
* 'mount -t ext3 /dev/xxxx /media/xxxx
-
-
* Copies (recursively) our user data from old '/home':
* 'cp -R /home/* /media/xxxx'
-
* Check our copy worked OK:
* 'diff -r /home/* /media/xxxx'
* If any errors are output from the above step, they SHOULD? (NEEDS CONFIRMATION!!) be noted in the output from 'diff'.
@@ -72,19 +63,17 @@
#Delete/Reformat old '/home':
* Remove original user(s) from the /home folder (stops the system getting confused later when we re-add them?!?)
* 'userdel user1'...user2...etc'
-
* Nuke old partition - make sure you delete the right one!!!
* 'cfdisk /dev/xxxx'
* REBOOT!!! - is this really needed?
-
* Create new partition from free space from old one
* 'cfdisk /dev/xxxx'
* REBOOT!!! - is this really needed?
- # Move/redirect user/data/mount-point back to original partition
+ #Move/redirect user/data/mount-point back to original partition
* Edit '/etc/fstab' to change your '/home' entry from '/home'_old to '/home'_new
* SAVE!!
* REBOOT!!