mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-09-01 02:34:22 -05:00
Merge pull request #935 from netbootxyz/gentoo_fixes
Switch Gentoo to leverage initrd.magic functionality
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
set os {{ releases.gentoo.name }}
|
||||
menu ${os} - Current Arch [ ${arch} ]
|
||||
iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
|
||||
item --gap Currently during boot you need to press ctrl+d/ctrl+c
|
||||
item --gap repeatedly when init hangs on starting a download
|
||||
item --gap ${os} Versions
|
||||
{% for key, value in endpoints.items() | sort %}
|
||||
{% if value.os == "gentoo" %}
|
||||
@@ -29,8 +27,9 @@ goto boot
|
||||
|
||||
:boot
|
||||
imgfree
|
||||
kernel ${url}vmlinuz ip=dhcp root=/dev/ram0 init=/linuxrc loop=/image.squashfs looptype=squashfs cdroot=1 real_root=/ fetch=${url}image.squashfs {{ kernel_params }}
|
||||
kernel ${url}vmlinuz ip=dhcp root=/dev/ram0 init=/linuxrc loop=/image.squashfs looptype=squashfs cdroot=1 {{ kernel_params }}
|
||||
initrd ${url}initrd
|
||||
initrd ${url}image.squashfs /image.squashfs
|
||||
boot
|
||||
|
||||
:gentoo_exit
|
||||
|
||||
Reference in New Issue
Block a user