Formating A Microdrive For Use With Cxx0 And Windows Simultaneously

From OESF

Jump to: navigation, search

Here is it, step by step FROM TELNET KONSOLE on the Cxx0:

0) su - root <enter> then enter password or enter if none.

1) #fdisk /dev/hda

2) Press m <ENTER> help

3) Press d <enter> deletes a partition

4) Select 1 <enter> Repeat delete of all partitions

5) Press w <enter> write (which also exits)

6) #fdisk /dev/hda (again ;-) )

7) Press n<enter> Not listed in "m" help, but it will work.

8 ) Press p <enter> Primary Partition

8a) Press 1 <enter> for partition 1.

9) Press 2 <enter> ALWAYS start at cylinder 2 (don't ask, just do it).

10) Press <enter> for last cylinder or a number if you plan to create more. I actually typed the number even though I was just doing one (paranoia :-) )

11) Press w <enter> write to disk the partition info

11a) #fdisk /dev/hda (again)

12) Press p <enter> shows all partion info (again, not shown in "m" help, but it this there. Verify your partitions are all set correctly. Notice partition 1 starts at cylinder 2 (it should anyway) and your blocks should match the size of the drive you want (since clusters are set to 1024, this value will be something like 3999240 (which when multiplied by 1024 give you approx 4gb)

13) Press t <enter>

13a) Press 1 <enter> partition number Press L <Enter> Will list all partion types (as you will notice "b" is WIN95 FAT32, not sure what technical difference this is with "c", but I am going with "b"...if you want ext2 or another Linux filesystem (e.g. ext3) then choose "83"...note skip quotes, they are just for clarity)

14) Press b (as you will notice b is WIN95 FAT32)

15) Press w <enter> which writes again and then exits fdisk. Extract Drive. (You can try ejecting it, but C860 doesn't seem to recognize it anyway.)

16) Format the drive using any of you favorite windows OS's, I used XP.
NOTE: You can also create the filesystem using Linux.

For FAT32: mkfs.vfat -v -F 32 /dev/hda1 (if mkfs.vfat is missing, try mkdosfs as they are identical)

For ext2: mkfs.ext2 -v /dev/hda1

For ext3: mkfs.ext3 -v /dev/hda1

16a) Go back to step 7 if you want more than one partition (but don't forget to do step 0 again first (su - root)

17) Reboot Zaurus (Completely) and insert Microdrive.

18) That's it, now you will have access to the full 4 GB in BOTH Linux and Windows.

Personal tools