My computer "died".
I got a new one and want to migrate my Arch install to my new machine. Moved from Intel to AMD, new motherboard, etc.. I thought the better approach would be to do a fresh install and then:
- install all the packages I had on the old installation
- copy my dot files to the new one.
After the fresh installation, how can I list the packages I had on the previous install? I cannot login into it to use pacman to list the packages. I'm moving the SSD to the new computer.
Should I chroot and execute pacman - q >package_list.txt? Is there an easier approach?