[HOW TO] Repartition

Discussion in 'Jailbreaking & Hacking Tutorials & How-To Guides' started by pEAcEmAKeR, Aug 1, 2011.

  1. pEAcEmAKeR
    Offline

    pEAcEmAKeR iPad Fan

    Joined:
    Jul 31, 2011
    Messages:
    198
    Thanks Received:
    3
    Trophy Points:
    0
    Ratings:
    +3 / 0
    Repartitioning is formatting the disk partitions. You can add, delete, and copy them over. This is needed to boot iOSs via Apple's iBoot. For those who would like to help out should probably learn this quick tutorial first.

    Here's a quick repartitioning tutorial for installing the dual-boot. I will use the 8GB iPod touch 1G as an example.

    You need:
    DMG2IMG
    VFDecrypt keys
    Disk-Dev cmds
    iFile
    Mobile Terminal

    The first thing you need to do is go into fdisk (format disk). Firstly, you need to give the following files 777 permissions. In case you didn't know, it means Read-Write-Execute permissions. Without them, it would give a Hollywood-like error:
    Set the following files to 777 by tapping the blue arrow to the side of it:

    /dev/disk0
    /dev/disk0s1
    /dev/disk0s2
    /dev/disk0s3 (when created)
    /dev/rdisk0
    /dev/rdisk0s1
    /dev/rdisk0s2
    /dev/rdisk0s3 (when created)
    /usr/sbin/fdisk

    Now, open MobileTerminal, and run the following command:
    You are now running in format disk mode. Next, run the command "print", without quotes, and take a screenshot. E-mail it to yourself. You must keep that in case you mess up and/or need help from me.

    Now, run edit:
    First, you'll need to edit partition 2. The only thing you need to edit is the start-size.

    To edit the start size, you need to run AF. Then, when it prompts you to run in CHS mode, select no.
    When you are done setting those then move on to partition 3. You'll need to set the cylinders and sections this time.
    This might be tricky. All you need to do is pick the maximum number it can hold. So if it says 0-63, you choose 63. In the end, partition 3 should look like this:
    But wait! You still need to edit the start-size. Don't edit in CHS mode, and set the start-size, too. If the cylinders and et cetera couldn't be edited, then you need to edit the start-size first. Refer to the dual-boot tutorial for your repartitioning tables.

    The last thing you need to do is tell it to write the partition tables onto your iDevice.
    Then, quit, not exit, to the command line and sync it in.
    There! You have now repartitioned. Be sure not to reboot until you have copied the raw disk over, as shown in the dual boot tutorial.
  2. retexan599
    Offline

    retexan599 iPF Novice

    Joined:
    Apr 8, 2011
    Messages:
    86
    Thanks Received:
    0
    Trophy Points:
    6
    Location:
    Houston, TX
    Ratings:
    +0 / 0
    So...why would anyone want to do this in the first place?

    Sent from my iPad 2 using iPF
  3. pEAcEmAKeR
    Offline

    pEAcEmAKeR iPad Fan

    Joined:
    Jul 31, 2011
    Messages:
    198
    Thanks Received:
    3
    Trophy Points:
    0
    Ratings:
    +3 / 0
    Obviously, you didn't read the first few sentences of my tutorial.

Share This Page

Search tags for this page
dd: /dev/rdisk0s1: permission denied ipad
,
dev/disk0 permission denied
,
error messages on ipad
,

fdisk ipad

,

fdisk permission denied

,
fdisk: /dev/disk0: permission denied
,
how do i fdisk my ipad?
,
how to fdisk a ipad
,
how to partition a ipod touch
,
ipad fdisk
,
partition
,
permission denied /dev/disk0
,
repartition ipad
,
repartition ipod
,
repartition ipod touch