Can you remove your SD before starting your system again. Right now, you have an issue as SD card as well as SSD have same device id due to cloning. Both can’t work together actually.
Okay so Turn off the power remove the cable remove sd card and connect the power and see what happenes, ill try now. i did the dd if=/dev/mmcblk0 of=/dev/sda bs=1M status=progress
command should i wait till its done and do it or can i do it now
I thought you already finished the migration? Is your system booting using SSD only?
so I tried to go through the steps again because I thought I missed something, was that a bad idea? And I tried a little while earlier and it didn’t work until I put the sd card back in. The sd card was apparently booted.
I’m a little bit los what you have done and where you stuck. Might be good to start again from beginning.
- Boot your system using SD card (without SSD)
- connect your SSD (no need to mount)
- migrate data as described on our blog
- once done, switch off system
- remove SD card
- Boot your system using SSD
BTW: you are running RPi4, right?
I’m running on an RPI 3b
Also, I’ve done those steps up to 3.
ok in this case, you need to enable USB boot first. I thought you are running RPi4 as this is the header on this post.
Oh, I’m so sorry I should’ve made that clear before that’s my mistake. Doing it now.
So as soon as that’s done I should be able to disconnect the sd card and it should work right?
@Joulinar Thanks so much it worked. Honestly, you are the best! The pi seems a bit faster now as well.
you are welcome. Good it is working now.
Try running one of these benchmark tools to see how much faster the io
or use DietPi one benchmark to get an idea of I/O speed. No need to install other software.
A post was split to a new topic: Apt upgrade not working
linux noob here.
thank you for this guide, it worked perfectly on first try after i connected the ssd to usb 2.0 after everything.
i got one question i guess chatgpt wont be able to confidently answer: i got two partitions (as seen in the pic), and i dont know which one i should resize for the full potential of the ssd.
the first option (the one before “/boot”) has the options checked for “user-data” and “swap file”.
the second option (“/boot”) doesnt have them checked.
the dashboard shows its got 15 GB space so i tend to choose the the first option which is in ext4 formated and doesnt say boot.
after typing this out im certain its the first option, but i might ask anyway before i destroy anything.
Thank You in advance!
Yes you need to use the ext4 partition which is the RootFS.
joulinar i think my previous mistakes fd up my software, you remember from that post with iptables? I can update but my pi fails reboot. What are the most important things for me to save on my computer before wiping the SSD, and how do I make it so that when I do flash the image onto the SSD, the pi boots from USB? As you have to enable that option.
But it looks like you are already booting from USB device? Because device is named sda
, indicating an external drive.
so i dont have to do anything alse for it to work? I can flash the SSD and connect it and it will boot?
if your system is booting actually, can you share how it looks right now
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
what do you mean by
root@tubzpi:~# lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
sda 111.8G 0 disk
├─sda1
│ vfat 128M 0 part /boot 8d0105b5-01 C01F-154E
└─sda2
ext4 111.7G 0 part / 8d0105b5-02 3a6d38d2-0afd-4c4c-b363-68f5537edbd0