pEAcEmAKeR
iPF Noob
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:
/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:
Now, run edit:
The last thing you need to do is tell it to write the partition tables onto your iDevice.
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:Error: Permission denied.
/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.fdisk -e /dev/disk0
Now, run edit:
First, you'll need to edit partition 2. The only thing you need to edit is the start-size.edit <partition number>
To edit the start size, you need to run AF. Then, when it prompts you to run in CHS mode, select no.8GB iPod Touch:
Disk: /dev/disk0 geometry: 983/64/63 [3964928 sectors]
Sector size: 2048 bytes
Offset: 0 Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size ]
-------------------------------------------------------------------
1: AF 0 1 1 - 1023 254 63 [ 63 - 153600] HFS+
2: AF 1023 254 63 - 1023 254 63 [ 153720 - 3657465] HFS+
3: AF 1023 254 63 - 1023 254 63 [ 3811185 - 153600] HFS+
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
When you are done setting those then move on to partition 3. You'll need to set the cylinders and sections this time.>AF
>[Do you wish to edit in CHS mode?] no
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:>edit 3
AF
[Do you wish to edit in CHS mode?] yes
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.3: AF 1023 254 63 - 1023 254 63 [ 0 - 0] HFS+
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.>write
The MBR could not be fully written.
[A reboot is required for full changes to take effect. Proceed?] no
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.quit
# sync; sync; sync