FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 04-14-2012, 12:21 AM
"Brian C. Lane"
 
Default add media check menu option

From: "Brian C. Lane" <bcl@redhat.com>

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-18-2012, 02:53 PM
Chris Lumens
 
Default add media check menu option

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

Do you also want to remove these rd.*=0 args like the previous patch
did?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-18-2012, 04:59 PM
"Brian C. Lane"
 
Default add media check menu option

On Wed, Apr 18, 2012 at 10:53:31AM -0400, Chris Lumens wrote:
> > 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@
>
> Do you also want to remove these rd.*=0 args like the previous patch
> did?

No, this one is for livemedia so it still needs them to be set.

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org