OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Destroyed Linux/partitions On Sl-c3200, recovery/install help needed
oniks
post Jun 3 2006, 10:48 PM
Post #1





Group: Members
Posts: 3
Joined: 2-June 06
Member No.: 10,033



A few days ago I had a new SL-C3200 delivered and tried my first openbsd installation on it. I should have probably practiced on an i386 box or something first, because when it came to the disk partitioning steps I got confused and ended up doing something nasty to it. sad.gif

I can't really remember what I did, but basically I think I wiped out some crucial linux partition(s) leaving only what I think was an OpenBSD / and swap partitions. Knowing I'd probably messed up, I figured I'd try to continue with the install - I was hoping to retrieve the binaries using the Planex GW-CF11X 802.11b card which I bought with the Zaurus, but the installer didn't seem to know about it, so I aborted the install, thinking I'd be able to start it all over again.

But now when I boot up, following the white "SHARP" screen, I get

CODE
probing: cn0 com0 com1 com2
disk: hd0*
>> OpenBSD/zaurus BOOT 2.08
boot>
booting hd0a:/bsd: open hd0a:/bsd: No such file or directory
failed(2). will try /obsd
boot>
booting hd0a:/bsd: open hd0a:/bsd: No such file or directory
failed(2). will try /obsd

...

This goes on for a while and eventually stops with
CODE
Turning timeout off.
boot>


If I then type "reboot", I get

CODE
Rebooting...
mount: Mounting /dev/hda1 on /hdd1 failed: Invalid argument
HDD1 Error!!


So I've discovered the reliance on linux the hard way dry.gif

Can anyone point me to instructions on how to get things back to a point where I can try installing OpenBSD again?

I've seen many references to a page which is said to have recovery instructions for SL-C3000 but the site doesn't seem to be working, and I cant find copies of it in archive.org or google's cache.

I'd be grateful for any help with this.

Cheers smile.gif
Go to the top of the page
 
+Quote Post
Cresho
post Jun 3 2006, 10:52 PM
Post #2





Group: Moderators
Posts: 1,619
Joined: 29-October 03
From: Los Angeles
Member No.: 809



HAHAAAH!!! HEEHE! excuse me.

Yes, you destroyed the partitions the zaurus needed to reboot. Without the proper partition and proper "sys" files, you will have countless nights trying to recover it. If you kindly can look at other threads with hdd 0, you will find a vast quantity of users like myself and you who totally screwed up there drive and people like me who recovered it.
Go to the top of the page
 
+Quote Post
oniks
post Jun 3 2006, 11:43 PM
Post #3





Group: Members
Posts: 3
Joined: 2-June 06
Member No.: 10,033



QUOTE(Cresho @ Jun 3 2006, 10:52 PM)
HAHAAAH!!!  HEEHE!  excuse me.


Thanks for the welcome to this not-so-exclusive club. wink.gif

I've downloaded the zip from the "Restore the harddisk" section of the trisoft 3200 page.
So far I've managed to use fdisk to restore the partition table to what is suggested in the readme:

CODE
/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)


but I'm not really following what files are meant to be copied onto those partitions but I've got to go now... drat! Anyway it seems like I'm on the right track now, so thanks.
Go to the top of the page
 
+Quote Post
Cresho
post Jun 4 2006, 12:02 AM
Post #4





Group: Moderators
Posts: 1,619
Joined: 29-October 03
From: Los Angeles
Member No.: 809



after you created the prefferd partitions, you need to mount the drives.

dont forget to mount
mount /dev/hdc1 /hdd1
mount /dev/hdc2 /hdd2
mount /dev/hdc2 /hdd2

after mounting the drives...
create 2 directories.
mkdir .sys within the hdd1 and hdd2

do an ls within hdd1 and hdd2 where you will find a .sys and a lost and found folder, if you see this, then you are ready

cp /mnt/cf/hdd1sys/* /hdd1/.sys
cp /mnt/cf/hdd2sys/* /hdd2/.sys
if the above did not work, cp files individually to the .sys directories
now your zaurus is ready for the sharprom installation if you have not done so.
Go to the top of the page
 
+Quote Post
oniks
post Jun 4 2006, 06:01 AM
Post #5





Group: Members
Posts: 3
Joined: 2-June 06
Member No.: 10,033



QUOTE(Cresho @ Jun 4 2006, 12:02 AM)
now your zaurus is ready for the sharprom installation if you have not done so.
*


I appreciate the clarification Cresho,

Looks like it's all the way it should be now, although I'm still getting an HDD error since I haven't done the NAND ROM restore. I've got to go and buy a bigger CF card for that (i've only got an old 128MB one - just a bit too small!).

Thanks again!
Go to the top of the page
 
+Quote Post
coreilly
post Jun 4 2006, 06:57 AM
Post #6





Group: Members
Posts: 65
Joined: 10-November 05
Member No.: 8,517



oniks, fix it? this happened to me as well and i eventually worked through it using the trisoft c3200 files ... let us know how its going and if we can be any help
Go to the top of the page
 
+Quote Post
Cresho
post Jun 4 2006, 08:05 AM
Post #7





Group: Moderators
Posts: 1,619
Joined: 29-October 03
From: Los Angeles
Member No.: 809



QUOTE(oniks @ Jun 4 2006, 06:01 AM)
QUOTE(Cresho @ Jun 4 2006, 12:02 AM)
now your zaurus is ready for the sharprom installation if you have not done so.
*


I appreciate the clarification Cresho,

Looks like it's all the way it should be now, although I'm still getting an HDD error since I haven't done the NAND ROM restore. I've got to go and buy a bigger CF card for that (i've only got an old 128MB one - just a bit too small!).

Thanks again!
*




sounds like you didnt do it right but lets see what happens. This is not a problem
Go to the top of the page
 
+Quote Post
sambartle
post Aug 28 2006, 02:39 PM
Post #8





Group: Members
Posts: 6
Joined: 3-July 06
Member No.: 10,309



This seems like as good a place as any to ask this as a search didn't turn it up..

If i install OpenBSD and totally screw up my 3200.. i can recover it using the recovery tools that are on there (the japanese screen) as nothing can touch this as far as i can see? This seems to be what the OP here has done, and then used the HDD scripts to get the HDD back up..

Is the 3200 therefore practically un-killable in this sense since this menu cannot be overwritten no matter how much i destroy the rest of it?

If this is the case then OpenBSd is going on there ASAP as the linux ports all feel very very unfinished.
Go to the top of the page
 
+Quote Post
mathemajikian
post Aug 28 2006, 03:14 PM
Post #9





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



I wouldnt say that the Z is unkillable. Where theres a will there is away. However, I cannot see anyway that you could put the Z in an unrepairable state by following the directions for installing ZBSD on your 3200. You will of course destroy the linux partitions on the internal hard drive but these are easly fixed using fdisk and the .sys files found at trisoft or on the cd's that come with your Z. I have formatted the internal hard drive and have erased everything off of /dev/mtdblock3 and /dev/mtdblock2 before and had no issues getting the Z back up and running. Infact, ZBSD only uses /dev/mtdblock2. I'm not sure if you can destroy the emergency linux installed on /dev/mtdblock1 since you cant really mount this device. So aslong as this area /dev/mtdblock1 remains intact you should be able to repair your Z to a usable state.



QUOTE(sambartle @ Aug 28 2006, 10:39 PM)
This seems like as good a place as any to ask this as a search didn't turn it up..

If i install OpenBSD and totally screw up my 3200.. i can recover it using the recovery tools that are on there (the japanese screen) as nothing can touch this as far as i can see? This seems to be what the OP here has done, and then used the HDD scripts to get the HDD back up..

Is the 3200 therefore practically un-killable in this sense since this menu cannot be overwritten no matter how much i destroy the rest of it?

If this is the case then OpenBSd is going on there ASAP as the linux ports all feel very very unfinished.
*
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 03:42 PM