Tiny Core Base > Corepure64

Launching an iso with QEMU?

(1/2) > >>

qopit:
I'm coming back to TinyCore (CorePure64) after a long hiatus, and just pulled the latest CorePure64-14.0.is from here:

http://tinycorelinux.net/14.x/x86_64/release/CorePure64-14.0.iso

I used to be able to kick off CorePure64 with a simple qemu -cdrom usage, but now, after pressing <Enter> at the boot: prompt, it loads for a few seconds... and then I get a blank screen I can't get out of.

Here's how I'm trying to launch the iso:


--- Code: ---qemu-system-x86_64 -m 1024 -nic user -boot d -cdrom CorePure64-14.0.iso -nographic
--- End code ---

Anyone know what I'm doing wrong?  Goal here is just to get Core spun up at console and explore what's new inside.

qopit:
This works, although with a gtk window popping up with a "graphical" console in it (that you can't paste into):


--- Code: ---qemu-system-x86_64 -boot d -m 1024 -cdrom ./CorePure64-14.0.iso
--- End code ---

At this point I'm thinking my memory must be failing me, and that I never did historically get Core working more-or-less-inline with shell invokation of qemu-system-x86_64.  :-\

Rich:
Hi qopit

--- Quote from: qopit on June 13, 2023, 01:58:02 PM --- ... after pressing <Enter> at the boot: prompt, it loads for a few seconds... and then I get a blank screen I can't get out of. ...
--- End quote ---
I booted the ISO under TC14 x86_64 and got the same result as you.
I then tried it like this and eventually was presented with a console:

--- Code: ---qemu-system-x86_64 -m 1G -nic user -boot d -cdrom CorePure64-14.0.iso
--- End code ---

Rich:
Hi qopit
I played some more with this and got a little further.

Loading went a lot faster with KVM:
Install  kvm-6.1.2-tinycore64.tcz
For AMD

--- Code: ---sudo modprobe kvm-amd
--- End code ---
For Intel

--- Code: ---sudo modprobe kvm-intel
--- End code ---

Then:

--- Code: ---qemu-system-x86_64 -enable-kvm -m 1G -nic user -boot d -cdrom CorePure64-14.0.iso -nographic -serial mon:stdio
--- End code ---
When the  boot  prompt appears enter:

--- Code: ---corepure64 console=ttyS0
--- End code ---

The loading vmlinuz64 and loading corepure64 messages are displayed.
Then the following messages are displayed:

--- Code: ---Booting Core 14.0
Running Linux Kernel 6.1.2-tinycore64.
Checking boot options... Done.
Starting udev daemon for hotplug support... Done.
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Possible swap partition(s) enabled.
Loading extensions... Done.
Setting keymap to us Done.
Setting hostname to box Done.
login[369]: root login on 'tty1'
--- End code ---

After that hitting the  Enter  key just moves the cursor down
with no further prompts.

To get out of it, enter  ctrl-A + C
The  (qemu)  prompt will appear.
Press  q  and  Enter  to then quit qemu.

curaga:
"qemu -cdrom CorePure64-14.0.iso" still works for me, but this is with an older Qemu. Maybe they changed some defaults in newer versions.

Navigation

[0] Message Index

[#] Next page

Go to full version