diff options
| author | torben | 2015-03-23 17:22:25 +0100 |
|---|---|---|
| committer | torben | 2015-03-23 17:22:25 +0100 |
| commit | feb46761f854355eb3e9e25a538b0d912d2e6583 (patch) | |
| tree | 8579f18591333027c896c049231ed4ced624e758 | |
| parent | Document more functions. (diff) | |
| download | systemd-init-feb46761f854355eb3e9e25a538b0d912d2e6583.tar.gz systemd-init-feb46761f854355eb3e9e25a538b0d912d2e6583.tar.xz systemd-init-feb46761f854355eb3e9e25a538b0d912d2e6583.zip | |
Adding grub2 conf to debug dracut.
| -rwxr-xr-x | grub2.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/grub2.conf b/grub2.conf new file mode 100755 index 00000000..2b71901f --- /dev/null +++ b/grub2.conf @@ -0,0 +1,21 @@ +#!/bin/sh +exec tail -n +3 $0 +# 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. + +menuentry 'test' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-123.el7.x86_64-advanced-6c06919a-389a-4a50-8c6b-b086e65db9b0' { + load_video + set gfxpayload=keep + insmod gzio + insmod part_msdos + insmod xfs + set root='hd0,msdos1' + if [ x$feature_platform_search_hint = xy ]; then + search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 4236333a-a808-4f6b-b4a6-d963f4a69a25 + else + search --no-floppy --fs-uuid --set=root 4236333a-a808-4f6b-b4a6-d963f4a69a25 + fi + linux16 /vmlinuz-3.10.0-123.el7.x86_64 root=UUID=6c06919a-389a-4a50-8c6b-b086e65db9b0 ro rd.lvm.lv=centos/swap crashkernel=auto rd.lvm.lv=centos/root vconsole.font=latarcyrheb-sun16 vconsole.keymap=de console=tty0 console=ttyS0,9600 rd.shell + initrd16 /initramfs-test.img +} |
