Author Topic: How To Restore Your Z  (Read 2530 times)

SiduS

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
How To Restore Your Z
« on: May 15, 2007, 09:00:15 pm »
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:
http://www.trisoft.de/download/SYSTC320.zip
http://www.trisoft.de/download/SLC3200SYSPART.zip
http://www.trisoft.de/download/C3200-2006-04-05-13-00.zip

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.

***NOTE***

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)

***NOTE***
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

***NOTE***
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.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
How To Restore Your Z
« Reply #1 on: May 19, 2007, 01:57:26 am »
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).
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K