OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: Matthewmongan on February 24, 2007, 08:13:49 pm

Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 24, 2007, 08:13:49 pm
alright, i put OZ on my z and now I'm stuck with it. i want cacko back but i don't know how to restore the hd partition table in OZ. i have downloaded the trisoft hd images but I'm still in the dark, i try to re-flash cacko but when the sd/cf card menu is supposed to load after the Japanese menu, oz boots.
Title: Coming Back To Cacko From Oz/opie
Post by: adf on February 24, 2007, 10:03:43 pm
Quote
alright, i put OZ on my z and now I'm stuck with it. i want cacko back but i don't know how to restore the hd partition table in OZ. i have downloaded the trisoft hd images but I'm still in the dark, i try to re-flash cacko but when the sd/cf card menu is supposed to load after the Japanese menu, oz boots.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155187\"][{POST_SNAPBACK}][/a][/div]
Trisoft has pretty good instructions on his site, and 2 methods, i think

Follow the directions there?--and don't forget to re-image your HD

I have done exactly this using exactly those images (think I had to resort to the emergency method, though).

You will have (probably) to do a nand restore from the trisoft image, and an hd restore--then flash
Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 25, 2007, 05:38:49 pm
Quote
Quote
alright, i put OZ on my z and now I'm stuck with it. i want cacko back but i don't know how to restore the hd partition table in OZ. i have downloaded the trisoft hd images but I'm still in the dark, i try to re-flash cacko but when the sd/cf card menu is supposed to load after the Japanese menu, oz boots.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155187\"][{POST_SNAPBACK}][/a][/div]
Trisoft has pretty good instructions on his site, and 2 methods, i think

Follow the directions there?--and don't forget to re-image your HD

I have done exactly this using exactly those images (think I had to resort to the emergency method, though).

You will have (probably) to do a nand restore from the trisoft image, and an hd restore--then flash
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155192\"][{POST_SNAPBACK}][/a][/div]

when i do a nand restore in the D+M menu i get a format error. what am i doing wrong?

im sorry for being a noob. but i need a serious step by step guide to get out of this muck.
Title: Coming Back To Cacko From Oz/opie
Post by: speculatrix on February 25, 2007, 05:46:19 pm
format error?  this is a well-known problem (seach forum for flash memory partition)... briefly
1) check the card has a partition
2) check its fat16 formatted - a fresh format is a good idea to prevent fragmentation
3) check the md5 of the files (for windows, get this program http://www.whitsoftdev.com/md5/) (http://www.whitsoftdev.com/md5/))
Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 25, 2007, 07:07:10 pm
Quote
format error?  this is a well-known problem (seach forum for flash memory partition)... briefly
1) check the card has a partition
2) check its fat16 formatted - a fresh format is a good idea to prevent fragmentation
3) check the md5 of the files (for windows, get this program http://www.whitsoftdev.com/md5/) (http://www.whitsoftdev.com/md5/))
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155242\"][{POST_SNAPBACK}][/a][/div]


alright, thank you. i have cacko flashed on my system. all i have to do now is restore the hdd partitions. to my understanding the pdaxromii3 updater.sh has a nice feature that restores the hd partitions. im going to give that a try. im not to good with fdisk.
Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 25, 2007, 07:19:37 pm
ok, so i repartitioned the drive with the updater.sh utility but im still getting

"Error!! HDD is not initialized!"

i think this has something to do with the files from trisoft that i am supposed to place in the individual partitions. the only problem is that i dont know how to do that.
Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 25, 2007, 09:04:47 pm
ok, im trying to cp the hdd1sys and hdd2sys files in their respected partitions but i havent had any luck. im using a sd card, i am assuming the address of the card is /dev/sdc so in command i should be able to write

cp dev/sdc/hdd1sys dev/hda1

but that doesn't work.
Title: Coming Back To Cacko From Oz/opie
Post by: adf on February 25, 2007, 09:32:36 pm
If I recall correctly, you have to put the disk image files on cf and use the D+M menu--find a hrd disk restore option in there somewhere and restore  from cf.

Sorry not to be more specific--haven't done that in nearly a year
Title: Coming Back To Cacko From Oz/opie
Post by: Meanie on February 25, 2007, 10:04:36 pm
Quote
ok, im trying to cp the hdd1sys and hdd2sys files in their respected partitions but i havent had any luck. im using a sd card, i am assuming the address of the card is /dev/sdc so in command i should be able to write

cp dev/sdc/hdd1sys dev/hda1

but that doesn't work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155265\"][{POST_SNAPBACK}][/a][/div]

your mounted SD card would be /mnt/card and the respective hdd partitions, /hdd1 and /hdd2
you don't copy things to raw partitions...
Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 25, 2007, 11:01:00 pm
Quote
Quote
ok, im trying to cp the hdd1sys and hdd2sys files in their respected partitions but i havent had any luck. im using a sd card, i am assuming the address of the card is /dev/sdc so in command i should be able to write

cp dev/sdc/hdd1sys dev/hda1

but that doesn't work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155265\"][{POST_SNAPBACK}][/a][/div]

your mounted SD card would be /mnt/card and the respective hdd partitions, /hdd1 and /hdd2
you don't copy things to raw partitions...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155271\"][{POST_SNAPBACK}][/a][/div]


alright, then i have a 750$ brick
Title: Coming Back To Cacko From Oz/opie
Post by: adf on February 26, 2007, 12:11:07 am
Quote
Quote
Quote
ok, im trying to cp the hdd1sys and hdd2sys files in their respected partitions but i havent had any luck. im using a sd card, i am assuming the address of the card is /dev/sdc so in command i should be able to write

cp dev/sdc/hdd1sys dev/hda1

but that doesn't work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155265\"][{POST_SNAPBACK}][/a][/div]

your mounted SD card would be /mnt/card and the respective hdd partitions, /hdd1 and /hdd2
you don't copy things to raw partitions...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155271\"][{POST_SNAPBACK}][/a][/div]


alright, then i have a 750$ brick
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155274\"][{POST_SNAPBACK}][/a][/div]
probably not.  but you likely do have a headache.

can you D+M?
Title: Coming Back To Cacko From Oz/opie
Post by: stormer on February 26, 2007, 05:08:09 am
have you tried /dev/mmcda rather than /dev/sdc ?

I have previously moved from OE back to cacko and don't remember ever using
/dev/sdc for my SD cards (1G Danelec and 1G kingston)
Title: Coming Back To Cacko From Oz/opie
Post by: speculatrix on February 26, 2007, 05:31:11 am
Quote
Quote
your mounted SD card would be /mnt/card and the respective hdd partitions, /hdd1 and /hdd2
you don't copy things to raw partitions...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155271\"][{POST_SNAPBACK}][/a][/div]
alright, then i have a 750$ brick
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155274\"][{POST_SNAPBACK}][/a][/div]

don't panic, it's pretty easy to restore your hard drive partitions... check out meanie's guide to it, and the data for the drive is on Trisoft's support website... just repartition /dev/hda as per the guide, making sure to set up each partition as the right type, format them, then copy on the data.
Title: Coming Back To Cacko From Oz/opie
Post by: Matthewmongan on February 26, 2007, 10:07:16 am
Quote
Quote
Quote
Quote
ok, im trying to cp the hdd1sys and hdd2sys files in their respected partitions but i havent had any luck. im using a sd card, i am assuming the address of the card is /dev/sdc so in command i should be able to write

cp dev/sdc/hdd1sys dev/hda1

but that doesn't work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155265\"][{POST_SNAPBACK}][/a][/div]

your mounted SD card would be /mnt/card and the respective hdd partitions, /hdd1 and /hdd2
you don't copy things to raw partitions...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155271\"][{POST_SNAPBACK}][/a][/div]


alright, then i have a 750$ brick
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155274\"][{POST_SNAPBACK}][/a][/div]
probably not.  but you likely do have a headache.

can you D+M?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155279\"][{POST_SNAPBACK}][/a][/div]

yes i can d+m. im not sure what to do with it tough

what i been trying to do in console is:

mount the partiton with
 
# mount /dev/hda1* /hdd1

and make the .sys file with

# mkdir .sys

i use

# cp mnt/card/hdd1sys/hdimage2.tgz* /hdd1/.sys

and

# cp mnt/card/hdd1sys/hdlist1.dat* /hdd1/.sys

to copy the files into the .sys file. unfortunately thats not working.  so i dont know what to do at this point
Title: Coming Back To Cacko From Oz/opie
Post by: speculatrix on February 26, 2007, 11:50:28 am
Quote
what i been trying to do in console is:

mount the partiton with
 
# mount /dev/hda1* /hdd1

and make the .sys file with

# mkdir .sys

i use

# cp mnt/card/hdd1sys/hdimage2.tgz* /hdd1/.sys

and

# cp mnt/card/hdd1sys/hdlist1.dat* /hdd1/.sys

to copy the files into the .sys file. unfortunately thats not working.  so i dont know what to do at this point
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155297\"][{POST_SNAPBACK}][/a][/div]

you need to unpack the file rather than simply copying it in. change directory to /hdd2 (e.g.) and decompress and untar, thus

cd /hdd2
pwd
zcat /mnt/card/hdd1sys/hdimage2.tgz* | tar xf -