[LORAX 2/2] add media check menu option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Brian C. Lane" <bcl@xxxxxxxxxx>

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 deletions(-)

diff --git a/share/config_files/live/x86/grub.conf b/share/config_files/live/x86/grub.conf
index c8504ee..3547540 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 5278a8b..9a05a9e 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 c5802c7..d1ce3be 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 0a8d7b6..aeb17e4 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.
-- 
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux