Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faulure of SDcard formating with the formatting bash script #4

Open
kaklik opened this issue Oct 8, 2024 · 0 comments
Open

Faulure of SDcard formating with the formatting bash script #4

kaklik opened this issue Oct 8, 2024 · 0 comments

Comments

@kaklik
Copy link
Contributor

kaklik commented Oct 8, 2024

Pokus o zformátování SDkarty s požkozeným souborovým systémem tímto způsobem:

`$ ./formatsd.sh /dev/mmcblk0p1
Checking for bad blocks in read-write mode
From block 0 to 3875839
Testing with pattern 0xff: done
Reading and comparing: done
Pass completed, 0 bad blocks found. (0/0/0 errors)
Checking for bad blocks in read-write mode
From block 0 to 3875839
Testing with pattern 0x00: done
Reading and comparing: done
Pass completed, 0 bad blocks found. (0/0/0 errors)
Checking for bad blocks in read-write mode
From block 0 to 3875839
Testing with pattern 0xff: done
Reading and comparing: done
Pass completed, 0 bad blocks found. (0/0/0 errors)
mkfs.fat 4.2 (2021-01-31)
/dev/mmcblk0p1 has 4 heads and 16 sectors per track,
hidden sectors 0x2000;
logical sector size is 512,
using 0xf8 media descriptor, with 7751680 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 7560 sectors, and provides 967066 clusters.
There are 32 reserved sectors.
Volume ID is 36a6d9a3, no volume label.

Elapsed Time: 1563 seconds
`

Nevedl k očekávanému výsledku, že bude SDkarta prázdná s novým nepoškozeným souborovým systémem. Výsledek vypadal místo toho takhle:

459069139_984548200178393_944129965186177410_n

Následně jsem SDkartu zformátoval za použití grafického nástroje pro formátování disků v Ubuntu, protože jsem na letišti neměl čas hledat přičinu nefunkčnosti skriptu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant