The bought a Pixel 6a 18 months ago, second hand and decided to install GrapheneOS,
It was a monumental decision for me, never having flashed a phone.
I started at the top of the installation page and followed the instructions, literally word for word and on the first attempt, I had flashed GrapheneOS.
Transferring data from your old phone with give you the bigger problem, as stated already.