NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/57927: sysinst gpt editor loses partition options, can't change options for one partition at a time
The following reply was made to PR install/57927; it has been noted by GNATS.
From: Harold Gutch <logix%foobar.franken.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: install/57927: sysinst gpt editor loses partition options, can't change options for one partition at a time
Date: Mon, 12 Feb 2024 01:21:55 +0100
I don't know if I am doing this right because my end result doesn't
*quite* match the symptoms here, but in sysinst, the sequence
a a a b a a c
will bring you to the GPT partition menu, after which
b c 6000 e g h b i / x
will create one partition with the three flags, "install", "newfs" and
"mount" and the "async" mount option and configure it to be mounted on
/. Then, with
c e x
we ask for a second partition to be created, and the only important
thing here is that we set the "install" flag, the rest doesn't seem to
matter. This *should* just clear the "install" flag from partition
"a" but I would argue that it should leave the rest untouched. What
it actually does is clear all three flags and also all mount options.
If the first partition does not have the install flag before we set it
on the second, then nothing happens.
But it doesn't *clone* the options from one of the partitions to the
other. I played around a bit with this and didn't manage to reproduce
this part of the original report.
Oddly, not setting the install flag on partition 1 but setting it on
partition two and then, subsequently, setting it on partition 1 does
*not* clear out everything in partition 2 and only clears the
"install" flag:
b c 6000 h d x c c 4000 e h a x a e x
(you can run this after doing the above simply by first clearing out
the two partitions, no need to reboot or to restart sysinst or so).
Harold
Home |
Main Index |
Thread Index |
Old Index