copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.87k stars 1.41k forks source link

Windows XP #243

Open ghost opened 6 years ago

ghost commented 6 years ago

capturar

I installed windows xp on the virtual machine, converted .vdi to .img, using qemu. (in the virtual machine, it works.)

BelleNottelling commented 6 years ago

Did you install it with qemu or what?

ghost commented 6 years ago

I made the virtual machine using the virtual box.

I used the command:

qemu-img convert -f vdi -O raw xp.vdi xp.img

BelleNottelling commented 6 years ago

Virtual box causes issues, try installing it with qemu

ghost commented 6 years ago

Using QEMU: capturar

 var emulator = window.emulator = new V86Starter({
        memory_size: 128*1024*1024,
        vga_memory_size: 2 * 1024 * 1024,
        screen_container: document.getElementById("screen_container"),
        bios: {
            url: "/Emu/bios/seabios.bin",
        },
        vga_bios: {
            url: "/Emu/bios/vgabios.bin",
        },
        hda: { 
            url: "/Emu/images/Windows_XP.img",
            async: true,
            size: 2097152000,
        },
        autostart: true,
    });
BelleNottelling commented 6 years ago

Did you build v86 with acpi support? You can do that or make the image in qemu and disabling acpi support

ghost commented 6 years ago

Yes, have acpi support.

BelleNottelling commented 6 years ago

So you did make build/libv86.js enableacpi=true? That's the only other issue I can think of, other than perhaps the windows version is too new and broke support?

ghost commented 6 years ago

Yes, I used "make build/libv86.js enableacpi=true"

BelleNottelling commented 6 years ago

hm Well, maybe the newer version thing isn't right as this works. I'm not really sure what you're issue is

nepx commented 6 years ago

I've encountered the same issue, and I've discovered that it ultimately depends on the ISO image you're using. I've found out that a genuine (direct from Microsoft) ISO works best -- a lot of the images online have additional drivers (and occasionally keyloggers) installed on them, and they usually cause v86 to hang or crash with a "Double Fault" error (see #86).

BelleNottelling commented 6 years ago

You can get an ISO directly from Microsoft? Or are you taking about dumping one from a DVD?

nepx commented 6 years ago

Well, you used to be able to. But not anymore, think. But I believe the ISO is floating around the Internet somewhere. You can download it from various websites, though I'd worry about legality and viruses.

On Mon, Oct 1, 2018, 11:43 PM Ben notifications@github.com wrote:

You can get an ISO directly from Microsoft? Or are you taking about dumping one from a DVD?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/copy/v86/issues/243#issuecomment-426165969, or mute the thread https://github.com/notifications/unsubscribe-auth/AWOJiFyTohEZyQH4HQSD8UlvruUHP6BAks5ugwsIgaJpZM4W9pNK .

BelleNottelling commented 6 years ago

Oh okay

tracker1 commented 6 years ago

I think the public ISO downloads started with Windows 7. but there are ISOs from MSDN and can check against published checksums.

copy commented 5 years ago

We should probably document the exact steps to create a build that runs Windows XP. Any takers?

BelleNottelling commented 5 years ago

@copy I would if I remembered them and could get it to work XD

BelleNottelling commented 5 years ago

You can find out if a copy of windows XP has been modified by following this: https://www.bleepingcomputer.com/forums/t/43051/how-to-use-sfcexe-to-repair-system-files/ Fix it too I guess.

12brendon34 commented 4 years ago

i have managed to get a build of windows xp to be around 82mb its a modified pe disk but does boot well here is the iso i compressed the iso to a 30mb zip file here is the link https://www.mediafire.com/file/j8idqjcm7kx7u3d/WindowsXp.zip/file

copy commented 4 years ago

@12brendon34 Pretty cool. Would love to put this on my website, but it's neither free nor abandonware: https://forum.winworldpc.com/discussion/9882/rule-do-not-request-windows-xp-or-office-2000

copy commented 4 years ago

@12brendon34 Interesting, thanks for the link. I'll consider providing such a build in the next release.

12brendon34 commented 4 years ago

i was thinking of compiling windows server 2003 from the source leak then see if i can get it to work in v86

BelleNottelling commented 4 years ago

i was thinking of compiling windows server 2003 from the source leak then see if i can get it to work in v86

I would keep anything illegal away from an open source project you care about.

OfficialGH98 commented 3 years ago

That's pretty cool you got Windows XP working on copy.sh, but... I recommend using the Windows Classic theme, as Windows Luna makes it slower. I did an attempt on getting Windows XP to work on copy.sh, but you'll likely need an Windows XP Lite IMG file or a Windows XP Live CD. I usually recommend a Windows XP Live CD.

OfficialGH98 commented 3 years ago

Oh, and also, if you guys want the image, figure it out for yourself, because courtesy of WinWorld's rules, you CANNOT request OS'es Windows XP or higher. That's why Windows XP is not featured on copy.sh.

idk67454 commented 2 weeks ago

Is there a way to get sever 2003