🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10557

Re: Checksum errors while booting

#10557
From: Joe Pruett
Date: Thu, 26 Jan 1989 10:52
29 lines
1864 bytes
The checksum message is coming from the low level boot code.  The low
level boot program has a table which lists the blocks where /boot lives.
It also has a checksum value for /boot.  If the checksum of the blocks it
reads in doesn't match it's internal checksum, you get the message.

Both the table of block numbers and the checksum are installed in the low
level boot by the installboot program living in /usr/mdec.

The cause of checksum errors is usually from installing a new /boot
program and then not re-running installboot, or not doing a sync before
running installboot.

This second form bit me quite annoyingly during the 4.0.1 upgrade.  To
find the block numbers, installboot opens the *raw* disk and scans through
the inode tables to find the block numbers.  If you install /boot and then
run installboot before the inode table has gotten updated on disk, it
picks up the old block numbers and makes your disk unbootable.

installboot should do a sync before it tries to read the raw device, or it
should read the block device, or you should do a sync before you run
installboot.

You should be able to fix this by loading the mini-root and mounting your
real /usr as /usr and your real / as /mnt, then do:

cd /usr/mdec
./installboot /mnt/boot bootXX /dev/rXX0a

Where XX is the appropriate disk type.
Technical Details
Message-ID: <504@q7.tessi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!xanth!ukma!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <30412@tut.cis.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!xanth!ukma!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: joey@tessi.uucp (Joe Pruett)
Newsgroups: comp.sys.sun
Subject: Re: Checksum errors while booting
Message-ID: <504@q7.tessi.UUCP>
Date: 26 Jan 89 10:52:03 GMT
References: <30412@tut.cis.ohio-state.edu>
Sender: usenet@rice.edu
Organization: TSSI, Beaverton, Oregon
Lines: 29
Approved: Sun-Spots@rice.edu
Original-Date: 19 Jan 89 21:02:38 GMT
X-Sun-Spots-Digest: Volume 7, Issue 123, message 3 of 8