Fresh install, having a hard time migrating settings from old card. <Solved, I'm a noob>
Nowun last edited by Nowun
Hi again everyone,
So i spent 2 hours already looking through this site and others and have no definitive working solution, so I'm posting.
Long story short, I have a 128gb sd card, and a heavily tweaked rpi installation on it. I am doing a fresh install onto a smaller 32gb card because I am giving this one away as a gift, and I want to retail all of my settings and scrape.
I can not get any of the software to run on my inferior pc to follow any of the tutorials to shrink my sd card image i made to fit and i only have 6gb of data on it as i run all of my roms and isos from usb.
So on my fresh install I am trying to copy over my config.txt and several other config files. I get permission denied error code 3 via winscp every time, and i can go no further writing to boot/.
How can I get past this hurdle, and exactly what files do i need to copy over to retain my familiar interface and settings?
Also my scraped data is nowhere to be found in either of the two specified locations on my sd card, do these save to usb via default if you store your games there?
I even bought another 128 gb card but of course its not the same size for real and again i can't shrink this. I have read numerous guides to no avail, either because i cant run the software, or i get that error in winscp.
I greatly appreciate any help on this, thank you in advance.
Also if i use my existing usb drive is it going to overwrite my settings with my old ones, or is my usb going to be effectged by the fresh new system having nothing? Thanks.
Sorry, and lastly I already updated shell in winscp to sudo su, zero difference. if i put my old sd card in i have zero issues transferring.
I also just tried all of this, and made sure the file system was expanded, still the same permission denied issue.
Open file sshd_config located in etc/ssh: sudo nano /etc/ssh/sshd_config. Find line: PermitRootLogin without-password. Comment it out (or delete) it and replace with: PermitRootLogin yes. Save changes (CTRL + X)
Set root password: sudo passwd root.
Reboot your Raspberry Pi.
First, you don't need to be root to migrate your configuration and ROMs - you can just copy them as regular user (
pi) on your PC and then transfer them - in the same location on the new system - look in this topic for what needs to be transferred.
For the SSH configuration - have you removed the comment (
#sign) at the beginning of the line where
PermitRoolLoginis configured ? It should look like this
and not like this
@mitu Thank you!
I have not done any of this in a while and I noobed out on the basics. Much appreciated.