Created
October 25, 2016 09:39
-
-
Save franckhlmartin/a3e83e469697b048569b6ad33a032cdf to your computer and use it in GitHub Desktop.
Grub IPv6 UEFI memdisk: create memdisk/boot/grub/grub.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set timeout=5 | |
menuentry 'Linux diskless' --class os { | |
insmod all_video | |
set gfxpayload=keep | |
insmod net | |
insmod efinet | |
insmod tftp | |
insmod http | |
insmod gzio | |
insmod part_gpt | |
insmod efi_gop | |
insmod efi_uga | |
insmod ext2 | |
# dhcp, tftp server in my network | |
set net_default_server=2001:DB8::245 | |
# auto dhcp setup did not work for me, no idea why | |
# net_bootp | |
# ok let's assign a static address for now | |
net_ipv6_autoconf | |
echo 'Network status: ' | |
net_ls_cards | |
net_ls_addr | |
net_ls_routes | |
echo 'Loading Linux ...' | |
linux /boot/vmlinuz rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM ramdisk_size=100000 rdblacklist=qla2xxx ksdevice=bootif lang= text ip=dhcp6 ks=http://[2001:DB8::245]/repo/cfg/KS1.cfg | |
echo 'Loading initial ramdisk ...' | |
initrd /boot/initrd.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment