source: grub-pc/trunk/fuentes/debian/grub-xen-host_grub.cfg @ 22

Last change on this file since 22 was 22, checked in by mabarracus, 4 years ago

updated version and apply net.ifnames=0 into debian/rules

File size: 674 bytes
Line 
1# First search for a suitable grub to chainload
2if search -s -f /boot/xen/pvboot-@@PVBOOT_ARCH@@.elf ; then
3        echo "Chainloading (${root})/boot/xen/pvboot-@@PVBOOT_ARCH@@.elf"
4        multiboot "/boot/xen/pvboot-@@PVBOOT_ARCH@@.elf"
5        boot
6fi
7
8if search -s -f /xen/pvboot-@@PVBOOT_ARCH@@.elf ; then
9        echo "Chainloading (${root})/xen/pvboot-@@PVBOOT_ARCH@@.elf"
10        multiboot "/xen/pvboot-@@PVBOOT_ARCH@@.elf"
11        boot
12fi
13
14# Second try looking for grub.cfg
15
16if search -s -f /boot/grub/grub.cfg ; then
17        echo "Reading (${root})/boot/grub/grub.cfg"
18        configfile /boot/grub/grub.cfg
19fi
20
21if search -s -f /grub/grub.cfg ; then
22        echo "Reading (${root})/grub/grub.cfg"
23        configfile /grub/grub.cfg
24fi
Note: See TracBrowser for help on using the repository browser.