NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/56310: segfault when partitioning

The following reply was made to PR install/56310; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: install/56310: segfault when partitioning
Date: Sat, 17 Jul 2021 20:14:08 +0200

 I have fixed a few things and now can not reproduce the crashes (or
 assertion failures in non-crunched builds) anymore.
 If you don't have a spare drive to test, you can use a vnd, like:
  - grep in dmesg for sector count of original disk
  - cd /var/tmp && dd if=/dev/zero of=disk.img count=1 oseek=$(sectors-1) &&
 	vnconfig -c vnd0 disk.img
  - use sysinst to partition vnd0
  - vnconfig -u vnd0 && rm disk.img

Home | Main Index | Thread Index | Old Index