The information on this page is mainly for UML developers. Users of SBUML do not have to know the following details, because the SBUML command scripts handle them. SBUML runs a patched version of the kernel that simply takes one additional parameter: sndir. If that parameter is not on the command line, then the kernel should run exactly like the normal UML kernel. (If it does not then it is a bug that should be trivial to fix.) So if you have unpacked the core SBUML distribution, you can boot toms filesystem in the normal UML way like this:
The sndir parameter specifies the machine directory, which if empty boots a new machine. To use it, the current directory must first be changed to the directory of the base distribution.
To suspend the machine, use another terminal to send it the "halteverything" command using a rather ad-hoc interface that miraculously still survives: This is equivalent to doing sbumlcmd /tmp/test halteverything or sbumlhibernate /tmp/test.To resume, issue the same command used to boot the machine. Since there is already a status file in the directory, the machine is resumed from the existing state. But first, remove the mconsole socket, which will be recreated:
The machine is now frozen, so send it a continue command:
The UML machine should now be restored and running normally. |