grub: add 88netinstall-live.cfg - submenu for network boot of squash 'live'
This commit is contained in:
parent
f4fa265425
commit
41a881f61c
80
features.in/grub/cfg.in/88netinstall-live.cfg
Normal file
80
features.in/grub/cfg.in/88netinstall-live.cfg
Normal file
@ -0,0 +1,80 @@
|
||||
submenu $"Bootloading over network (press F4)" --hotkey 'f4' --id 'network' {
|
||||
submenu $"Install over network" {
|
||||
menuentry $"Server NFS" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ $EFI_BOOTARGS lang=$lang lowmem
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server FTP" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ $EFI_BOOTARGS lang=$lang
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server HTTP" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ $EFI_BOOTARGS lang=$lang
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server SAMBA" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ $EFI_BOOTARGS lang=$lang lowmem
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
}
|
||||
submenu $"Live over network" {
|
||||
menuentry $"Server NFS" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=live @bootargs@ $EFI_BOOTARGS lang=$lang lowmem
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server FTP" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=live @bootargs@ $EFI_BOOTARGS lang=$lang
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server HTTP" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=live @bootargs@ $EFI_BOOTARGS lang=$lang
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server SAMBA" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=live @bootargs@ $EFI_BOOTARGS lang=$lang lowmem
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
}
|
||||
submenu $"Rescue over network" {
|
||||
menuentry $"Server NFS" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=live systemd.unit=live-rescue.target @bootargs@ $EFI_BOOTARGS lowmem
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server FTP" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=live systemd.unit=live-rescue.target @bootargs@ $EFI_BOOTARGS
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server HTTP" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=live systemd.unit=live-rescue.target @bootargs@ $EFI_BOOTARGS
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
menuentry $"Server SAMBA" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=live systemd.unit=live-rescue.target @bootargs@ $EFI_BOOTARGS lowmem
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user