moving /home
Claude Jones
claude_jones at levitjames.com
Sun Dec 4 19:42:15 UTC 2005
On Sun December 4 2005 10:23 am, Gilboa Davara wrote:
> Go to init 1.
> Move home files to new drive.
> Unmount /home
> Edit fstab.
> Remount new /home.
If I'm understanding this better now, let me ask of your patience again.
Thanks to all for your suggestions. I read the links provided by Anil, and
that helped to state the man docs in different words and make them come more
clear. But, each question answered raises a new question. I'm not free to
experiment freely, because this machine is firewalling, routing, and doing
dhcp for a network that needs to stay pretty much up. Taking Gilboa's
suggestions:
1) Go to init 1 - from a root prompt I can type
"init 1"
2) Move home files to new drive - here, I'm floundering. My new drive sda1 is
not mounted yet. I've read the man mv pages, but, I'm not clear here. Can I
just run:
" mv -rp /home /sda1"
3) Unmount home - this I think I understand:
"umount /home"
4) Edit fstab - I like Anil's suggestion here - make a copy of my current
fstab with a different name before embarking on step 1 - edit it as it should
look after I'm done - then, after completing steps 1-3 above, use the cp
command to overwrite the current fstab with my edited version
5) Remount new /home:
"mount /dev/sda1 /home"
Am I getting this right?
--
Claude Jones
Bluemont, VA, USA
More information about the fedora-list
mailing list