Can we specify which grub.conf to use in grub-install.

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Can we specify which grub.conf to use in grub-install.
# 1  
Old 12-19-2011
Can we specify which grub.conf to use in grub-install.

Hi,
Can we specify which grub.conf to use while installing grub on RHEL.
We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf.

Can we use grub-install for this purpose?
# 2  
Old 12-19-2011
first off, it will likely be better to use menu.lst (redhat went wonky and named theirs grub.conf but it is usually a link back to menu.lst Redhat reversed that).

Also, why not just create different entries in your grub.conf/menu.lst for each option?
# 3  
Old 12-19-2011
We are having application such that different versions of RH run on different partitions in same disk.
so we are dynamically creating grub.conf . and we want that grub.conf to be effective for next reboot. because if we modify official grub.conf after reboot some entries become invalid in our case.

So i am searching if i can specify the conf file while installing grub.
# 4  
Old 12-20-2011
No you cannot. GRUB Legacy always uses /boot/grub/menu.lst. On RHEL, grub.conf is simply a link to menu.lst.
# 5  
Old 12-20-2011
Again,

These are all things that can be done from a single menu.lst (grub.conf). Alternately, have you considered virtualizing your different versions of linux so you can run them concurrently? If not that, how about having more than one machine to do this on?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Cannot install GRUB

Hello, I cannot install grub to my ESP it seems. I have a PC with both Windows 8.1 and Debian installed and I can only boot into Windows since GRUB is not installed on my PC. I am using a Ubuntu Live USB to install GRUB on /dev/sda1 (my ESP). I am using the following commands from Ubuntu... (12 Replies)
Discussion started by: sreyan32
12 Replies

2. Red Hat

Grub.conf kernel field boot messages verbosity configuration

I am trying to understand what are the differences of boot messages verbosity levels for the kernel field in grub.conf From my research, there appear to be three levels: quiet verbose debug I have also found documents that specify removing quiet from the kernel field. If this is done, is... (1 Reply)
Discussion started by: thaebich
1 Replies

3. Red Hat

Restore grub.conf file

Hi guys, I will truly appreciate your help with this issue. If you do not have a backup copy of your grub.conf file, and for some reason the file got damaged or missing, how will you go about restoring it? Thanks for your kind assistance. (3 Replies)
Discussion started by: cjashu
3 Replies

4. UNIX for Dummies Questions & Answers

"/boot/grub/grub.conf" VS "/etc/grub.conf"

can someone please explain me the difference between these two files: "/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies

5. Boot Loaders

How to install grub on USB flash drive?

I wanna install grub on my flash drive for rescue usage. My computer installs winxp, and I have fedora12 installed in vmware. I did like this: step1: format the flash drive as FAT in winXP. step2: in fedora12, mount the flash drive on /media/flash step3: excute the command: grub-install... (10 Replies)
Discussion started by: vistastar
10 Replies

6. SCO

Install GRUB on SCO Unixware 7.1.1

Hi, I am trying to install the linux boot loader (GRUB) on a non-linux machine (Unixware 7.1.1). The thing is I want to boot the linux kernel (vmlinuz) and the linux ram disk (initrd.img) from unixware and boot the machine with it. Does anyone have a good way to do this? (10 Replies)
Discussion started by: teen_racer19
10 Replies

7. Ubuntu

How to install grub on an Empty HDD?

I wanna install grub/grub2 on my empty hard disk drive. For that I boot my machine from ubuntu 10.04 Live OS and tried to install it but failed. So what to do now ? Also I think some toolset , if I want to boot the vanilla Linux kernel (please suggest me the link for that) , So after... (8 Replies)
Discussion started by: aarsh
8 Replies

8. Red Hat

grub.conf

i have installed rhel5 quite many times....... when i see grub.conf after installation, somtimes "kernel /boot/vmlinuz-2.6.18-8.el5 ro=LABEL=/ rhgb quiet" will be there or "kernel /boot/vmlinuz-2.6.18-8.el5 ro=LABEL=/1 rhgb quiet" will be there................ what is the significance of label=/... (1 Reply)
Discussion started by: sagar_md
1 Replies

9. Linux

Grub.Conf

Hi, During the Initial startup of the Linux machine. Grub.conf has a entry to mount the root partition as read only after the initialistation of the Kernel. Is there any specific reason for this or the root partition can be made to mounted with read write options. Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

10. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem: The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies
Login or Register to Ask a Question