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 4ca853cae3
commit 7cd2104694
4 changed files with 17 additions and 1 deletions

View File

@ -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@

View File

@ -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

View File

@ -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@

View File

@ -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.