[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject

Sounds like you have run afoul of the 16 partitions change.
Here's the mail about that I sent out.  Running a new kernel
on top of an old userland is never a good idea...

 - todd
Date:    Tue, 12 May 1998 09:01:47 -0600
To:      tech@openbsd.org
From:    "Todd C. Miller" <Todd.Miller@courtesan.com>
Subject: pmax port now uses 16 partitions

Return-Path: owner-tech@openbsd.org
Delivery-Date: Tue, 12 May 1998 09:03:37 -0600
Sender:  owner-tech@openbsd.org

The pmax port has finally switched over to 16 partitions in the
disk label.  Here is the safest way to switch over.

    0) make sure your tree if up to date
    1) copy the new src/etc/etc.pmax/MAKEDEV to /dev/MAKEDEV
    2) re-run config on your kernel config file and build a new kernel.
       Stash the new kernel as /bsd.new
    3) make build (*)
    4) reboot into single user mode (with old kernel)
    5) mount -u /
    6) mv bsd bsd.old
    7) mv bsd.new bsd
    8) cd /dev
    9) rm rz[1-9]* rrz[1-9]*
    10) ./MAKEDEV rz0 rz1 rz2 rz3 rz4 rz5 rz6 rz8 rz9 rz10 rz11 rz12 rz13 rz14
    11) reboot

 - todd

* Theoretically you could just "make includes" and just rebuild things
  that reference MAXPARTITIONS (newfs, fsck, disklabel, etc).  It *may*
  be enough to rebuild just sbin.