2020-11-21_16:28:31_GMT [openHABian] Checking for root privileges... OK 2020-11-21_16:28:32_GMT [openHABian] Loading configuration file '/etc/openhabian.conf'... OK 2020-11-21_16:28:32_GMT [openHABian] openHABian configuration tool version: [master]v1.6-950(b36cfc4) 2020-11-21_16:28:32_GMT [openHABian] Checking for changes in origin branch master... OK 2020-11-21_16:28:35_GMT [openHABian] Switching to branch master... OK blockdev: ioctl error on BLKGETSIZE64: Inappropriate ioctl for device raw device copy of /dev/mmcblk0p1 is larger than /dev/sda1... blockdev: ioctl error on BLKGETSIZE64: Inappropriate ioctl for device raw device copy of /dev/mmcblk0p2 is larger than /dev/sda2... Checking that no-one is using this disk right now ... OK Disk /dev/sda: 29.7 GiB, 31914983424 bytes, 62333952 sectors Disk model: UHSII uSD Reader Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x1134dc40 Old situation: Device Boot Start End Sectors Size Id Type /dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA) /dev/sda2 532480 15644671 15112192 7.2G 83 Linux /dev/sda3 15644672 61120511 45475840 21.7G 83 Linux >>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Created a new DOS disklabel with disk identifier 0x1134dc40. /dev/sda1: Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 256 MiB. Partition #1 contains a vfat signature. /dev/sda2: Created a new partition 2 of type 'Linux' and of size 7.2 GiB. /dev/sda3: Created a new partition 3 of type 'Linux' and of size 21.7 GiB. /dev/sda4: Done. New situation: Disklabel type: dos Disk identifier: 0x1134dc40 Device Boot Start End Sectors Size Id Type /dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA) /dev/sda2 532480 15644671 15112192 7.2G 83 Linux /dev/sda3 15644672 61120511 45475840 21.7G 83 Linux The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. Taking a raw partition copy, be prepared this may take long such as 20-30 minutes for a 16 GB SD card $ dd if=/dev/mmcblk0p1 bs=1M of=/dev/sda1 status=progress 247463936 bytes (247 MB, 236 MiB) copied, 3 s, 82.0 MB/s 256+0 records in 256+0 records out 268435456 bytes (268 MB, 256 MiB) copied, 3.48373 s, 77.1 MB/s $ dd if=/dev/mmcblk0p2 bs=1M of=/dev/sda2 status=progress 569376768 bytes (569 MB, 543 MiB) copied, 13 s, 43.8 MB/s dd: error writing '/dev/sda2': No space left on device 574+0 records in 573+0 records out 601124864 bytes (601 MB, 573 MiB) copied, 13.7571 s, 43.7 MB/s FAILED (raw device copy of /dev/sda2) $ tune2fs /dev/sda2 -U random tune2fs 1.44.5 (15-Dec-2018) Recovering journal. tune2fs: Unknown code ____ 251 while recovering journal. Please run e2fsck -fy -U. FAILED (set random UUID) mount: /storage/syncmount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error. sed: can't read /storage/syncmount/etc/fstab: No such file or directory sed: can't read /storage/syncmount/etc/systemd/system//storage.mount: No such file or directory umount: /storage/syncmount: not mounted. $ fsck -y -t ext4 /dev/sda2 fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) The filesystem size (according to the superblock) is 1889024 blocks The physical size of the device is 146759 blocks Either the superblock or the partition table is likely to be corrupt! Abort? yes OK (dirty bit on fsck /dev/sda2 is normal) 2020-11-21 16:29:07 1kgVl5-0002jt-9X 1kgVl5-0002jt-9X no recipients found in headers Can't send mail: sendmail process failed with error code 1 2020-11-21_16:29:11_GMT [openHABian] Checking for default openHABian username:password combination... OK 2020-11-21_16:29:11_GMT [openHABian] We hope you got what you came for! See you again soon ;)