Hello,

At a remote location, I have two boxes that are connected with each
other via a serial cable, and through a router to the internet.

One of the boxes is OpenBSD 3.6, and I'd like to upgrade it to 3.8,
and then compile -current (I want to play with the kernel alongside
sensors.h / lm(4)).

What's the best way to do it?

I guess, wget'ing the bsd.rd from ftp.openbsd.org mirror would be the
best "installation media", but then upon reboot should I choose
'upgrade' and do 3.6 -> 3.7, then repeat the procedure with 3.7 ->
3.8, then cvsup and compile the -current from sources?  Or should I
'install' 3.8, then cvsup -current, and compile?

If I'll choose to install 3.8, then will I be able to leave my
partitioning scheme and contents of my custom partitions intact? Or
will I have to repartition the drive?


tvc:constant {172} df -h ; disklabel wd0 ; fdisk wd0
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/wd0a     250M  35.5M   202M    15%    /
/dev/wd0p     3.0G   2.0K   2.8G     0%    /backup2002
/dev/wd0n     2.0G   2.4M   1.9G     0%    /home
/dev/wd0m     7.9G   2.0K   7.5G     0%    /mozilla
/dev/wd0o    39.4G   5.9G  31.5G    16%    /share
/dev/wd0d     250M   2.0K   238M     0%    /tmp
/dev/wd0g     2.0G   773M   1.1G    40%    /usr
/dev/wd0h     250M   119M   118M    50%    /usr/X11R6
/dev/wd0i     3.9G   486M   3.3G    13%    /usr/local
/dev/wd0e     501M   6.0M   470M     1%    /var
/dev/wd0f     501M   304K   476M     0%    /var/log
/dev/wd0k    1006M   546K   955M     0%    /var/mail
/dev/wd0l     250M   2.0K   238M     0%    /var/qmail
/dev/wd0j    1006M   5.7M   950M     1%    /var/www
# using MBR partition 0: type A6 off 63 (0x3f) size 134223012 (0x80014a4)
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: HDS722580VLAT20
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 160836480
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:   524097       63    4.2BSD     2048 16384   328   # (Cyl.    0*- 519)
  b:  2097648   524160      swap                        # (Cyl.  520 - 2600)
  c: 160836480        0    unused        0     0        # (Cyl.    0 - 159559)
  d:   524160  2621808    4.2BSD     2048 16384   328   # (Cyl. 2601 - 3120)
  e:  1048320  3145968    4.2BSD     2048 16384   328   # (Cyl. 3121 - 4160)
  f:  1048320  4194288    4.2BSD     2048 16384   328   # (Cyl. 4161 - 5200)
  g:  4194288  5242608    4.2BSD     2048 16384   328   # (Cyl. 5201 - 9361)
  h:   524160  9436896    4.2BSD     2048 16384   328   # (Cyl. 9362 - 9881)
  i:  8388576  9961056    4.2BSD     2048 16384   328   # (Cyl. 9882 - 18203)
  j:  2097648 18349632    4.2BSD     2048 16384   328   # (Cyl. 18204 - 20284)
  k:  2097648 20447280    4.2BSD     2048 16384   328   # (Cyl. 20285 - 22365)
  l:   524160 22544928    4.2BSD     2048 16384   328   # (Cyl. 22366 - 22885)
  m: 16777152 23069088    4.2BSD     2048 16384   328   # (Cyl. 22886 - 39529)
  n:  4194288 39846240    4.2BSD     2048 16384   328   # (Cyl. 39530 - 43690)
  o: 83885760 44040528    4.2BSD     2048 16384   328   # (Cyl. 43691 - 126910)
  p:  6296787 127926288    4.2BSD     2048 16384   328  # (Cyl. 126911
- 133157*)
Disk: wd0       geometry: 10011/255/63 [160826715 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
*0: A6    0   1  1 - 8354 254 63 [          63:   134223012 ] OpenBSD
 1: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
 2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
 3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
tvc:constant {173}



P.S. Is the upgrade really that simple and straightforward on OpenBSD
as it seems to be? :-)

P.P.S. BTW, as you can see I have some free disc space left... Is it
possible to install two versions of OpenBSD on separate slices of one
HDD and multiboot them? Or better and simpler just do the upgrade? :-)

Thanks,
Constantine.

Reply via email to