Wazaam
Posts: 3
Joined: Fri May 18, 2018 2:39 am

Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 3:20 am

I was given a Raspberry Pi 2 as part of a university project and one of the things I'm trying to do is upgrade it to a Raspberry Pi 3B+.

The code base on the RPi 2 is far too large and requires too much setup to manually port everything over to the 3B+ so I am trying to upgrade the
RPi 2 SD card so it works on the new 3B+ using the sudo apt-get update/ sudo apt-get upgrade commands.

Issues I am facing with this include:

[*]The RPi 2 does not have a GUI so I am unable to connect to the internet to run the update command.
[*]I'm trying to connect to the internet using the command terminal but I can't find where/how to do it.
[*]I was told I can run the upgrade command locally by installing the upgrade on a USB drive and pointing the upgrade to the USB when calling the command, however, I am not sure how to do this.
[*]I was also told I can install a GUI on a local USB drive and install it to the Pi through that so I can then connect to the internet through the GUI, but again, I'm not sure how to do this.

If there are any other suggestions on how to port over the system from the RPi 2 to the RPi 3B+, please let me know.

Any help will be greatly appreciated.

User avatar
HawaiianPi
Posts: 2433
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 4:10 am

Wazaam wrote:
Fri May 18, 2018 3:20 am
Issues I am facing with this include:

The RPi 2 does not have a GUI so I am unable to connect to the internet to run the update command.
Why do you need a GUI? The Pi2 would use Ethernet, which doesn't need anything special to connect.

Wazaam wrote:
Fri May 18, 2018 3:20 am
I'm trying to connect to the internet using the command terminal but I can't find where/how to do it.
Just plug an Ethernet cable into the Pi2, and the other end into the router or gateway and it will be connected.

Also, what version of Raspbian is on the card? If it's Jessie you are out of luck (Jessie is not compatible with the Pi3B+ model).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Wazaam
Posts: 3
Joined: Fri May 18, 2018 2:39 am

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 4:40 am

It's on version 7 , wheezy.
I've tried connecting it to Ethernet, but was unable to connect to the network to run the upgrade command.

Are there any commands I need to input to connect the Pi to the internet?

Sorry if it sounds basic, it's my first time working with a Raspberry Pi.

fruitoftheloom
Posts: 16718
Joined: Tue Mar 25, 2014 12:40 pm

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 5:29 am

Wazaam wrote:
Fri May 18, 2018 4:40 am
It's on version 7 , wheezy.
I've tried connecting it to Ethernet, but was unable to connect to the network to run the upgrade command.

Are there any commands I need to input to connect the Pi to the internet?

Sorry if it sounds basic, it's my first time working with a Raspberry Pi.

Doubtful Raspbian Wheezy would run on a RPi 3B+, Stretch 9 is current.
Adieu

User avatar
DougieLawson
Posts: 32993
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 5:38 am

You may be able to coax a plain Wheezy SDCard into life with sudo rpi-update, but if the SDCard has NOOBS then forget it.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

neilgl
Posts: 136
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 7:16 am

What is the code base that is far too large?

jahboater
Posts: 2709
Joined: Wed Feb 04, 2015 6:38 pm

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 7:21 am

neilgl wrote:
Fri May 18, 2018 7:16 am
What is the code base that is far too large?
Sounds like a nightmare if the card fails ......

User avatar
HawaiianPi
Posts: 2433
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Can't upgrade SD card from Rasperry Pi 2 to Raspberry Pi 3B+

Fri May 18, 2018 9:09 am

There is no way you will get Wheezy running properly on a Pi3B+ model. It's an end of life OS anyway, so it's time to start over. Wheezy long term support stops at the end of this month, after which there will be no support at all (no further security updates).

Get a new SD card, install the latest Raspbian Stretch and use a card reader to backup what you can from the old card (scripts, configuration files, anything you created). Anything that was installed will have to be reinstalled and reconfigured manually.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Return to “Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot], rpwoods and 47 guests