Views:
403
Votes: 2
Tags:
boot
dual-boot
grub2
fstab
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1010462
Title:
How can I copy /home and / to new partitions on the same drive which I can boot into for testing.
ID:
/2018/02/28/How-can-I-copy-_home-and-_-to-new-partitions-on-the-same-drive-which-I-can-boot-into-for-testing/How-can-I-copy-_home-and-_-to-new-partitions-on-the-same-drive-which-I-can-boot-into-for-testing.
Created:
February 28, 2018
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Rather than copying OS install it
I would install Kubuntu to sda6
rather than copying sda4
to sda6
and patching things here and there. The advantage is grub
will automatically setup the triple boot for you.
After OS installation copy the package list and reinstall packages. There are a few Q&A’s describing how to automate the process:
- https://unix.stackexchange.com/questions/190853/backup-and-restore-list-of-installed-packages-and-apt-sources
- https://www.ostechnix.com/create-list-installed-packages-install-later-list-centos-ubuntu/
- How can I backup my programs/applications, so that after I reinstall a new one, I can still use the backup-ed ones?
After automatic installation of packages then copy sda5
(/home) over top of sda7
(/home). If you did this before package installation some data / configurations files could be overwritten.
As far as UEFI being broken you could post that as a separate question.