Page 1 of 1

Configuring and saving configuration

Posted: Fri Sep 09, 2022 2:13 am
by stack
Feel free to reply in Russian.
I am using qemu, booting from cd-rom and floppy - no problem.
Changing a few settings (default fasm directory, for instance). How to make the change permanent?

Saving ramdisk does not work, and/or I don't understand what it means. I can save it within the emulated filesystem, but how do I reload it? How does the system know? I would need to save it _outside_ the emulated filesystem, to the _real_ filesystem, and then use that as an image?

Thank you

Re: Configuring and saving configuration

Posted: Fri Sep 09, 2022 8:07 am
by Valery
Communication with virtual machine is well known problem ...
But You have variants:
(1) Edit kolibri.img from HOST (OS, from You use QEMU).
(2) Create and use emulated hard disk (if You use raw hard disk, You will be able to edit it from HOST too).
{But not save kolibri.img on it - 1st make hard disk bootable and configure QEMU to boot from it, but this not needed ...}
(3) Use real machine, not QEMU {You will need one good FAT32 partition} .
Try and ask, if You don't understand something ....

Re: Configuring and saving configuration

Posted: Fri Sep 09, 2022 11:15 am
by turbocat
I suspect you are using an ISO image. And it is in read-only mode. The img image nested in it cannot be saved. In order for the changes to be saved, you can manually install it on a QEMU virtual hard disk. Or use the IMG image as a floppy disk.

Re: Configuring and saving configuration

Posted: Fri Sep 09, 2022 6:21 pm
by stack
Thank you. floppy kolibri.img boot and rdsave seems to work.

I think it's a bug that rdsave lets you select a path. It should let you select a _device_, such as /fd/1.

Re: Configuring and saving configuration

Posted: Fri Sep 09, 2022 10:13 pm
by stack
Just saw discussion at https://board.kolibrios.org/viewtopic.p ... 871#p53871...
The author found the most confusing way to do this.