[07:33] Good morning === croppa_ is now known as croppa [12:17] Hey all [12:27] Hello. I am trying to dd an img.xz (2GB) file to /dev/mmcblk0p2 (ext4). After the dd process is complete the mmcblk0p2 partition shows up as an unknown type (Bad Superblock). [12:28] How can I copy the image file without damaging the partition or how to fix the partition? [12:37] server_: img.xz looks like it's compressed. Are you dd:ing it as-is to the partition? Don't you need to uncompress it before? [12:41] You are right. I just uncompressed it first (unxz) and redid the dd command with the same result. [12:42] I am trying to create a new partition that is just 2GB in size to see if that will work better. [12:54] The new (2GB) partition didn't work. [13:01] server_, make sure your target partition is large enough to accomodate the input iso file size [13:01] or img size [13:07] The img file is 1.8GB. The original partition was 14GB. I shrunk it down to 2.1GB. I have formatted them to ext4 beforehand; every time the partition gets clobbered. [13:08] When I look at online examples, I see that the main dd process is not on the partition (mmcblk0p2) but the full mmc card (mmcblk0) [13:13] server_: makes sense, since the disk image itself contains a partition table as well [13:13] try using a whole disk as a target device [13:13] instead of a partition/slice [13:13] should work [13:33] Qommand0r: you were right. The image did have a 4GB partition image. [13:34] I needed a fat partition before it so I used gparted to move it and add a small partition before it. [13:37] cool, nice to hear server_ === keithzg_ is now known as keithzg === Fritigern is now known as Fritigern_AWAY