SunOS 4.x boot disk layout
julesrichardsonuk at yahoo.co.uk
Sun Mar 27 16:15:10 CST 2005
On Sun, 2005-03-27 at 14:11 -0500, der Mouse wrote:
> That presumably-root partition is only some 46 megabytes. If you can
> get a dd image of it to me (offlist!), I can poke at it
I've got further. Linux Sun UFS support is a little braindead; it
doesn't know to assume that the first 16 blocks of the filesystem are
special and so skip over them - it expects meaninful data right from
block zero. Hacking the first 16 blocks from my test filesystem image
has got around that problem...
... now mount's complaining because the filesystem is marked as
unchecked (which is true - last shutdown was unclean due to us having a
bust console port on the Sun). Unfortunately there's no option to
override and just try mounting anyway. Presumably there's a flag
somewhere in the superblock that I could change to indicate that the
filesystem's OK, but finding it might be tricky.
I need to fix that console port, get a running machine, then take an
image of the checked disk I think!
More information about the cctalk