From 5ca1aa089e8ed070425e6d82fd9fea513a25d89e Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 13 Apr 2012 16:58:16 -0700 Subject: [PATCH] add media check menu option Add an option to check the media --- share/config_files/live/x86/grub.conf | 6 +++++- share/config_files/live/x86/isolinux.cfg | 4 ++++ share/config_files/x86/grub.conf | 4 ++++ share/config_files/x86/isolinux.cfg | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/share/config_files/live/x86/grub.conf b/share/config_files/live/x86/grub.conf index c8504ee6..3547540d 100644 --- a/share/config_files/live/x86/grub.conf +++ b/share/config_files/live/x86/grub.conf @@ -5,5 +5,9 @@ timeout 5 hiddenmenu title @PRODUCT@ @VERSION@ findiso - kernel @KERNELPATH@ @ROOT@ rd.luks=0 rd.md=0 rd.dm=0 + kernel @KERNELPATH@ @ROOT@ liveimg rd.luks=0 rd.md=0 rd.dm=0 + initrd @INITRDPATH@ +title Test this media & start @PRODUCT@ + findiso + kernel @KERNELPATH@ @ROOT@ quiet liveimg rd.live.check rd.luks=0 rd.md=0 rd.dm=0 initrd @INITRDPATH@ diff --git a/share/config_files/live/x86/isolinux.cfg b/share/config_files/live/x86/isolinux.cfg index 5278a8b1..9a05a9e8 100644 --- a/share/config_files/live/x86/isolinux.cfg +++ b/share/config_files/live/x86/isolinux.cfg @@ -74,6 +74,10 @@ label vesa endtext kernel vmlinuz append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet liveimg rd.luks=0 rd.md=0 rd.dm=0 +label check + menu label ^Test this media & start @PRODUCT@ + kernel vmlinuz + append initrd=initrd.img @ROOT@ quiet liveimg rd.live.check rd.luks=0 rd.md=0 rd.dm=0 label memtest menu label Run a ^memory test. text help diff --git a/share/config_files/x86/grub.conf b/share/config_files/x86/grub.conf index c5802c76..d1ce3bef 100644 --- a/share/config_files/x86/grub.conf +++ b/share/config_files/x86/grub.conf @@ -7,3 +7,7 @@ title @PRODUCT@ @VERSION@ findiso kernel @KERNELPATH@ @ROOT@ initrd @INITRDPATH@ +title Test this media & start @PRODUCT@ + findiso + kernel @KERNELPATH@ @ROOT@ quiet rd.live.check + initrd @INITRDPATH@ diff --git a/share/config_files/x86/isolinux.cfg b/share/config_files/x86/isolinux.cfg index 0a8d7b65..aeb17e4b 100644 --- a/share/config_files/x86/isolinux.cfg +++ b/share/config_files/x86/isolinux.cfg @@ -74,6 +74,10 @@ label vesa endtext kernel vmlinuz append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet +label check + menu label ^Test this media & start @PRODUCT@ + kernel vmlinuz + append initrd=initrd.img @ROOT@ quiet rd.live.check label rescue menu indent count 5 menu label ^Rescue a @PRODUCT@ system.