Author Topic: Reformat Microdrive After Mucking Up Pdaxrom  (Read 6141 times)

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« on: January 27, 2007, 08:53:09 pm »
I was trying to uninstall Uboot so i used the nand restore file from the german site - i also donwloaded th hd images but the errored out halfway through so i am doing a clear hd from the service menu -- will this get my microdrive working again and how do i get the directory structure back?

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #1 on: January 27, 2007, 09:09:29 pm »
i got cacko reinstalled but i still get a hdd1 error -- how do i restore / format the hard drive

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #2 on: January 27, 2007, 10:11:54 pm »
i  can get all the way into cacko by cntrl c ing pat the harddrive error but i have no idea how to reformat the microdrive now


help!!!!!!!!!!!

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #3 on: January 28, 2007, 12:25:17 am »
Might help if you mentioned what Z you have....

But assume it's a 3xxx, right??

One thing I recall is that there's one or two files that are needed....been too long for me to give you  details...but I went through this sometime ago...

Do a search on forums here on my posts...you might find it that way...

HTH,

Mark

Quote
i  can get all the way into cacko by cntrl c ing pat the harddrive error but i have no idea how to reformat the microdrive now


help!!!!!!!!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152688\"][{POST_SNAPBACK}][/a][/div]
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #4 on: January 28, 2007, 12:28:03 am »
sorry yes - 3200

i searched the forums for over two hours and can not seem to find the method

anyone who has any insight would be greatly appreciated

Fushnchupsh

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • http://
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #5 on: January 28, 2007, 12:45:59 am »
hey there.  I went through the same thing some time ago so, let me help.  You are going to need the HD files that can be found on trisoft's site.  ONce you download that, unzip/tar the file to a cf/ sd card.   You are going to need to then, repartition your HD to the original scheme.  After you have accomplished that pop the files in the right partitions and you're good to go.  So, I hear you saying "what is the partition scheme? where do the files go?  Well, trisoft packaged an awsome readme with it.  Read that, if you have anymore questions post here or pm me.

--Fish   


Quote
sorry yes - 3200

i searched the forums for over two hours and can not seem to find the method

anyone who has any insight would be greatly appreciated
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152697\"][{POST_SNAPBACK}][/a][/div]
C3200 (Conics) Pdaxrom r198
Symbol cf wifi
GE USB host "cable"
Nokia 770 (Woot!)

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #6 on: January 28, 2007, 12:58:57 am »
how do you copy the files one you do all the fdisk stuff?

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #7 on: January 28, 2007, 02:05:12 am »
Download this zip file from Trisoft. I attached it here.
Basically what you will need to do is to partition and format the first 2 partitions (hda1 and hda2) just as they were when Sharp sent your Zaurus out.
These two partitions also contain some specific files and directories which are necessary to enable your Zaurus to operate just as it did when new.
The below instructions also show you how to partition the 3rd partition. This is also necessary. But the first 2 partitions are what usually "stumps" most people, as they are basically an area to store small backup scripts/files and are not usually used in everyday operation.
I'm pasting the "Readme" that is included in this zip file on here. Read it, download the files and follow the readme. Make sure you preserve the directory structure as the readme tells you to do.

Contents of the system-partitions for the SL-C3200
TRIsoft / Marc Stephan / April 11th, 2006

Use the information in this document at your own risk.
TRIsoft is not liable for any damages that may result from
these informations.

SL-C3200 HDD-Partition table:
/dev/hda1  Start 1  End 20  Blocks 10048+  id 83 System Linux
/dev/hda2  Start 21 End 40  Blocks 10080  id 83 System Linux
/dev/hda3  Start 41 End 11905 Blocks 5979960 id c System Win95 FAT32 (LBA)

Note:
While using the fdisk on the Zaurus, double check that you set the
correct parameters for the drive. They have to be:
16 heads / 63 sectors/track / 11905 cylinders

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

/hda1 and /hda2 are 9.5 MB partitions. Each one contains a ".sys" and
a "lost+found" directory. The contents of the .sys-directories are
in this file.

Files in /hdd1/.sys :
hdimage2.tgz  (2149 Bytes, contains japanese web-bookmarks - hurray !)
hdlist1.dat (85 Bytes, no clue what it's good for)

Files in /hdd2/.sys :
contlist.dat (74327 Bytes)
hdlist2.dat (1264 Bytes)
hdlist3.dat (1519 Bytes)

The Zaurus will display an error like "HDD not initialized" if the
directories and files are missing. Just restoring the partition table
won't make an SL-C3200 happy.


For using fdisk, read the OESF page, Formatting for newbies.
https://www.oesf.org/index.php?title=Step-b...ing_for_newbies

To copy the files over, just put them on a SD or CF card and use the Linux copy command. "cp"
I'll paste the cp -help below.
cp --help
Usage: cp [OPTION]... SOURCE DEST  

Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.  
        -a      Same as -dpR  
        -d      Preserves links
        -p      Preserves file attributes if possible
        -f      force (implied; ignored) - always set
        -R      Copies directories recursively
« Last Edit: January 28, 2007, 02:35:36 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #8 on: January 28, 2007, 03:01:17 am »
sorry this is super lame but how do you mount the sd card

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #9 on: January 28, 2007, 03:27:32 am »
ok got cf card mounted  - how do you make the .sys directory it says hdd1 is read only

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #10 on: January 28, 2007, 03:40:56 am »
ok got the files in hdd2 but hdd1 is read only and i cant seem to chmod it any ideas???

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #11 on: January 28, 2007, 04:00:10 am »
Files in /hdd1/.sys :
hdimage2.tgz  (2149 Bytes, contains japanese web-bookmarks - hurray !)
hdlist1.dat (85 Bytes, no clue what it's good for)

thid is the step i am stuck on

tall three partitions are formated as intructed but hdd1 is ready only and i can not create .sys directory and install the 2 files

tried reformatting it with no luck still read only

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #12 on: January 28, 2007, 11:00:56 am »
Try this.
to remount the partition rw
----------------------
mount -o remount,rw /dev/hda1 /hdd1
----------------------
Then when your'e done placing the files and folders on it, it needs to be remounted as ReadOnly

To remount the partition ro
----------------------
mount -o remount,ro /dev/hda1 /hdd1
----------------------

Also be sure to remove and unmount any CF cards before doing this because the external CF card slot changes the hard drive mount points when a card is inserted and mounted.
« Last Edit: January 28, 2007, 11:09:47 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #13 on: January 28, 2007, 04:55:36 pm »
I usually use the console utility that comes with the cacko reflash tools.  That way nothing is read only.  I've got pdax running mostly the way I want it to now, so I'm probably not going back to cacko.  I don't really use it as a pda anymore though.  I have all the contact info I need on my phone, or laptop.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
Reformat Microdrive After Mucking Up Pdaxrom
« Reply #14 on: January 29, 2007, 08:48:26 pm »
wow! finally got that was very com-pli-mi-cated

thanks for all the help guys