"dd if=/dev/rdisk0s1s1" failed on Air2/iOS9.2

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

"dd if=/dev/rdisk0s1s1" failed on Air2/iOS9.2

Postby septium » Mon May 29, 2017 1:14 pm

I'm trying to make a raw dump of "/" (/dev/rdisk0s1s1).

Code: Select all
mac$ iproxy 22200 22
mac$ ssh -p 22200 root@localhost dd if=/dev/rdisk0s1s1 bs=4096k | dd of=./rootfs.dmg

iPad2, iOS9.3.2, HomeDepot JB succeed: I can dump a mountable raw dmg.

But Air 2, iOS9.2, Pangu JB fails with the following error:

Code: Select all
dd: reading `/dev/rdisk0s1s1': Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000672 s, 0.0 kB/s

syslog:
Code: Select all
May 29 15:42:02 iPad92-od-1 kernel[0] <Notice>: disk0s1s1: alignment error.


What kind of protection I am facing with?
septium
 
Posts: 23
Joined: Thu May 04, 2017 10:04 am

Re: "dd if=/dev/rdisk0s1s1" failed on Air2/iOS9.2

Postby septium » Mon May 29, 2017 1:26 pm

I've found an answer: block size matters. bs=1024k works like a charm.
septium
 
Posts: 23
Joined: Thu May 04, 2017 10:04 am

Re: "dd if=/dev/rdisk0s1s1" failed on Air2/iOS9.2

Postby backendbilly » Mon May 29, 2017 3:20 pm

You may also find the following helpful

http://www.newosxbook.com/forum/viewtopic.php?f=7&t=16876

Billy
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm

Re: "dd if=/dev/rdisk0s1s1" failed on Air2/iOS9.2

Postby septium » Mon May 29, 2017 5:45 pm

Thanks, Billy. The thread you've posted the link to is my own :) It's also about "dd if=/dev/rdisk0s1s1 ..." but concerning resulting image mountability.
septium
 
Posts: 23
Joined: Thu May 04, 2017 10:04 am


Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 1 guest