add media check menu option

Add an option to check the media
This commit is contained in:
Brian C. Lane 2012-04-13 16:58:16 -07:00
parent 371e59d27f
commit 5ca1aa089e
4 changed files with 17 additions and 1 deletions

View File

@ -5,5 +5,9 @@ timeout 5
hiddenmenu hiddenmenu
title @PRODUCT@ @VERSION@ title @PRODUCT@ @VERSION@
findiso 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@ initrd @INITRDPATH@

View File

@ -74,6 +74,10 @@ label vesa
endtext endtext
kernel vmlinuz kernel vmlinuz
append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet liveimg rd.luks=0 rd.md=0 rd.dm=0 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 label memtest
menu label Run a ^memory test. menu label Run a ^memory test.
text help text help

View File

@ -7,3 +7,7 @@ title @PRODUCT@ @VERSION@
findiso findiso
kernel @KERNELPATH@ @ROOT@ kernel @KERNELPATH@ @ROOT@
initrd @INITRDPATH@ initrd @INITRDPATH@
title Test this media & start @PRODUCT@
findiso
kernel @KERNELPATH@ @ROOT@ quiet rd.live.check
initrd @INITRDPATH@

View File

@ -74,6 +74,10 @@ label vesa
endtext endtext
kernel vmlinuz kernel vmlinuz
append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet 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 label rescue
menu indent count 5 menu indent count 5
menu label ^Rescue a @PRODUCT@ system. menu label ^Rescue a @PRODUCT@ system.