I have to partition again my disk, too little space for root partition,
so i must save my /home partition in a temporary external disk (all the files, of course the hidden too), shrink the /home partition and enlarge
the root one.
a cp command is enough for the migration of the /home files?
and which parameters add to the command?
And could I verify the correct migration then, mounting the /home on the external disc?
Tanks in advance.
I have to partition again my disk, too little space for root partition,--- Synchronet 3.21f-Linux NewsLink 1.2
so i must save my /home partition in a temporary external disk (all the files, of course the hidden too), shrink the /home partition and enlarge
the root one.
a cp command is enough for the migration of the /home files?
and which parameters add to the command?
And could I verify the correct migration then, mounting the /home on the external disc?
Tanks in advance.
You o know that you can link to another partition. For example I have
/home on a directory called /local. So /home is linked to /local/home.
It is silly to have /home on /, since / gets replaced on upgrade, making /home be on a partition with major changes is dangerous.
Or you could put /usr/share onto /local say and link /usr/share to that directory.
rsync -av /usr/share /local/usrshare
rm -rf /usr/share
ln -sf /local/usrshare /usr/share
Il 06/04/26 03:54, William Unruh ha scritto:
You o know that you can link to another partition. For example I have
/home on a directory called /local. So /home is linked to /local/home.
It is silly to have /home on /, since / gets replaced on upgrade, making
/home be on a partition with major changes is dangerous.
Or you could put /usr/share onto /local say and link /usr/share to that
directory.
rsync -av /usr/share /local/usrshare
rm -rf /usr/share
ln -sf /local/usrshare /usr/share
Thanks a lot, all of you!
My problem was a stupid partition of a 1GB disc, where I dedicated only
15GB for / partition and the rest for /home one.
It was good 10 years ago (my pc is older than that) but now it is not enough.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 14:04:02 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
8 files (13,162K bytes) |
| Messages: | 265,525 |