Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: LubielTheStoopid on August 24, 2025, 11:33:13 AM

Title: any virtual machinery?
Post by: LubielTheStoopid on August 24, 2025, 11:33:13 AM
is there any extension related to virtual machinery? Ive grown too attached to installing xp everywhere :p
Title: Re: any virtual machinery?
Post by: Juanito on August 24, 2025, 11:59:56 AM
Did you try the qemu extension?
Title: Re: any virtual machinery?
Post by: LubielTheStoopid on August 24, 2025, 12:53:36 PM
no just asking to get more knowledge abt tinycore and picore before my rasp pi 0w arrives
Title: Re: any virtual machinery?
Post by: Vaguiner on August 24, 2025, 10:20:56 PM
It's funny to see this post today because just a little while ago I was trying to put together a tutorial on how to get VirtualBox working on TinyCore.

The fact is that most Windows users are accustomed to VirtualBox, and abruptly migrating to qemu is an unpleasant experience.

The whole thing seems to work to a certain extent (I haven't been able to successfully run a virtual machine yet), but it looks like there will eventually be problems with multiarch.

Compiling from source is impossible because 32-bit files are mandatory requirements.

However, I will continue trying until I confirm that 32-bit is a requirement for the runtime.

(https://i.imgur.com/OOJBHDE.png)
Title: Re: any virtual machinery?
Post by: Vaguiner on August 24, 2025, 11:45:16 PM

The biggest problem seems to be related to permissions. I have currently managed to run the machine headless as root.
Title: Re: any virtual machinery?
Post by: Vaguiner on August 25, 2025, 12:38:15 AM

The biggest problem seems to be related to permissions. I have currently managed to run the machine headless as root.
Got it working with
Code: [Select]
sudo chown root:root /opt(https://i.imgur.com/qo3YXZE.png)
Title: Re: any virtual machinery?
Post by: Vaguiner on August 25, 2025, 12:48:08 AM
Everything is working perfectly.

However, the complete package would be unnecessarily large and redundant, like brave-browser, ungoogled-chromium and others. Perhaps it would be better to reconsider compiling the source code?


Quote from: Wayne Sallee link=https://www.linuxquestions.org/questions/linux-from-scratch-13/compiling-virtualbox-from-source-documented-4175590802/#post5614142 date=10-05-2016, 06:45 AM
The idea of needing 32-bit dependencies has prevented many people from compiling VirtualBox.
...
Don't let the misconception of needing 32-bit prevent you from compiling VirtualBox. The second list of dependencies is only for compiling the guest-additions iso. That's it, and you don't need to compile that iso, you can easily download that little thing.



Anyway. Currently Virtualbox depends on qt6. Maybe it's time to start working on qt6 tcz?
Title: Re: any virtual machinery?
Post by: Vaguiner on August 25, 2025, 02:00:20 AM
I discovered that VirtualBox does not allow the distribution of binaries. I should have suspected this, since there are no binaries in any Linux distribution, only on the official website.

The best we could get would be a build script, but, honestly, I've lost interest (although it's very worthwhile, since VirtualBox is clearly infinitely superior to qemu in terms of performance (Maybe I'm doing something wrong, because everywhere on the internet it says that qemu is faster because of KVM, although I can't see that at all.))
Title: Re: any virtual machinery?
Post by: Juanito on August 25, 2025, 04:00:25 AM
You usually have to manually load the appropriate kvm module from the kvm-KERNEL extension, did you try that?
Title: Re: any virtual machinery?
Post by: Juanito on August 25, 2025, 04:02:51 AM
Currently Virtualbox depends on qt6. Maybe it's time to start working on qt6 tcz?

I've no plans to build the massively bloated qt6, so please feel free..
Title: Re: any virtual machinery?
Post by: Vaguiner on August 25, 2025, 07:53:51 AM
You usually have to manually load the appropriate kvm module from the kvm-KERNEL extension, did you try that?
Yes, I did. I ran it with -enable-kvm and so on. The slowness is strange. Maybe someday I'll look into it.

I've no plans to build the massively bloated qt6, so please feel free..
So just wait for a real need.
Title: Re: any virtual machinery?
Post by: Rich on August 25, 2025, 08:20:19 AM
Hi Vaguiner
You need to either:
Code: [Select]
sudo modprobe kvm-amdfor an AMD CPU.

Or:
Code: [Select]
sudo modprobe kvm-intelfor an Intel CPU.

If you then run:
Code: [Select]
lsmod | grep kvmyou should see the module you loaded and the kvm module.
Title: Re: any virtual machinery?
Post by: LubielTheStoopid on August 25, 2025, 09:19:23 AM
im very slightly used to qemu