100
submitted 7 months ago by mariah@feddit.rocks to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] mariah@feddit.rocks 1 points 7 months ago

Mounting and sudo apt -f install worked. So does stuff install in /home/apt-cache now? I do want to combine / and /home

[-] Successful_Try543@feddit.de 1 points 7 months ago

My recommendation would be to copy your entire home directory with rsync -a onto another (external) drive, as you anyway don't want to modify your partitions without having a backup. Then boot into a live distribution and open a partition editor, delete the home partition (the data on it will be lost), expand the root partition (/) onto the entire disk. Finally copy the backup back into the home folder using rsync -a

[-] mariah@feddit.rocks 2 points 7 months ago

Ok. Does rync -a copy hardlinks

[-] Successful_Try543@feddit.de 1 points 7 months ago* (last edited 7 months ago)

No, only softlinks. See it's man page. AfaIk, rsync -a is usually used for backup.

[-] mariah@feddit.rocks 1 points 7 months ago
this post was submitted on 27 Feb 2024
100 points (91.0% liked)

Linux

47471 readers
1355 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS