https://github.com/chiragkrishna/netboot.xyz-windows
https://github.com/chiragkrishna/netboot.xyz-windows
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chiragkrishna/netboot.xyz-windows
- Owner: chiragkrishna
- Created: 2024-03-07T02:23:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-07T02:48:55.000Z (about 1 year ago)
- Last Synced: 2025-01-25T08:26:39.260Z (4 months ago)
- Language: Batchfile
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Asus-Merlin Router setup
- enable ssh
- Enable JFFS custom scripts and configs
- rebootssh into router
```bash
mkdir /jffs/tftproot
curl -o /jffs/tftproot/netboot.xyz.kpxe https://boot.netboot.xyz/ipxe/netboot.xyz.kpxe
curl -o /jffs/tftproot/netboot.xyz.efi https://boot.netboot.xyz/ipxe/netboot.xyz.efi
touch /jffs/configs/dnsmasq.conf.add
nano /jffs/configs/dnsmasq.conf.add
```
replace 10.11.12.10 with your server IP address
Copy contents into --> dnsmasq.conf.add
```
enable-tftp
tftp-root=/jffs/tftproot
dhcp-match=set:bios,60,PXEClient:Arch:00000
dhcp-boot=tag:bios,netboot.xyz.kpxe,,10.11.12.10
dhcp-match=set:efi32,60,PXEClient:Arch:00002
dhcp-boot=tag:efi32,netboot.xyz.efi,,10.11.12.10
dhcp-match=set:efi32-1,60,PXEClient:Arch:00006
dhcp-boot=tag:efi32-1,netboot.xyz.efi,,10.11.12.10
dhcp-match=set:efi64,60,PXEClient:Arch:00007
dhcp-boot=tag:efi64,netboot.xyz.efi,,10.11.12.10
dhcp-match=set:efi64-1,60,PXEClient:Arch:00008
dhcp-boot=tag:efi64-1,netboot.xyz.efi,,10.11.12.10
dhcp-match=set:efi64-2,60,PXEClient:Arch:00009
dhcp-boot=tag:efi64-2,netboot.xyz.efi,,10.11.12.10
``````
reboot
```
test if it working```
tftp 10.11.12.10
tftp> get netboot.xyz.kpxe
Received 368475 bytes in 0.5 seconds
```# Docker Setup
create directory
```bash
mkdir -p /home/$LOGNAME/docker_appdata/netbootxyz/assets /home/$LOGNAME/docker_appdata/netbootxyz/config```
docker compose
```yaml
---
services:
netbootxyz:
image: lscr.io/linuxserver/netbootxyz:latest
container_name: netbootxyz
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Kolkata
volumes:
- /home/$LOGNAME/docker_appdata/netbootxyz/assets:/assets
- /home/$LOGNAME/docker_appdata/netbootxyz/config:/config
ports:
- 3112:3000
- 69:69/udp
- 8888:80
restart: unless-stopped
```# netboot.xyz setup
- Create [bootable Windows PE media](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-create-usb-bootable-drive?view=windows-11) and extract iso into win-install
- Download win10/11 and extract iso accordinglyCopy the files accordingly
```
netbootxyz
├── assets
│ ├── Win10
│ │ ├── auto10.bat
│ │ ├── (Extracted win10.iso)
│ │ └── winpeshl.ini
│ ├── Win11
│ │ ├── auto11.bat
│ │ ├── (extracted win11.iso)
│ │ └── winpeshl.ini
│ └── WinPE
│ ├── HBCD_PE_x64
│ ├── live11
│ └── win-install
│ ├──(extracted WinPE_amd64.iso)```
Edit boot.cfg and windows.ipxe accordingly-----
thanks to [@TechnoTim](https://github.com/techno-tim) for his amazing [tutorial](https://technotim.live/posts/netbootxyz-tutorial/)