Open SrIzan10 opened 3 years ago
I'll add a tutorial to the readme, but here is how to do it: open terminal and run:
cd ~/win98
qemu-img resize win98.qcow2 20G
you can change 20G with any size you want.
Thats the command if I remember correctly.
Thanks, I'll try when finish installing Premiere.
@SrIzan10 did it work?
The image broke because of a Windows protecion error (I didn't resize it). I'll redownload the tar.gz.
Hmmm... I think that the image flooded with unallocated space and the OS doesn't recognize it. I am going to see it via Partlogic
(https://partitionlogic.org.uk/download/). I'm running this command: qemu-system-x86_64 -hda 8gbwin98copiaseguridadcopiadeguridad.qcow2 -cdrom partlogic.iso -boot d -soundhw sb16 -m 512M
And yes, it was. I'm going to resize it. Ok, it's good. I'm going to boot up in Windows.
And... no. It didn't work. I'll install soundblaster drivers so sound can work. I'll try later.
try this:
follow the instructions here to mount the qcow2
image, once its mounted open gparted and resize the windows partition to fill all the unalocated space.
apply the changes and boot the VM.
it should work.
also if you manage to get sound, can you send the steps in a new issue so I can add it?
If I manage to get sound succesfully, can you credit me on the tutorial?
try this: follow the instructions here to mount the
qcow2
image, once its mounted open gparted and resize the windows partition to fill all the unalocated space. apply the changes and boot the VM. it should work.
Instructions didn't work. It doesn't show on gparted
If I manage to get sound succesfully, can you credit me on the tutorial?
yes, of course!
Instructions didn't work. It doesn't show on gparted
I'll try to find a way tomorrow.
I'm working on finding a solution.
Ok, thanks for your work @Itai-Nelken !
ok, @SrIzan10 I have a idea:
1) resize the virtual HD: qemu-img resize win98.qcow2 20G
change 20G
with the size you want.
2) Download this puppy linux iso: http://distro.ibiblio.org/puppylinux/puppy-bionic/bionicpup32/bionicpup32-8.0-uefi.iso
3) boot it with this command using the win98 HD:
qemu-system-x86_64 -hda win98.qcow2 -device sb16 -cdrom bionicpup32-8.0-uefi.iso -boot d
4) once puppy linux booted succesfully (hopefully) install gparted and expand the partition of the HD. 5) shut down puppy linux and start the VM normally.
I picked puppy linux because its very light and I hope will run at aceptable speeds.
Ok, I’ll try when I go to home. Thank you.
How can I make the VM run better? I tried -smp 2
but it didn't work. Do I need to make another issue with that?
How can I make the VM run better? I tried
-smp 2
but it didn't work. Do I need to make another issue with that?
that gives it an extra core. no you can't. its emulation, so the faster your host CPU is the faster the VM is, and the pi isn't that powerful.
did it work?
No, it was stuck at Setting up networking... Can you try it?
No, it was stuck at Setting up networking... Can you try it?
yes, I'll try it.
this isn't working for me unfortunately... I'll have to find a different way...
cp win98.qcow2 win98backup.qcow2
.qemu-img resize win98.qcow2 +SIZE
(replace SIZE
with the size, for example 20G
)qemu-system-x86_64 - hda win98.qcow2 -cdrom gparted-live-1.2.0-1-i686.iso - boot d - m 512
to boot@SrIzan10 can you try that?
Yeah, I'll try tomorrow. Thanks @Itai-Nelken
BTW @SrIzan10 did you get sound working? I tried to use a few of the sound cards QEMU can emulate and after using the default drivers from the win98 CD the system always froze and broke after starting the startup sound.
https://drive.google.com/file/d/1ayOY0krVLix8TuoNEayJO7AwialaadXg/view?usp=drivesdk What the startup sound was like
https://drive.google.com/file/d/1ayOY0krVLix8TuoNEayJO7AwialaadXg/view?usp=drivesdk What the startup sound was like
I was thinking it was a prank of april fools! 😄 Yeah, that sounds like a BSOD.
BTW @SrIzan10 did you get sound working? I tried to use a few of the sound cards QEMU can emulate and after using the default drivers from the win98 CD the system always froze and broke after starting the startup sound.
It could be something about Pulseaudio. Check Pavucontrol. And, I didn't get sound working, only on Dosbox-X. I'm eating right now, I'll try the new method for the gparted vm when I get home.
And I installed nt4 yesterday. I'll make a Pull request when I have time 😅
And, it was pretty slow. 1 hour later, it didn't even boot up to the gparted screen...
Hi, I love your work with your script but when I installed games it said that I ran out of space. Can you resize the image so it can be 8 gb (or less)? Or can you show me how can I put more space in the virtual hard drive. Thanks!