netboot.xyz/src/slackware.ipxe
Antony Messerli f08a742810 Starts to pull mirror configs into boot.cfg
Let's the mirror configs be a little more
configurable and uses official mirrors where available.
2017-10-29 21:49:31 -05:00

31 lines
778 B
Text

#!ipxe
# Slackware Operating System
# http://www.slackware.com
goto ${menu}
:slackware
set os slackware
iseq ${arch} x86_64 && set sbits 64 || clear sbits
menu ${os}
item current ${os} Current
item 14.2 ${os} 14.2
item 14.1 ${os} 14.1
item --key o other Choose other version [o]
choose version || exit 0
iseq ${version} other || goto skip_read_version
echo ${cls}
echo -n Enter version: ${} && read version
:skip_read_version
set dir ${slackware_base_dir}/slackware${sbits}-${version}
goto boot
:boot
imgfree
kernel http://${slackware_mirror}/${dir}/kernels/huge.s/bzImage
initrd http://${slackware_mirror}/${dir}/isolinux/initrd.img
imgargs bzImage load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 SLACK_KERNEL=huge.s ${params} ${console}
isset ${debug} && prompt ||
boot