I need help on how to change the disk to run my bitcoin core wallet Long time ago I transferred my wallet on My Passport an external hard disk. I have not opened bitcoin core for over 8 months. I opened it 2 days ago, the dialog box opened, which normally doesn’t and I was asked to choose where to open bitcoin core. I chose the external disk.Something went wrong. Finally I understood that there was a problem with the disk and it was not mounting on my macbook pro. I fixed that problem. However bitcoin core continues to open at the default file on my mac which is empty.  My wallet shows no transactions and it is updating since 11 years back.
I need to be able to open the dialog box at start of bitcoin core to choose again the correct disk but I don’t know how to do that. My knowledge is very limited
Close core, find your bitcoin.conf file, and change the datadir setting. e.g.

# [core]
# Specify a non-default location to store blockchain and other data.
datadir=/opt/yourdisk


Then re-open core. It should pick up where your wallet last synced to on the external drive.