sdcard upgrade 8GB to 32GB

Had use Etcher to clone the original 8GB SD card for a 32GB one. But seems that the image cloned keep at 8GB instead of upgrading to a 32GB storage. Did i made anything wrong or miss some step? This start while not upgrading Klipper, RatOS, and so on. After the clone, i could update it all. But now i can't load print files, and i think it's a lack of storage on the card.
No description
11 Replies
blacksmithforlife
blacksmithforlifeβ€’8mo ago
I think you need to create a img file first, then flash that to the new SD card otherwise you get what has happened to you, a image of 8gb on a 32 gb card I use win32diskimager to create an image, but there are other programs you can use
VascoFaria
VascoFariaβ€’8mo ago
Had install win32diskimager , but don't seems to get an image to be extracted from the actual SD card. While on Etcher, it allow me to select both drives for clone. On win32diskimager it's no drive selectable, only separated files on that drive.
blacksmithforlife
blacksmithforlifeβ€’8mo ago
did you mount it in a linux vm? Windows can't directly read that filesystem
miklschmidt
miklschmidtβ€’8mo ago
Balena clones it correctly, it doesn't need to read the filesystem @vascofaria. give this a shot https://www.labviewmakerhub.com/doku.php?id=learn:tutorials:libraries:linx:misc:raspberry-pi-2-expand-file-system (under manual process) Might actually be enough to do:
ssh pi@ratos.local
raspi-config --expand-rootfs
ssh pi@ratos.local
raspi-config --expand-rootfs
blacksmithforlife
blacksmithforlifeβ€’8mo ago
that was in regard to win32diskimager
miklschmidt
miklschmidtβ€’8mo ago
This is usually done automatically on first boot, but since your new card's first boot was ages ago, you need to do it manually πŸ˜„
VascoFaria
VascoFariaβ€’8mo ago
I didn't know how to do i, just like that. So just search, and search, and search, and keep searching, with that information you provide and more i could get, and found many confusing information. πŸ˜… Had try some different ways, so lead me to a dead end multiple times. The way i could do it, and it was the easiest way i found, was: 1) I need to create a file "ssh" on the sdcard (from windows) (https://youtu.be/p_WNAojvAao?si=nFS5a7fryBo2CEZs&t=72) 2) Then i plug the sd card on the rpi and with command pront (on windows) could access to the rpi (https://youtu.be/63yw7b0NuWc?si=EEzmDS3bTi0TCjQ-&t=543) 3) So i could now go to the raspberry settings (https://youtu.be/p_WNAojvAao?si=LTEsIVZ4sAyfFA5-&t=148) . 4) And navigate to Advanced Options and select Expand Filesystem (https://youtu.be/xSxNJSkSgpk?si=YMhZ7ZUblXGywyKy&t=393) I assume your code could do it directly, but at the moment i was inside the rpi, i decided to explore the options/settings, to get a bit familiarized with it. Also did an update, on rpi settings. Had test it, and now i could load print files, and the printer is working properly. It also allow me to update some 35 system packages (on update section of RatOS). Thank you both for your help.
NematicsLab
YouTube
How to enable SSH on Raspberry Pi without a Monitor! | Hack!
You can access the command line of a Raspberry Pi remotely from another computer or device on the same network using SSH. The Raspberry Pi will act as a remote device: you can connect to it using a client on another machine. You only have access to the command line, not the full desktop environment. For a full remote desktop, see VNC. More info...
Tony Teaches Tech
YouTube
How to Enable SSH on a Raspberry Pi (and connect via IP)
Learn how to SSH into a headless Raspberry Pi by setting up WiFi, enabling SSH access, and determining the IP address. Get a Raspberry Pi 4 on Amazon πŸ‘‰ https://amzn.to/2Ka0swl Code snippets and more at https://tonyteaches.tech/raspberry-pi-ssh/ Check out my vlog channel @TonyFlorida #raspberrypi #ssh Music: Milos by Eveningland https://you...
NematicsLab
YouTube
How to enable SSH on Raspberry Pi without a Monitor! | Hack!
You can access the command line of a Raspberry Pi remotely from another computer or device on the same network using SSH. The Raspberry Pi will act as a remote device: you can connect to it using a client on another machine. You only have access to the command line, not the full desktop environment. For a full remote desktop, see VNC. More info...
RaspberryTips
YouTube
How to Clone your SD Card - Raspberry Pi, Windows, Linux and macOS
For a Raspberry Pi with many data or even critical data, it’s a good practice to create an image of the entire storage. On Windows, Win32 Disk Imager is the best tool to do this. On Linux, the dd command can do this. And on macOS, ApplePi Baker is the best choice for a graphical solution. Recommended USB card reader: https://geni.us/l7m7 Linu...
miklschmidt
miklschmidtβ€’8mo ago
Yeah all you needed to do was open your command prompt (WIN + R, type cmd, hit enter) and enter the two lines i posted and you would be done. Anyway, Important part is you're back in action πŸ™‚
VascoFaria
VascoFariaβ€’8mo ago
I had try it, but from what i thing i understood on this process, i need to create the ssh file on the sd card before that. Also, i thing other issue i got was the "ratos.local", as i had to specify the IP instead.
miklschmidt
miklschmidtβ€’8mo ago
i need to create the ssh file on the sd card before that.
RatOS has ssh enabled by default So that sounds very strange
Also, i thing other issue i got was the "ratos.local", as i had to specify the IP instead.
New pi = new IP, ratos.local was probably cached in your local dns cache. But yes πŸ™‚ Computers suck πŸ˜‚
VascoFaria
VascoFariaβ€’6mo ago
Just to inform you that i test it and now i can access via ssh line. So now i'm lost what was my real issue on not be able to connect. 🀷 Never mind, it was solved. πŸ‘Œ And could help others too. Thank you again.