[Bug 254458] Some versions of FreeBSD do not work, if started from an emulators/virtualbox-ose snapshot that was saved whilst the working FreeBSD guest ran

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 28 03:57:03 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254458

--- Comment #5 from Graham Perrin <grahamperrin at gmail.com> ---
Created attachment 223658
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223658&action=edit
An export of a bugged appliance. OVF version: 2.0.

For me, the bug was easily reproducible with 
FreeBSD-13.0-RC3-amd64.vhd.xz
from: 

<https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC3/amd64/Latest/>

>From what I recall, these steps should make the bug reproducible: 

01. FreeBSD 14.0-CURRENT host

02. import the appliance

03. extract FreeBSD-13.0-RC3-amd64.vhd from FreeBSD-13.0-RC3-amd64.vhd.xz

04. attach the .vhd to the virtual machine

05. increase the capacity of the virtual hard disk to 32 GB

06. boot the VM in single user mode

07. <https://docs-dev.freebsd.org/en/books/handbook/disks/#disks-growing>

08. _ignore_ FreeBSD Handbook directions to disable the swap partition and 
    delete the third partition (FreeBSD no longer defaults to this layout)

09. resize the _fourth_ partition, maybe    gpart resize -i 4 -s 27G -a 4k ada0

10. _ignore_ the Handbook direction to use growfs (it does not work in 
    this context)

11. reboot in normal mode

12. observe automated growth of the UFS filesystem

13. Control-F2

14. login as root, no password

15. save the state of the running VM

16. ACPI shutdown

17. save the state of the stopped VM

18. start the saved state of the stopped VM

19. df -h

20. close, and restore the state from which you started

21. restore then start from the saved state of the running VM

22. key 'df -h' (or anything) – no response to keyboard input

23. ACPI shutdown – the VM does not stop.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list