07-03-2018, 11:19 AM
(This post was last modified: 07-03-2018, 11:21 AM by CaptainZalo.)
(07-02-2018, 04:59 AM)gregb49 Wrote: <words>
Eventually, out of desperation, I flashed an SD Card with aufan's 0.6.44 image and running that, with the eMMC installed, I managed to do the following on the Rock 64
I've no idea which of those sorted out the problem, but I was able to reinstall ayufan's
- Through gparted, I deleted the main root partition, the one that was over 50gb in size.
- I ran /usr/local/bin/rock64_reset_emmc.sh (sudo ./rock64_reset_emmc.sh) (I took a clue from the wiki - noobs - troubleshooting your device, although the advice was for the Pine64 and was about using /ussr/local/sbin/update_script.sh which was not available for the rock64 - yes I was getting desperate with what appeared to be a dead eMMC card)
under Win10. Note, Etcher through Linux still insisted that the eMMC card was a 32mb card, but Win10 Etched saw it as a 64gb card with multiple drives.Code:bionic-lxde-rock64-0.6.44-239-arm64.img.xz
I'm hoping that this might help someone else who thinks they might have destroyed their eMMC card. I'm assuming that I did some damage to the uboot(?) partition but, really, I have no idea what I did wrong except by trying to wipe everything off the eMMC Card in the first place.
I'm sure someone out there knows a simpler way to restore your eMMC card.
In Windows, you can do almost the same thing as gparted to your sd- or emmc-cards. A wipe is great in case you've screwed the blocks or you have an invalid partition table.
Quick howto of Diskpart.exe:
Code:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 465 GB 0 B *
Disk 1 Online 465 GB 1024 KB *
Disk 2 Online 931 GB 0 B
Disk 3 Online 931 GB 0 B
Disk 4 Online 113 GB 0 B *
Disk 5 Online 29 GB 26 GB
DISKPART> select disk 5
Disk 5 is now the selected disk.
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART>
The card now has an empty, unformatted partition that spans the entirety of that card. You can access (or write to) this partition from Etcher, Win32DiskImager, Rufus or any other sd/emmc writer tool (unless it's shit). If you want to check for bad blocks or check the integrity of the card etc, I advice to format it with SDCard Formatter.