OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> How To Restore Your Z, Whoops I fsck'd up my Nand / HDD
post May 15 2007, 05:00 PM
Post #1

Group: Members
Posts: 52
Joined: 4-August 06
Member No.: 10,634

So I tried to use a U-Boot / Emergency install and now my Z (3200) is Fsck'd up.

Here is what I did to get back to pdaxii13.

I think this should be expanded, verified and made sticky. Also should be added to the documentation.

These instructions cover Restoring Nand Flash, Partitioning and creating microdrive file structure.

I also had to use pdaxii13's rom to boot into the OK (flash utility) menu to get to a console. Explained after step 9. So you will also need to download pdaxii13's rom for step 1 if B+D boot does not work like mine.

1. Download the following:

2. Format your SD/CF to Fat16 (Fat32 does not work) and extract the contents of SYSTC320.zip to the root of your SD/CF

3. Take battery out and unplug power

4. Hold fn+D+M

5. Plug power in (Battery not required)

6. Diagnostic Menu should boot.

7. Pagedown and go into the Backup Restore Menu (3/3)

8. Press OK button for Execute Restore and Delete all flash data. A green bar should start progressing at the bottom shortly after. It will take about 5 minutes to restore. You should see "OK" after Restore ... when completed.

9. Use the x (escape) key to back out. Then use the on/off to power off.


When trying to use the Hold B+D and power on option it failed with an error about hdd2. This is just a console boot menu. You can get a console boot menu with pdaxii13's rom. You will need to download the pdaxii13 rom files and copy them to the root of you SD/CF card as well before continueing.

10. Extract the contents of SLC3200SYSPART.zip to the root of your SD/CF

11. Make sure the batter is in. Put power cable in.

12. Hold OK and power on. Chose Option 4 then SD or CF and Yes.

13. You should be in the Nand Flash Utility Menu. Select Console Command option.

14. fdisk /dev/hda (note you need to hold shift in this console to get the / )

15. Delete all partitions

16. Create 3 (n)ew partitions:
Partition 1: Primary: Block 1 - 20
Partition 2: Primary: Block 21 - 40
Partition 3: Primary: Block 41 - end (11905)

I found that after the partitions were created the display showed that the first partition was 10079+ where as the documentation (in SLC3200SYSPART.zip) indicated it should be 10048+. This, however, did not cause any problems for me.

17. Toggle partitions 1 and 2 to be type 83 (if not already). Toggle partition 3 to be type Win95 Fat32 (LBA). Verify in (p)rint menu that the disk is 16 heads / 63 sectors/track / 11905 cylinders. (w)rite the partition tables.

18. Format the partitions
mke2fs -j /dev/hda1
mke2fs -j /dev/hda2
mkfs.vfat -F 32 /dev/hda3

19. Reboot. Repeat steps 11-13 to get back to a console.

20. Mount partitions and copy over .sys files.
mount /dev/hda1 /hdd1
mount /dev/hda2 /hdd2

I found that there was no .sys directory in hdd1 or hdd2. However, there was a lost+found directory as required. I manually created the directories and set permissions:
mkdir /hdd1/.sys
mkdir /hdd2/.sys
chmod 700 /hdd1/.sys
chmod 700 /hdd2/.sys

21. Copy the contents of SLC3200SYSPART.zip/hdd1sys to /hdd1/.sys and
SLC3200SYSPART.zip/hdd2sys to /hdd2/.sys

22. Make sure you are not in /hdd1 or /hdd2 and unmount the partitions:
umount /hdd1
umount /hdd2

23. reboot

24. Repeat steps 11-12 to get into Flash Utility Menu.

25. At this point you may or may not be able to install the default Sharp Rom (I don't know). I did not. I chose to install pdaxii13. So thats what these instructions cover.

26. Resize the flash drive to 121mb and install new rom. Please refer to the pdaxii13 documentations on how to do this.
Go to the top of the page
+Quote Post
post May 18 2007, 09:57 PM
Post #2

Group: Members
Posts: 2,803
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686

just a note that the pdaXii13 installer has a hdd util section which has options to restore your default hdd partition layouts. (it does not copy those rather useless files back for you though and you only need them if you want to reinstall Sharp/Cacko ROM and even in my Sharp/Cacko setup I removed them since they are a waste of space...just hack rc.rofilesys).
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 24th November 2017 - 11:58 PM