[rescue] 10GB emulated drive and disk layout.
Andrew Back
andrew at carrierdetect.com
Sat Jan 24 13:42:37 UTC 2026
On 24/01/2026 12:50, Mouse via rescue wrote:
>> This appears to go well until the installer runs newfs on the h
>> partition and at which point I get errors [and the label is
>> corrupted].
>
> What has it done before then? In particular, has it written any of the
> other partitions' filesystems? If so, are they usable?
The miniroot was installed to swap (b) and booted fine and I could mount
root (a) without issue.
> I'm also wondering if the problem is actually with the partition it
> wrote just before h; it could be that that one corrupted the label and
> nothing noticed until it went to newfs h. What order does it write
> things in?
I need to retry this to be sure. I suppose I could also try manually
using newfs instead of running suninstall, and seeing at what point the
table appears to get corrupted.
> I massaged your layout text into readbility and had a look. I would
> expect it to have written /usr and /var, at least, before doing /home,
> but maybe not; as I said, it's been a long time.
>
>> The drive is defined as 19377c, 16h and 63s (10000392192 bytes).
>
> Combined with the layout you gave, I note that h is the only partition
> beginning after the 8G point, which is the limit of 24-bit sector
> numbers. If it writes the partitions in order, writing the end of g
> could have wrapped (eg, at the 8G point) and scribbled on the beginning
> of the disk, possibly including overwriting the partition table.
I guess I could try a layout that fits within 8G to see if that makes a
difference.
Andrew
More information about the rescue
mailing list