I was curious about this as I have never done it myself. So I decided to give it a try.
1. My settings:
a) fresh setup
b) multisession mode
c) devx and kernel-source SFS loaded to RAM at boot time
2. My grub stanza
Code: Select all
menuentry "Start Fatdog64 Multi Devx RAM" {
echo Loading ...
linux /vmlinuz rootfstype=ramfs savefile=direct:multi:uuid:0284e81b-569f-40a6-89c6-de69334c4d9d extrasfs=ram:uuid:0284e81b-569f-40a6-89c6-de69334c4d9d:/fd64-devx.sfs,ram:uuid:0284e81b-569f-40a6-89c6-de69334c4d9d:/kernel-source-5.19.14.sfs
initrd /initrd
echo Booting ...
}
Note that those UUIDs (they're all identical because they point to the same drive) are the UUID from my external boot media, which I obtained by running "blkid" from terminal.
3. Once booted, I confirmed that devx and kernel source is indeed loaded (running "gcc" from terminal works, and /usr/src/linux-5.19.14 existed). At this stage I'm running fully with RAM with pristine configuration but with devx and kernel source loaded.
4. I downloaded VirtualBox 6.1.40 to /tmp, and then run "sh VirtualBox-xxxxx.run" to install it. This is all that get-virtualbox.sh actually does. I don't use get-virtualbox because the one in Fatdog 813 will always fetch the latest version. We have a working version that allows us to choose between latest-stable and latest-version but it's not released yet.
5. I confirmed that "lsmod | grep vbox" returns something - it confirmed that the kernel modules for VB were all loaded.
6. Then I clicked "Save Session" to make sure that my session are saved, then I rebooted to confirm that VB is still there after I rebooted. (Actually, I cheated. I did this because the automatic save-session at shutdown fails to work (fails to save the session), so I saved the session manually instead. I have fixed the bug but again it's not in 813 ...).
7. After rebooting, I launched VB, I created a virtual machine called "Test" without any harddisk, and attach Fatdog ISO to it. I allocated 2GB RAM to the VM (this is the default settings apparently). Also important note: there is an important bug in recent versions of VBox that you cannot enable "ALSA Audio", so you will have to go to VM settings --> Audio --> and change the default "ALSA Audio" to "Null audio" (that is, no sound). Thanks to @p310don who spent hours troubleshooting this.
8. Then I "saved session" again, and rebooted once again, to confirm that the "Test" VM is still there.
10. Finally, I launched the "Test" VM, and then took the screenshot of my entire desktop, which is attached.
11. This very post was written using Seamonkey inside the Fatdog VM that was running inside VirtualBox - the one you see in the screenshot.
Final word: this only proves that it works, that it is possible to run VB in multisession mode without any drives mounted (the boot media where I booted from isn't shown in the screenshot, it's actually "sdc1" and "sdc2" which I had unplugged before I took the screenshot).
If it doesn't work on your end, something must have gone wrong; we just need to figure out what it is.