Broken SD card boot loader.

I had a working RatOS 2.1 working on my RR.VCore3 and then whoops. I pulled the SD card while the Pi was still on. Now the Boot Loader does not work. The FAT32 partition and the EXT4 partition seem to be intact and I can get all the files from them on another linux machine. So I: 1. Made a fresh SD card from the RatOS 2.1 image. 2. Booted the SD card on the rPi so the EXT4 partition would resized to take all (64 GB) available space. 3. Moved SD card to another machine and mounted the EXT4 partition. 4. Erased all files and directories from the EXT4 partition (RM -r *) 5. Copied all files, directories and file attributes from the original SD to the new EXT4 partition (CP -R -f -p -v Source SDDestination) 6. Inserted the new SD card in rPi and rebooted. 7. Booted rPi off the SD card ...
1 Reply
plargent
plargentOP3w ago
Things went well ... I could see the boot process on the small touch screen. Screen is small and almost unreadable. Then the boot process stops. the last few lines include: starting init: /bash/sh exists but couldn't execute it. (error -5)
Kernal Panic: Not Syncing. No working init found ... [ end kernal panic - not syncing. no working init found ... The original RatOS SD had many OS, RatOS, Klipper, ... patches applied The RatOS setup had been completed The printer.cfg had been customized. It has been operating for at least a month. What would be the correct procedure to copy a RatOS settup from a backup to a new SD card? The whole ext4 partition? Just some directories? Just some files? If this is not possible I will redo the RatOS setup/config and my customizations. Things went well ... I could see the boot process on the small touch screen. Screen is small and almost unreadable. Then the boot process stops. the last few lines include: starting init: /bash/sh exists but couldn't execute it. (error -5) Kernal Panic: Not Syncing. No working init found ... [ end kernal panic - not syncing. no working init found ... The original RatOS SD had many OS, RatOS, Klipper, ... patches applied The RatOS setup had been completed The printer.cfg had been customized. It has been operating for at least a month. What would be the correct procedure to copy a RatOS settup from a backup to a new SD card? The whole ext4 partition? Just some directories? Just some files? If this is not possible I will redo the RatOS setup/config and my customizations. Here is the original post: I had a working RatOS 2.1 working on my RR.VCore3 and then whoops. I pulled the SD card while the Pi was still on. Now the Boot Loader does not work. The FAT32 partition and the EXT4 partition seem to be intact and I can get all the files from them on another linux machine. So I: Made a fresh SD card from the RatOS 2.1 image. Booted the SD card on the rPi so the EXT4 partition would resized to take all (64 GB) available space. Moved SD card to another machine and mounted the EXT4 partition. Erased all files and directories from the EXT4 partition (RM -r *) Copied all files, directories and file attributes from the original SD to the new EXT4 partition (CP -R -f -p -v Source SDDestination) My messages above may be out of order. The Answer Overflow machine seems to have deleted at least one of the posts.

Did you find this page helpful?