Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### BEGIN /etc/grub.d/40_custom ###
- # This file provides an easy way to add custom menu entries. Simply type the
- # menu entries you want to add after this comment. Be careful not to change
- # the 'exec tail' line above.
- #/boot/grml/ovz/images/pxeboot
- menuentry 'Install OpenVZ 7.0.4 (698)' --class fedora --class gnu-linux --class gnu --class os {
- linux /boot/grml/ovz/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=openvz-iso-7.0.4-698 quiet ip=dhcp
- initrd /boot/grml/ovz/images/pxeboot/initrd.img
- }
- menuentry "openvz-iso-7.0.4-698-netinstall.iso 1" {
- set isolabel="/boot/openvz-iso-7.0.4-698-netinstall.iso"
- set isofile="/boot/openvz-iso-7.0.4-698-netinstall.iso"
- loopback loop $isofile
- linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=$isofile root=live:CDLABEL=$isolabel ro rd.live.image quiet rhgb
- initrd (loop)/images/pxeboot/initrd.img
- }
- menuentry "openvz-iso-7.0.4-698-netinstall.iso 2" {
- set isolabel="/boot/openvz-iso-7.0.4-698-netinstall.iso"
- set isofile="/boot/openvz-iso-7.0.4-698-netinstall.iso"
- set root=(hd0,2)
- loopback loop $isofile
- linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=$isofile root=live:CDLABEL=$isolabel ro rd.live.image quiet rhgb
- initrd (loop)/images/pxeboot/initrd.img
- }
- menuentry "OVZ ISO" {
- set isofile="/boot/openvz-iso-7.0.4-698-netinstall.iso"
- loopback loop (hd0,2)$isofile
- linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=${isofile} quiet splash
- initrd (loop)/images/pxeboot/initrd.img
- }
- ### END /etc/grub.d/40_custom ###
- ### BEGIN /etc/grub.d/41_custom ###
- if [ -f ${config_directory}/custom.cfg ]; then
- source ${config_directory}/custom.cfg
- elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
- source $prefix/custom.cfg;
- fi
- ### END /etc/grub.d/41_custom ###
- ### BEGIN /etc/grub.d/42_grml ###
- Found Grml ISO image: /boot/grml/grml64-full_2017.05.iso
- menuentry "Grml Rescue System (grml64-full_2017.05.iso)" {
- insmod part_msdos
- insmod ext2
- set root='hd0,msdos2'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f45c02df-f69c-455d-8309-fdf1c1bf8a99
- else
- search --no-floppy --fs-uuid --set=root f45c02df-f69c-455d-8309-fdf1c1bf8a99
- fi
- iso_path="/boot/grml/grml64-full_2017.05.iso"
- export iso_path
- kernelopts=" "
- export kernelopts
- loopback loop "/boot/grml/grml64-full_2017.05.iso"
- set root=(loop)
- configfile /boot/grub/loopback.cfg
- }
- Found Grml ISO image: /boot/grml/openvz-iso-7.0.4-698-netinstall.iso
- menuentry "Grml Rescue System (openvz-iso-7.0.4-698-netinstall.iso)" {
- insmod part_msdos
- insmod ext2
- set root='hd0,msdos2'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f45c02df-f69c-455d-8309-fdf1c1bf8a99
- else
- search --no-floppy --fs-uuid --set=root f45c02df-f69c-455d-8309-fdf1c1bf8a99
- fi
- iso_path="/boot/grml/openvz-iso-7.0.4-698-netinstall.iso"
- export iso_path
- kernelopts=" "
- export kernelopts
- loopback loop "/boot/grml/openvz-iso-7.0.4-698-netinstall.iso"
- set root=(loop)
- configfile /boot/grub/loopback.cfg
- }
- ### END /etc/grub.d/42_grml ###
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement