Comments (26)
Reopening because I would like to see Alpine support at some point, I may poke around on it if I get some time.
from netboot.xyz.
I run mirrors and I am on Alpine's infrastructure team. I will get back to you shortly @antonym
from netboot.xyz.
Ok managed to found a solution to create a bootable image for alpine through IPXE, here are the steps:
- clone the alpine-iso git repo
- cd to the directory and create the following two files:
alpine-pxe.packages
which will be empty (those packages are installed in the iso not in the initrd)alpine-pxe.conf.mk
with the following content:some options may not be needed, I did not had the time to check this correctly,ALPINE_NAME := alpine-pxe KERNEL_FLAVOR := grsec INITFS_FEATURES := ata base bootchart squashfs ext4 usb virtio network dhcp MODLOOP_EXTRA :=
virtio
andnetwork
are needed according to the wiki
- create the image following the instructions here and pass your new profile:
make PROFILE=alpine-pxe
- start a simple http server in
isotmp.alpine-pxe/isofs/boot/
the ipxe boot will need the two following files:initramfs-grsec
vmlinuz-grsec
- create your ipxe script with an adaptation of the following to your own url
Here again I am not sure that all the options are needed, still have to perform some tests.
#!ipxe dhcp set base-url http://192.168.122.0:5050 set kernel-params ip=dhcp modules=loop,squashfs,usb-storage nomodeset kernel ${base-url}/vmlinuz-grsec ${kernel-params} initrd ${base-url}/initramfs-grsec boot
- start your network boot!
from netboot.xyz.
Merged in some experimental Alpine Linux support, hopefully we can get an official build at some point but this should be a good starting point to play around with and use.
from netboot.xyz.
Alpine Linux updated to netboot images, dropped experimental tag and added signature checking:
Please kick the tires and thanks everyone for getting us this far!
from netboot.xyz.
I gave this a try tonight but unfortunately Alpine Linux ISOs do not play nicely with memdisk which is what I need in order to boot. You can read more about the issue here and a potential way to fix it. It might be worth opening the ticket with them and seeing in they are willing to implement the above item.
The way I usually validate an ISO works or not is pulling up the iPXE command shell and running:
kernel http://boot.netboot.xyz/memdisk iso raw
initrd http://URL.to/ISO
boot
If it works, it'll usually start the install or load up all of the way. If it fails, it'll usually fail early after being unable to load the rootfs image.
The ISOs can be cracked open and hosted somewhere to boot, but that introduces a lot of other issues. (tampering, bandwidth, space, etc). I'd much rather pull from the provider of the operating system or a trusted mirror if at all possible and leave netboot.xyz as a router to those operating systems.
from netboot.xyz.
Looks like some others have tried as well, might be a good place to start. http://lists.alpinelinux.org/alpine-devel/3292.html
from netboot.xyz.
I've been trying to get some involvement via the Alpine official IRC, but there's been no movement in more than 4 hours despite over 300 connected clients. Not entirely sure this is going to happen. It's far outside my skillset.
from netboot.xyz.
Alpine Linux also has a bug tracker at https://bugs.alpinelinux.org/ and a couple mailing lists I would try as well: http://lists.alpinelinux.org/.
from netboot.xyz.
Andy, thanks!
I've opened a thread on their internal forums.
from netboot.xyz.
Thanks, guess we just wait and see. If we can get a working image, it'll be really easy to get it going.
from netboot.xyz.
@zQueal @antonym If I read a recent IRC chat correctly, @ncopa has some experimental changes to enable pxe boot that might land in Alpine Linux 3.3.2. They may not be sufficient to pxe boot an ISO though.
from netboot.xyz.
@bfritz Hey, that's great news! At least it's a step in the right direction! Thanks for the update.
from netboot.xyz.
http://wiki.alpinelinux.org/wiki/PXE_boot is the instructions on how to boot it any reason this wouldn't work?
from netboot.xyz.
I'd love to see this added in as well since Alpine is such a easy to use lightweight distro.
from netboot.xyz.
Hi. Chiming in to see if Alpine is now offering kernel+initrd bundles, or if we still need to follow @IxDay 's instructions. Thanks!
from netboot.xyz.
I hadn't heard any updates, but I'd still be all for it if Alpine Linux would provide a hosted version of those files so they could be retrieved. I could spin and host them myself, but generally would prefer if the provider provided the files uncompressed on their mirror so that they could be loaded by anyone directly as it's generally more trustworthy. I'd also like to start getting away from ISOs where possible as the methods to load them in iPXE just aren't ideal. If anyone knows any Alpine Linux maintainers, please ping them to this thread.
from netboot.xyz.
There's now a PXE booting guide for Alpine which mentions using gpxe scripts and booting over HTTP: https://wiki.alpinelinux.org/wiki/PXE_boot
from netboot.xyz.
Yeah, the issue of adding support isn't about how to do it but we need to have the files hosted as part of the release so the ISO doesn't have to be extracted and hosted at another source. It would be ideal if the files that worked for PXE support would be hosted by the projects directly so that they could be pulled from the primary and trusted source.
If those are present somewhere already on an official Alpine Linux mirror, please point me to them and I can get support added.
from netboot.xyz.
As of today Alpine linux 3.8 has a official Netboot image, do you think it can be implemented as the main alpine image?
from netboot.xyz.
That's great news but unfortunately, their release is tar.gz up so it's not something iPXE can pull directly from their servers and use. Do they have the releases extracted somewhere and hosted on their official servers? I don't typically host the bits myself and rely on the distribution to provide a place to retrieve from their official mirrors.
from netboot.xyz.
I know that a mate of he hosts a mirror of alpine, i can ask him if he can do an extracted folder of the tar
from netboot.xyz.
The expermental images are currently hosted by one of the developers but I'd like to see if the project would be willing to provide those images extracted for use by anyone in official capacity without having to download the tarball directly.
from netboot.xyz.
Looks like an extracted package is live on the actaul CDN's
http://dl-cdn.alpinelinux.org/alpine/v3.8/releases/x86_64/netboot/
from netboot.xyz.
Perfect, we can use that then, thanks for the heads up!
from netboot.xyz.
No problem
from netboot.xyz.
Related Issues (20)
- LiveCD Ubuntu 23.10 crashes with a 3 Minute hang waiting for Network, Ubuntu 22.04 works HOT 3
- svn no longer works with github.com for raspberrypi/firmware HOT 4
- Running Netboot.xyz in Docker and DHCP in PiHole. Unable to load Menu.
- Ubuntu 22.04.3-7e94379b/filesystem.squashfs missing HOT 1
- Addition of some several ISOs HOT 2
- Ubuntu 23.10 - /cow format specified as 'overlay' and no support found HOT 2
- NixOS Live Cd
- add archcraft xcp-ng
- ubuntu server iso not booting
- Add NetBSD 32bit and 64bit images to the netboot.xyz HOT 1
- Cannot pull some Ubuntu netboot images HOT 2
- ould not boot: no such file or directory (https://ipxe.org/2d0c618e) HOT 1
- SystemRescue: Alternative mode with "rootpass=MAC_ADDRESS" HOT 1
- local ansible build fails at Gather variables for each operating system HOT 1
- More than 1 live endpoint
- netboot.xyz-multiarch.iso triggers Trojan:Script/Wacatac.B!ml on Windows Defender (Windows 11 HOT 1
- Documentation: Add release number to Downloads page
- Incorrect endpoints
- virbtualbox efi mode dose not work HOT 1
- proxmox ve now supports an answerfile.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netboot.xyz.