Saturday, April 29, 2006

Fixing up Harddisk partition for Sharp/Cacko Rom

After testing on the OpenZaurus and pdaXrom and want to go back to Cacko, there is a problem in booting up now, due to the changes made to the Harddisk partition. (Can't believe such thing is happening! Can't they just boot off the flash and ignore the Hdd!)

Ok, after spending a few hours going through the forum, here is the step by step fix:

Step1. Download the necessary
You can download all the necessary files required to get the Sharp/Cacko rom working here: http://www.trisoft.de/en_index.html
For my SL-C3200, I need this file: SLC3200SYSPART.zip

Step 2. Run in command prompt
In order to re-partition the harddisk, you will at least able to run the necessary command from a console. You can follow this emergency recovery procedure:
  • Take the battery out and wait for a moment
  • Hold "D" + "B" buttons and put the battery in and lock it
  • Turn the device on (keep the keys pressed)
  • Now it should boot up with a Sharp logo and end with a login promot
  • login as root
Step 3. Repartition the harddisk
This is the requirement of the partitions:
/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 7936 Blocks 3979584 id c System Win95 FAT32 (LBA)

You can use fdisk to set it up
# fdisk /dev/hda

(I won't be wasting the time puting all the necessary steps in using fdisk here)

Once you have done the setup, you will have to create the filesystem.
# mke2fs -j /dev/hda1
# mke2fs -j /dev/hda2
# mkfs.vfat -F 32 /dev/hda3

Step 4. Copy the necessary files
In this example, I have extracted the files from SLC3200SYSPART.zip in the Compart Flash Card.

// mount the harddisk drive
# mount /dev/hda1 /hdd1
# mount /dev/hda2 /hdd2

// copy the files from CF Card
# cd /hdd1
# mkdir .sys
# cd .sys
# cp /mnt/cf/hdd1sys/* .

# cd /hdd2
# mkdir .sys
# cd .sys
# cp /mnt/cf/hdd2sys/* .
# cd

# umount /hdd1
# umount /hdd2

Step 5. reboot
Now type in reboot to restart the system, Sharp/Cacko Rom should now run happily again!

0 Comments:

Post a Comment

<< Home