Thread: Move /home to existing /home partition?
hi all,
been digging around , not finding quite works.
background: had existing 10.10 install , 10.04 on partition. when installed 10.04 told use existing /home partition being used 10.10 install. good, both users have directories data in same /home partition.
issue: so, 10.04 32bit (experimenting story) decided replace 10.04 64bit. went except when did manual partitioning screwed , instead of setting existing /home partition 'use don't format' - think must have done last time - left 'don't use , don't format'. so, obviously, new 10.04 install has /home inside /, don't want. want on existing /home partition previous 10.04 install.
question(s): there simple(ish) way of doing without reinstall? not major problem have installed , can again without losing time, figure out way without if possible.
little more detail:
/media/home = existing /home partition;
want move /home/user directory (rather /home) , make /media/home/user inside existing partition. seems easy enough on surface becomes involved investigate.
ubuntu 10.04 minimal install xfce de. tips appreciated.![]()
as contents of /home/user want move /media/home try this:
then setup /etc/fstab mount /media/home. @ moment have / , /swap:code:# cp -a /home/user/* /media/home/user
a little dirty work. mean ignore /home (or delete it) inside / need change default folder file manager.code:# /etc/fstab: static file system information. # # use 'blkid -o value -s uuid' print universally unique identifier # device; may used uuid= more robust way name # devices works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sdb8 during installation uuid=d015570f-cd27-4a23-8db7-3eb4d685b48d / ext4 errors=remoun$ # swap on /dev/sdb7 during installation uuid=63d86782-bff4-41c1-924f-37d093fbe371 none swap sw $
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [xubuntu] Move /home to existing /home partition?
Ubuntu
Comments
Post a Comment