summaryrefslogtreecommitdiff
path: root/sysresccd/grub.conf
diff options
context:
space:
mode:
authorbrent s <r00t@square-r00t.net>2019-10-31 08:26:22 -0400
committerbrent s <r00t@square-r00t.net>2019-10-31 08:26:22 -0400
commit701949b8f75e87429923b42965649ce4b06c96f6 (patch)
tree51e190b4f9f12ef6415b3ac6bc04d87ec4ef8394 /sysresccd/grub.conf
parent72298d7a4c7e0348ee3071b2413564526405437b (diff)
downloadOpTools-701949b8f75e87429923b42965649ce4b06c96f6.tar.xz
nice.
Diffstat (limited to 'sysresccd/grub.conf')
-rw-r--r--sysresccd/grub.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysresccd/grub.conf b/sysresccd/grub.conf
new file mode 100644
index 0000000..e24b3f0
--- /dev/null
+++ b/sysresccd/grub.conf
@@ -0,0 +1,12 @@
+#!/bin/sh
+exec tail -n +3 $0
+# Copy this file to /etc/grub.d/40_custom_sysresccd with mode 0755 and run grub-mkconfig -o /boot/grub/grub.cfg
+
+menuentry 'System Rescue CD' {
+ set isofile='/iso/sysresccd.iso'
+ probe -u $root --set=imgdevuuid
+ set imgdevpath="/dev/disk/by-uuid/$imgdevuuid"
+ loopback loop $isofile
+ linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
+ initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
+}