Re: how to add a /home partition

2017-11-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 04, 2017 at 12:33:48AM +0100, Michael Lange wrote: > Hi, > > On Fri, 3 Nov 2017 22:34:02 +0100 > wrote: > > > > > - copy the contents of /home to its future location: > (...) > > or cp -a /home/* /mnt > > to be nitpicking, should

Re: how to add a /home partition

2017-11-03 Thread Michael Lange
Hi, On Fri, 3 Nov 2017 22:34:02 +0100 wrote: > > - copy the contents of /home to its future location: (...) > or cp -a /home/* /mnt to be nitpicking, shouldn't this rather be cp -a /home/. /mnt just to cover the (admittedly unlikely) case there is some hidden file or folder in

(solved) Re: how to add a /home partition

2017-11-03 Thread Long Wind
Thank Pol Hallen and to...@tuxteam.de! tomas's instruction is detailed and professional, many thanks! On Friday, November 3, 2017 5:34 PM, "to...@tuxteam.de" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Nov 03, 2017 at 09:06:28PM +, Long Wind wrote: > i have

Re: how to add a /home partition

2017-11-03 Thread Pol Hallen
i have installed wheezy at /dev/sda3, no swap disk space isn't enough now i want to add /dev/sda4 as /home partition but how to do it? Thanks! mkfs.ext4 -v /dev/sda4 login from shell (no xorg) with root and mount sda4 to /home2, copy /home to /home2, rm home and rename home2 to home Pol

Re: how to add a /home partition

2017-11-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Nov 03, 2017 at 09:06:28PM +, Long Wind wrote: > i have installed wheezy at /dev/sda3, no swapdisk space isn't enough nowi > want to add /dev/sda4 as /home partitionbut how to do it? Thanks! First, take a backup. Things tend to go wrong i