grub: add submenu for install live over network
This commit is contained in:
parent
44e7f6a4c7
commit
984b9b6027
@ -51,6 +51,32 @@ submenu $"Bootloading over network (press F4)" --hotkey 'f4' --id 'network' {
|
||||
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
}
|
||||
submenu $"Install Live 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 $"Rescue over network" {
|
||||
menuentry $"Server NFS" {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user