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 > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 03-20-2012, 05:55 PM
Cleber Rosa
 
Default Fix grub detection on SuSE systems: config file order

SuSE sytems ship with a /etc/grub.conf that is not your regular grub
configuration file, but instead a sequence of grub commands. Example:

setup --stage2=/boot/grub/stage2 --force-lba (hd0,1) (hd0,1)
quit

Because of that, the parsing of the config fails. So, try to first
use the grub config file at /boot/grub/menu.lst.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
grubby.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/grubby.c b/grubby.c
index cd57b4f..b9da724 100644
--- a/grubby.c
+++ b/grubby.c
@@ -164,8 +164,8 @@ struct keywordTypes grubKeywords[] = {

const char *grubFindConfig(struct configFileInfo *cfi) {
static const char *configFiles[] = {
- "/etc/grub.conf",
"/boot/grub/menu.lst",
+ "/etc/grub.conf",
NULL
};
static int i = -1;
--
1.7.6.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-27-2012, 12:13 PM
Cleber Rosa
 
Default Fix grub detection on SuSE systems: config file order

SuSE sytems ship with a /etc/grub.conf that is not your regular grub
configuration file, but instead a sequence of grub commands. Example:

setup --stage2=/boot/grub/stage2 --force-lba (hd0,1) (hd0,1)
quit

Because of that, the parsing of the config fails. So, try to first
use the grub config file at /boot/grub/menu.lst.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
grubby.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/grubby.c b/grubby.c
index c1c4545..9812ad2 100644
--- a/grubby.c
+++ b/grubby.c
@@ -164,8 +164,8 @@ struct keywordTypes grubKeywords[] = {

const char *grubFindConfig(struct configFileInfo *cfi) {
static const char *configFiles[] = {
- "/etc/grub.conf",
"/boot/grub/menu.lst",
+ "/etc/grub.conf",
NULL
};
static int i = -1;
--
1.7.6.5

_______________________________________________
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 09:26 AM.

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