Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems that I hit following bug in Fedora 14 - I deselected installing grub into the MBR while using the graphical installer, because I want to use an existing grub instance.

Now, I want to look up the grub.conf or menu.lst in the new installed Fedora 14 system to adjust my existing grub config - but I cannot find them anywhere.

I just information about how grub-install and gruppy are not able to create a grub.conf from scratch.

Thus my question: How to generate a grub.conf from scratch in Fedora 14, if it is missing?

Update: The point is to get the set of default kernel options a grub.conf includes, when created by the Fedora installer.

I have booted the fedora installation via grub and only setting the 'ro root=' options which worked.

However, it would be great if someone could post a standard generated grub stanza from his/her Fedora 14 system to see the kernel parameter differences.

share|improve this question
up vote 2 down vote accepted

The following is the grub.conf present immediately after installation of Fedora 14 within a VirtualBox VM. During installation I used all of the default options.

# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
#          initrd /initrd-[generic-]version.img
title Fedora (
        root (hd0,0)
        kernel /vmlinuz- ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
        initrd /initramfs-
share|improve this answer
thanks a lot - btw, the manpage to dracut seems to describe some Fedora specific kernel parameters that are present in that file – maxschlepzig Nov 7 '10 at 17:49

I'm not sure if Fedora 14 uses the legacy version of GRUB (0.97) or the new version (1.xx); you can check by running grub --version on the command line. Either way the configuration file format is pretty simple; the legacy one is documented here, and the newer one here. The newer one even comes with grub-mkconfig to generate a configuration file for you

share|improve this answer
Fedora 14 uses legacy GRUB - the syntax is not the problem: I am just worried about default kernel options that a default config file from fedora might include, but I don't know anything about ... – maxschlepzig Nov 6 '10 at 20:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.