Author Topic: Openbsd Cf Install Notes  (Read 2800 times)

barryg

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://web.kssp.upd.edu.ph/barry/zaurus/
Openbsd Cf Install Notes
« on: September 02, 2005, 12:43:15 am »
Good day!

This is from a post[5] on arm@openbsd.org mailinglist.

These are *notes* and not installation instructions, please read and
follow INSTALL.zaurus.

Do post your C1000 dmesg.


Prerequisites
- Spare CF card or microdrive, at least 256MB.
- USB female B to male mini A adapter
- USB key or a supported USB network card[0]


Common
- Print INSTALL.zaurus[0], read it, again read it.
- When disklabeling, make sure that the first OpenBSD slice is inside
  the A6 partition(usually starts at sector 17).

  <barryg@gamakichi:4>$ sudo fdisk wd1    
  Disk: wd1       geometry: 1024/8/17 [1000944 Sectors]
  Offset: 0       Signature: 0xAA55
           Starting       Ending       LBA Info:
   #: id    C   H  S -    C   H  S [       start:      size   ]
  ------------------------------------------------------------------------
   0: 00    0   0  0 -    0   0  0 [           0:           0 ] unused      
   1: 00    0   0  0 -    0   0  0 [           0:           0 ] unused      
   2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused      
  *3: A6    0   1  1 - 1023   7 17 [          17:      139247 ] OpenBSD

 <barryg@gamakichi:4>$ sudo disklabel wd1
  # /dev/rwd1c:
  type: ST506
  disk: ST506/MFM/RLL
  label: ST506
  flags:
  bytes/sector: 512
  sectors/track: 17
  tracks/cylinder: 8
  sectors/cylinder: 136
  cylinders: 1024
  total sectors: 1000944
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0           # microseconds
  track-to-track seek: 0  # microseconds
  drivedata: 0
 
  16 partitions:
  #             size        offset  fstype [fsize bsize  cpg]
    a:       1000927            17  4.2BSD   2048 16384 1364 # Cyl     0*-  7359*
    c:       1000944             0  unused      0     0      # Cyl     0 -  7359*


C1000
- You have to install bootloader(zbsdmod.o) and run the install/rescue
  kernel(bsd.rd) manually.
     # insmod zbsdmod.o
   # cp bsd.rd /proc/zboot
  Additional info here[1].
  The openbsd38_arm.ipk makes to many assumptions that are only
  applicable to the C3x00 series.

C3000/C3100
- In install, use wd1 as your root disk.
- To automatically boot to the OpenBSD installed on the CF do
     # echo "set device hd1a" > /mnt/etc/boot.conf
  after installation and before rebooting.
  Caveats here[2], read the whole thread.
- On OpenBSD bootloader[3] prompt enter
     boot> boot hd1a:/bsd -a
  if you did not create the above boot.conf and on
     root device (default wd0a): wd1a
  press enter on swap device.
- To make the above changes permanent, you can edit your kernel,
instructions here[6].
- The previous step is needed as Linux[4] (the one that loads the openbsd
  bootloader) detects disk from the external CF first before in internal
  microdrive but OpenBSD enumerates in reverse order.


Mabuhay!
barryg

[0]
http://www.openbsd.org/zaurus.html#hardware

[1]
ftp://ftp.openbsd.org/pub/OpenBSD/snapsho.../INSTALL.zaurus

[2]
http://marc.theaimsgroup.com/?l=openbsd-mi...112322839616385
http://marc.theaimsgroup.com/?t=112320651800002

[3]
http://www.openbsd.org/cgi-bin/man.cgi?que...zaurus#COMMANDS

[4]
http://marc.theaimsgroup.com/?l=openbsd-ar...112545108819992

[5]
http://marc.theaimsgroup.com/?l=openbsd-ar...112563345421700

[6]
http://www.openbsd.org/cgi-bin/man.cgi?que...EXAMPLES+(First
« Last Edit: September 03, 2005, 01:55:28 am by barryg »