SUMMARY: how to make advfs disk bootable

From: Götz Golla <golla_at_intetra.net>
Date: Wed, 23 Sep 1998 20:02:26 +0200

Hi !

There were about 30 replies, some of then within a few minutes. Thanks
especially to
Tom Blinn
Tyler Hall
Rajesh Kapoor
Roger Picard
Oisin McGuinness

Tylers reply sums it up nicely

> You need to put the advfs boot blocks on the disk..
> do this:
>
> disklabel -r rz1 > rz1.label
> disklabel -Rr -t advfs rz1 rz1.label rzxx
>
> that should work, and it won't trash anything...

Obviously editing the label interactively (disklabel -re rz1) and writing it
doesnt write the boot blocks, but writing the label from a file (disklabel
-Rr)
works.

Here is my original question:
>How can I make an existing disk with advfs filesystems (including
>\, \usr \var) bootable without having to repartition it ? Right now I
>get the error message
>
>block 0 of dka100.1.0.109.0 is not a valid boot block
>bootstrap failure
>
>Just editing and writing the label (disklabel -re -t advfs <disk>) does
>not work.
>
>I probably can use disklabel -wr <disk> <disktype>, but neither is the
>partitioning scheme listed in /etc/disktypes, nor do I want to erase all
>the data to repartition the disk.
>
>Goetz
>
>(golla_at_intetra.net)
Received on Wed Sep 23 1998 - 18:08:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT