Giter Club home page Giter Club logo

windows-codespaces's Introduction

how to Install windows in github codespaces

  1. make a blank codespace Screenshot 2024-03-22 8 04 10 AM
  2. type in terminal ls -a then type clear
  3. type in terminal sudo apt update
  4. then type in sudo apt install qemu-kvm qemu-system-x86 openbox firefox tigervnc-standalone-server when it asks to download 950 mb type y
  5. after that then git clone git clone https://www.github.com/novnc/noVNC
  6. type cd noVNC
  7. and ls
  8. then type sudo vncserver -SecurityType none -xstartup "openbox" -rfbport 5900
  9. now you are half way through
  10. don't click "open in browser" close the popup
  11. then in terminal type in sudo ./utils/novnc_proxy --vnc 127.0.0.1:5900 --listen localhost:6080
  12. now click the popup that says open in browser in the webpage click vnc.html then press connect if the screen is black then you might be already connected when you open the html file left click then click open browser search up Windows 11 click the link that says windows 11 Screenshot 2024-03-22 8 30 38 AM
  13. download windows 11 (DOWNLOAD THE ISO NOT THE EXECUTABLE) in the vm
  14. the download goes very fast in the vm it took me 30 seconds
  15. while the windows 11 iso is downloading go back to the codespace and make a new terminal Screenshot 2024-03-22 8 34 57 AM
  16. type sudo apt install konsole
  17. when asking "do you want to download 389 mb?" type y
  18. watch this but it runs in 2 times speed https://www.youtube.com/watch?v=PQv-1-qI9zg
  19. once konsole has downloaded close firefox and leftclick and open the emulator terminal
  20. type ls
  21. then type cd Downloads make sure the "D" for the Dowloads is capitalized
  22. then type df -h after that type qemu-img create disk.img 10G
  23. in the emulator terminal first type cd Downloads then type ls copy the windows iso name then type qemu-system-x86-64 --enable-kvm -m 4G -smp 2 -pflash /usr/share/OVMF/OVMF_CODE.fd -hdd disk.img - cdrom drive Win11_22H2_English_x64v2.iso

windows-codespaces's People

Contributors

1043613lcpsorg avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.