Author Topic: Hdd3 Contents Lost  (Read 3091 times)

Mac

  • Newbie
  • *
  • Posts: 36
    • View Profile
Hdd3 Contents Lost
« on: October 08, 2005, 06:42:35 am »
after recovering my Zaurus from a failed openbsd install, I restored everything, however hdd3 seems to be empty en read only.

in  /home/zaurus   Documents is symlink to /hdd3/Documents (and hdd3 is empty)

I tried fsck, found some problems but this didn't help. Also tried resetting the device back to factory settings, but hdd3 remains empty.

Is there anyone on this board who can help me? thanks!
« Last Edit: October 08, 2005, 09:12:55 am by Mac »
C3000 Sharp ROM
Dlink wifi - Belkin usb2lan
Billionton cf ethernet
512 mb SD

www.dinozaurus.com

gtJormungand

  • Newbie
  • *
  • Posts: 38
    • View Profile
Hdd3 Contents Lost
« Reply #1 on: October 08, 2005, 10:26:03 am »
The original files on hdd3 were for the japanese dictionary and sample documents of assorted types, and these be found on the CDs that came with the Zaurus.  It is strange that the drive is mounted as read-only, though; OpenBSD might have changed the partition type for hdd3.  The Sharp ROM assumes that hdd3 is FAT32, and it could be trying to mount it as such.  You can also change the script to use ext3 if necessary; just find all references to hdd3 in /root/etc/rc.d/rc.rofilesys and change the mount type from vfat to $LINUXFMT (defined in that file to ext3).

Other than that, create a Documents directory on hdd3 and the symlinks will work again.

Mac

  • Newbie
  • *
  • Posts: 36
    • View Profile
Hdd3 Contents Lost
« Reply #2 on: October 08, 2005, 12:23:50 pm »
Thanks gtJormungand for your reply.
I can't create a Documents folder on/hdd3, it's read only.

if I search for hdd3 in root/etc/rc.d/rc.rofilesys

I get:
##mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3
##      mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3
##      mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3

do I have to uncomment those lines?

anyway I tried it, because when i manually enter
mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3

I can write to /hdd3

but I can't save a modified rc.rofilesys.

thanks again for your help!
C3000 Sharp ROM
Dlink wifi - Belkin usb2lan
Billionton cf ethernet
512 mb SD

www.dinozaurus.com

Mac

  • Newbie
  • *
  • Posts: 36
    • View Profile
Hdd3 Contents Lost
« Reply #3 on: October 08, 2005, 03:00:03 pm »
Status update; I managed to change /root/etc/rc.d/rc.rofilesys
and rebooted OK.  Then I  changed another thing in  /root/etc/rc.d/rc.rofilesys
and now get a hdd1 error  when I reboot.

no problem, I just boot with B+D , but /root is empty?
I backupped the original file, so I just have to place it back but /root is empty...
C3000 Sharp ROM
Dlink wifi - Belkin usb2lan
Billionton cf ethernet
512 mb SD

www.dinozaurus.com

Mac

  • Newbie
  • *
  • Posts: 36
    • View Profile
Hdd3 Contents Lost
« Reply #4 on: October 09, 2005, 09:02:16 am »
I asked to fast; I found most of the info on this forum.
this is how I managed to solve my problem

mount -o remount and rw /

change erything, next I used the script on  http://www.xlfag.com/zaurus/  to rebuild the HD...


>> only thing I'm looking for is the original /root/etc/rc.d/rc.rofilesys
      from the C3000    , anyone can post this for me?

thanks in advance!
C3000 Sharp ROM
Dlink wifi - Belkin usb2lan
Billionton cf ethernet
512 mb SD

www.dinozaurus.com