lordievader | Good morning | 07:33 |
---|---|---|
=== croppa_ is now known as croppa | ||
BluesKaj | Hey all | 12:17 |
server_ | 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:27 |
server_ | How can I copy the image file without damaging the partition or how to fix the partition? | 12:28 |
SwedeMike | 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:37 |
server_ | <SwedeMike> You are right. I just uncompressed it first (unxz) and redid the dd command with the same result. | 12:41 |
server_ | I am trying to create a new partition that is just 2GB in size to see if that will work better. | 12:42 |
server_ | The new (2GB) partition didn't work. | 12:54 |
BluesKaj | server_, make sure your target partition is large enough to accomodate the input iso file size | 13:01 |
BluesKaj | or img size | 13:01 |
server_ | 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:07 |
server_ | 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:08 |
Qommand0r | server_: makes sense, since the disk image itself contains a partition table as well | 13:13 |
Qommand0r | try using a whole disk as a target device | 13:13 |
Qommand0r | instead of a partition/slice | 13:13 |
Qommand0r | should work | 13:13 |
server_ | Qommand0r: you were right. The image did have a 4GB partition image. | 13:33 |
server_ | I needed a fat partition before it so I used gparted to move it and add a small partition before it. | 13:34 |
Qommand0r | cool, nice to hear server_ | 13:37 |
=== keithzg_ is now known as keithzg | ||
=== Fritigern is now known as Fritigern_AWAY |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!