Author Topic: Destroyed Linux/partitions On Sl-c3200  (Read 6430 times)

oniks

  • Newbie
  • *
  • Posts: 3
    • View Profile
Destroyed Linux/partitions On Sl-c3200
« on: June 04, 2006, 02:48:34 am »
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.  

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: [Select]
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: [Select]
Turning timeout off.
boot>

If I then type "reboot", I get

Code: [Select]
Rebooting...
mount: Mounting /dev/hda1 on /hdd1 failed: Invalid argument
HDD1 Error!!

So I've discovered the reliance on linux the hard way  

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  

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Destroyed Linux/partitions On Sl-c3200
« Reply #1 on: June 04, 2006, 02:52:36 am »
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.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

oniks

  • Newbie
  • *
  • Posts: 3
    • View Profile
Destroyed Linux/partitions On Sl-c3200
« Reply #2 on: June 04, 2006, 03:43:33 am »
Quote
HAHAAAH!!!  HEEHE!  excuse me.

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

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: [Select]
/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.

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Destroyed Linux/partitions On Sl-c3200
« Reply #3 on: June 04, 2006, 04:02:51 am »
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.
« Last Edit: June 04, 2006, 04:04:01 am by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

oniks

  • Newbie
  • *
  • Posts: 3
    • View Profile
Destroyed Linux/partitions On Sl-c3200
« Reply #4 on: June 04, 2006, 10:01:12 am »
Quote
now your zaurus is ready for the sharprom installation if you have not done so.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129702\"][{POST_SNAPBACK}][/a][/div]

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!

coreilly

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Destroyed Linux/partitions On Sl-c3200
« Reply #5 on: June 04, 2006, 10:57:07 am »
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

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Destroyed Linux/partitions On Sl-c3200
« Reply #6 on: June 04, 2006, 12:05:16 pm »
Quote
Quote
now your zaurus is ready for the sharprom installation if you have not done so.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129702\"][{POST_SNAPBACK}][/a][/div]

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!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129724\"][{POST_SNAPBACK}][/a][/div]


sounds like you didnt do it right but lets see what happens.  This is not  a problem
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

sambartle

  • Newbie
  • *
  • Posts: 6
    • View Profile
Destroyed Linux/partitions On Sl-c3200
« Reply #7 on: August 28, 2006, 06:39:48 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.
« Last Edit: August 28, 2006, 06:40:27 pm by sambartle »

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Destroyed Linux/partitions On Sl-c3200
« Reply #8 on: August 28, 2006, 07:14:38 pm »
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
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140032\"][{POST_SNAPBACK}][/a][/div]
« Last Edit: August 31, 2006, 03:46:51 pm by mathemajikian »