systemd-gpt-auto-generator: Failed to dissect: Input/output error
I have an UP squared board and installed arch linux on it.
It boots up fine but I get the following kernel messages:
systemd-gpt-auto-generator: Failed to dissect: Input/output error [ 132.328127] systemd: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Can I just ignore those? I looked for the message and found [here][https://bbs.archlinux.org/viewtopic.php?id=229412] that setting systemd.gpt_auto=0 boot parameter is a workarond for the problem. But the system did not boot when I included that parameter in my refind.conf.
Do you know why I receive those messages? What else can be done there? Do you see anything wrong with the partitions below?
# parted --list :( Model: Generic Flash Disk (scsi) Disk /dev/sda: 2013MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 2 84.0kB 67.2MB 67.1MB primary fat16 esp Error: /dev/mmcblk0boot0: unrecognised disk label Warning: Error fsyncing/closing /dev/mmcblk0boot0: Input/output error Retry/Ignore? I Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/mmcblk0boot0: 4194kB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Error: /dev/mmcblk0boot1: unrecognised disk label Warning: Error fsyncing/closing /dev/mmcblk0boot1: Input/output error Retry/Ignore? I Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/mmcblk0boot1: 4194kB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Model: MMC HCG4a2 (sd/mmc) Disk /dev/mmcblk0: 62.5GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 538MB 537MB fat32 EFI System boot, esp 2 538MB 3759MB 3221MB linux-swap(v1) Linux swap 3 3759MB 62.5GB 58.8GB btrfs Linux filesystem
Thanks for any help or hint in advance!
Hi @lazmol ,
Which Linux distro are you using?
Also, how did you do the partitions during the installation?
It looks like you are using the entire disk space, 64GB, for you Linux, right?
I am using Arch linux. Actually it works fine ever since, just the swap partition is not mounted by systemd as the systemd-gpt-auto-generator fails at /dev/mmcblk0boot0 and boot1 with that failed to dissect error.
Yes I created a new GPT table with "gdisk /dev/mmcblk0"
and created 3 partitions: a 512MB EFI partition, a swap partition (as btrfs does not support swap files yet) and the rest of the space another one which will be formatted btrfs with several subvolumes for root, home etc.
What would have been the recommended way? What are those protected partitions like mmcblk0boot0 mmcblk0boot1 for?
Hi @lazmol ,
So, could you check the fstab, using cat /etc/fstab.
There, you will see if your swap is mounted in any point.
If not, you can try the swapon and mkswap tools to perform and create a swap partition.
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 595 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 49 UP Squared Pro
- 140 UP Xtreme
- 828 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral