Вводные данные
Есть образ для sd:
$ gdisk -l sdcard.img
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk sdcard.img: 1105960 sectors, 540.0 MiB
Sector size (logical): 512 bytes
Disk identifier (GUID): B00D8182-4B3E-46AB-A778-EA132328E92D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1105926
Partitions will be aligned on 2048-sector boundaries
Total free space is 16357 sectors (8.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 16384 24575 4.0 MiB 8300 uboot
2 24576 32767 4.0 MiB 8300 misc
3 32768 163839 64.0 MiB 8300 boot
4 163840 425983 128.0 MiB 8300 recovery
5 425984 491519 32.0 MiB 8300 backup
6 491520 1105919 300.0 MiB 8300 rootfs
Заливаю следующим образом:
$ dd if=sdcard.img of=/dev/sdc bs=1M status=progress && sync
С некоторыми sd всё замечательно. После dd сразу можно сделать:
# mount /dev/sdc6 mnt/
И всё работает. А с другими какая-то фигня. sd-карты разных размеров: 8, 16, 32 гб.
Какая-то фигня
Другие sd-карты. Делаю всё также dd (можно предварительно if=/dev/zero для надёжности).
Если воткнуть в устройство
Устройство запускается uboot и kernel запускаются. Но потом случается kernel panic:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)
Если попробовать примонтировать
[173705.740640] EXT4-fs (sdc6): VFS: Can't find ext4 filesystem
[173705.741159] EXT4-fs (sdc6): VFS: Can't find ext4 filesystem
[173705.741470] EXT4-fs (sdc6): VFS: Can't find ext4 filesystem
[173705.759537] ISOFS: Unable to identify CD-ROM format.
[173705.759835] FAT-fs (sdc6): bogus number of reserved sectors
[173705.759837] FAT-fs (sdc6): Can't find a valid FAT filesystem
[173705.760256] hfs: can't find a HFS filesystem on dev sdc6
[173705.760632] hfsplus: unable to find HFS+ superblock
[173705.761486] exFAT-fs (sdc6): invalid boot record signature
[173705.761488] exFAT-fs (sdc6): failed to read boot sector
[173705.761489] exFAT-fs (sdc6): failed to recognize exfat type
А что говорит gdisk?
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): v
Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.
Identified 1 problems!
Откуда эти проблемы берутся? Как их лечить?
rootfs, sdcard
Есть образ для sd:
$ gdisk -l sdcard.img
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk sdcard.img: 1105960 sectors, 540.0 MiB
Sector size (logical): 512 bytes
Disk identifier (GUID): B00D8182-4B3E-46AB-A778-EA132328E92D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1105926
Partitions will be aligned on 2048-sector boundaries
Total free space is 16357 sectors (8.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 16384 24575 4.0 MiB 8300 uboot
2 24576 32767 4.0 MiB 8300 misc
3 32768 163839 64.0 MiB 8300 boot
4 163840 425983 128.0 MiB 8300 recovery
5 425984 491519 32.0 MiB 8300 backup
6 491520 1105919 300.0 MiB 8300 rootfs
Заливаю следующим образом:
$ dd if=sdcard.img of=/dev/sdc bs=1M status=progress && sync
С некоторыми sd всё замечательно. После dd сразу можно сделать:
# mount /dev/sdc6 mnt/
И всё работает. А с другими какая-то фигня. sd-карты разных размеров: 8, 16, 32 гб.
Какая-то фигняДругие sd-карты. Делаю всё также dd (можно предварительно if=/dev/zero для надёжности).
Устройство запускается uboot и kernel запускаются. Но потом случается kernel panic:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)
[173705.740640] EXT4-fs (sdc6): VFS: Can't find ext4 filesystem
[173705.741159] EXT4-fs (sdc6): VFS: Can't find ext4 filesystem
[173705.741470] EXT4-fs (sdc6): VFS: Can't find ext4 filesystem
[173705.759537] ISOFS: Unable to identify CD-ROM format.
[173705.759835] FAT-fs (sdc6): bogus number of reserved sectors
[173705.759837] FAT-fs (sdc6): Can't find a valid FAT filesystem
[173705.760256] hfs: can't find a HFS filesystem on dev sdc6
[173705.760632] hfsplus: unable to find HFS+ superblock
[173705.761486] exFAT-fs (sdc6): invalid boot record signature
[173705.761488] exFAT-fs (sdc6): failed to read boot sector
[173705.761489] exFAT-fs (sdc6): failed to recognize exfat type
gdisk?Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): v
Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.
Identified 1 problems!
Откуда эти проблемы берутся? Как их лечить?
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Альтернативные сборки Android или шило на мыло | 0 | 8.95 | 17-09-2026 |
| 2 | Re: Integrity RX2800 i6 MCA Reboot after Panic | 0 | 5 | 25-06-2026 |
| 3 | Сервер uptime 1888 days ≈ 5 лет и 2 месяца | 0 | 23.75 | 15-09-2026 |
| 4 | Зависание мыши Logitech MX-518 на Ubuntu 24.04, сессия X11 | -1 | 8.53 | 19-09-2026 |
| 5 | Чинить нельзя выбросить, или Кое-что о ремонте флешек. Часть 2: Программные проблемы | 0 | 7 | 22-05-2013 |
| 6 | Файловая система Bcachefs официально перестала быть экспериментальной | 0 | 7 | 20-06-2026 |
| 7 | Чинить нельзя выбросить, или Кое-что о ремонте флешек. Аппаратные проблемы | 5 | 7 | 15-05-2013 |
| 8 | Debian Woody на qemu - не работает горячая смена дисков | -5 | 3 | 13-06-2026 |
| 9 | Могу предложить✅ Цены указаны с оформлением до сохранения✅ С 001 ... | 0 | 16.53 | 01-09-2026 |
| 10 | Могу предложить✅ Цены указаны с оформлением до сохранения✅ С 001 ... | 0 | 16.17 | 25-08-2026 |