Migrating from flash USB to SATA-CF
-
Right now I'm running the embedded nanobsd on a USB flash drive but I finally got my replacement CF-SATA cardreader.
I'm wondering what method would be the best to just DD over the whole USB drive to the CF (CF card has less capacity than the USB flash drive).
Or
To just make a fresh install on the CF and import the settings from the old USB?
If it matters I'm running openVPN server and the certificates might not work if I migrate on either method?
-
If you're looking for an opinion, if it were me I'd go for box number two (export settings and import into fresh installation).
-
Guess option 2 is not a real "install", as you are going to use the nano on the CF-card, right?
Always better to start fresh, so copy over nano to the CF, add the config.xml, then on first login see if the packages are installed automatically, otherwise do it manually. Done…
-
Always better to start fresh, so copy over nano to the CF, add the config.xml, then on first login see if the packages are installed automatically, otherwise do it manually. Done…
So I can add the config file before I even boot the thing? I was afraid I would have to do some basic configuration before I could add the config.
Which way is the best way to do this? I DD:d the image to the CF card. Should I just mount the drive in and linux and copy the config file to the right location or what do I do?
-
Last time, I changed to another USB memory stick (larger one), flash the NanoBSD to the new stick, export config from old one, boot up with the new one, then in the new one I chose "import" and all good!