Run the save state guest setup script end to end in a real guest

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bash, linux

Research direction

Start with the guest setup script added in #26, which edits swap, fstab, initramfs and GRUB, and with the Save state dialog text it shows. Run the script in throwaway Kali, Parrot or Ubuntu VMs, once with a swap partition smaller than RAM and once with one at least RAM-sized, then run it a second time to confirm it is safe to re-run. Done when every checklist item passes, including hibernate, QEMU exit and Power on restore, and any wrong dialog text is recorded.

Written by the indexing model from the issue text.

Description

tests

The guest setup script from #26 has only been checked with bash -n and a scratch copy of /etc/default/grub. It edits swap, fstab, initramfs and GRUB, so it needs a real run before hibernate support counts as done.

Check in a throwaway VM (not anyone's real one):

  • Fresh Kali install with a swap partition smaller than RAM, so the script makes /swapfile
  • Parrot or Ubuntu with a swap partition at least as big as RAM, so it reuses the partition
  • Run it twice in a row, it should be safe to re-run
  • After the restart, Save state hibernates, QEMU exits, and Power on brings the session back
  • Note anything the dialog text gets wrong
Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.