Well, this article means you are going to know how to install Raspbian on your Windows 10 computer.
If you really enjoy this article, consider checking out my TechWizTime YouTube Channel.
And for an awesome source of Raspberry Pi Accessories, check out my Raspberry Pi Amazon List.
Letâs get started!
Step 1: What Youâll Need
Step 2: Download QEMU
Go to http://qemu.weilnetz.de/w32/
Select the 32-bit folder.
Click on the version with the most recent modify date.
When it downloads, use 7zip to extract itâs contents into a folder.
Step 3: Download the Kernel
Go to https://github.com/dhruvvyas90/qemu-rpi-kernel
Select the most recent file.
Click on the âDownloadâ at the left of âHistoryâ
After it downloads, place the file inside the folder where you extracted the QEMU.
Step 4: Download Raspbian
Go to http://downloads.raspberrypi.org/
Click on âDownloadsâ Select âRaspbianâ
Download the Pixel desktop version.
After it downloads, extract the contents on the same folder where you extracted QEMU.
Step 5: Set Up the Emulator
Get inside the folder where you extracted Raspbian, QEMU and placed the Kernel.
Create a new text file and name it âstart.batâ
Right click on it and press âEditâ
Type in âqemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append âroot=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bashâ -drive âfile=2017-03-02-raspbian-jessie.img,index=0,media=disk,format=rawâ -redir tcp:2222::22âł
Save the file and close it.
Type âcmdâ on the address bar to start up the command prompt.
In the command prompt, type âstart.batâ
Type in âsudo nano /etc/udev/rules.d/90-qemu.rulesâ Press âEnterâ Type in âKERNEL==âsdaâ, SYMLINK+=âmmcblk0âł KERNEL==âsda?â, SYMLINK+=âmmcblk0p%nâ KERNEL==âsda2âł, SYMLINK+=ârootââ
Press âCtrl Xâ âYâ âEnterâ
Close the emulator.
Go to the âstart.batâ file.
Delete the line âinit=/bin/bashââ
Save and close the file.
In the cmd, type in âqemu-img.exe resize 2017-03-02-raspbian-jessie.img +4Gâ
Press âEnterâ
A small error will appear, but the resizing will take effect.
Type in âstart.batâ
Press âEnterâ
Step 6: Optimize the Emulator
Once it loads, open up the Terminal.
Type in âsudo fdisk/dev/sdaâ
Press âEnterâ
Type âPâ
Press âEnterâ
Type âDâ
Press âEnterâ
Type â2â
Press âEnterâ
Type âNâ
Press âEnterâ
Type âPâ
Press âEnterâ
Youâll be asked for the first sector of the partition, type in the number you see on the first partition +1. IE: 20298 + 1 = 20299
Press âEnterâ
When it ask for the last sector, press âEnterâ to use the whole ammount of the image.
Type âWâ
Press âEnterâ
Youâll get a message stating that the creation of the partition failed, shut down the emulator for the changes to take effect.
In the cmd, start the emulator by starting the âstart.batâ file.
Get inside the Terminal of Raspbian once it loads.
Type in âsudo resize2fs /dev/sda2â
Press âEnterâ
A message will appear saying that the partition rezise was successful.
Type in âsudo nano /etc/dphys-swapfileâ
Press âEnterâ
Go down to where it says âconf_swapsize=100â and change the â100â to â1024â
Press âCtrl Xâ âYâ and âEnterâ
Type in âsudo /etc/init.d/dphys-swapfile stopâ
Press âEnterâ
Type in âsudo /etc/init.d/dphys-swapfile startâ
Go to âRaspberry Pi Configurationâ
Click on âEnabledâ
Locate âSSHâ and press âEnableâ
Click on âPerformanceâ
On âOverclockâ, select âTubo (1000GHz)â
EXTRA: You can go to Localization and select your country of residence or the country you prefer and then click on âKeyboardâ to change your keyboard settings.
Press âOKâ to save all of your changes.
Shut down the Emulator.
Open it again via cmd using the âstart.batâ
If you turned on SSH, youâll see a warning, click on âYesâ
Congratulations, youâve just installed Raspbian on your Windows 10 PC via QEMU, configured it, optimized it and thatâs it for this Instructable.
If you enjoy this Instructable, consider checking out my TechWizTime YouTube Channel.
And for a good source of Raspberry Pi products, check out my Raspberry Pi Amazon List.