[DragonFlyBSD - Bug #3369] (Feedback) installer fails to use entire disk: legacy BIOS, qemu, virtio_blk
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Thu May 1 01:43:15 PDT 2025
Issue #3369 has been updated by daftaupe.
Status changed from New to Feedback
Hello @mikdusan
I can confirm both the issue and the fact that you're patch solves the issue in the conditions you mentionned :
1. performing qemu guest install
2. guest configured to use virtio_blk for qemu img that is installation target
3. qemu img is new (all zeros) and has not yet been partitioned
4. dfly installer legacy BIOS is selected
I've released a new iso/img file for those who want to give the patch a try based on latest 6.4.1 release : https://leaf.dragonflybsd.org/~daftaupe/6.4.1_patch3369/
----------------------------------------
Bug #3369: installer fails to use entire disk: legacy BIOS, qemu, virtio_blk
http://bugs.dragonflybsd.org/issues/3369#change-14585
* Author: mikdusan
* Status: Feedback
* Priority: Normal
* Category: installer
* Target version: 6.6
* Start date: 2024-05-25
----------------------------------------
Install fails to use entire disk and sets size to 8063MB.
For example, create a qemu image of 20GB and install. The resulting system disk is ~8GB in size, underutilizing the full 20GB. This bug manifests when:
1. performing qemu guest install
2. guest configured to use virtio_blk for qemu img that is installation target
3. qemu img is new (all zeros) and has not yet been partitioned
4. dfly installer legacy BIOS is selected
Workaround: repeat the select-disk after formatting for first time
1. select: Install DragonFly BSD
2. select: Legacy BIOS
3. select: vbd0
4. select: Use Entire Disk
5. select: *RETURN TO SELECT DISK* (instead of selecting file system) to repeat steps 1...4
Reduction: use @fdisk@ to summarize the disk; the result must be as follows; specifically there must be no line beginning with @/dev/vbd0@ supplying disk geometry:
<pre>
fdisk -s vbd0
fdisk: invalid fdisk partition table found
fdisk: read_s0: Undefined error: 0
</pre>
Anti-Reduction: bug will *not* manifest if @fdisk@ shows any @/dev/vbd0@ disk geometry as follows:
<pre>
fdisk -s vbd0
...
/dev/vbd1: 41610 cyl 16 hd 63 sec
Part Start Size Type Flags
...
</pre>
---Files--------------------------------
fdisk-cyls.patch (872 Bytes)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list