29.2. Editing the GRUB Configuration


The GRUB boot loader uses the configuration file /boot/grub/grub.conf. To configure GRUB to boot from the new files, add a boot stanza to /boot/grub/grub.conf that refers to them.
A minimal boot stanza looks like the following listing:
title Installation
        root (hd0,0)
        kernel /vmlinuz-install
        initrd /initrd.img-install
You may wish to add options to the end of the kernel line of the boot stanza. These options set preliminary options in Anaconda which the user normally sets interactively. For a list of available installer boot options, refer to Chapter 28, Boot Options.
The following options are generally useful for medialess installations:
  • ip=
  • repo=
  • lang=
  • keymap=
  • ksdevice= (if installation requires an interface other than eth0)
  • vnc and vncpassword= for a remote installation
When you are finished, change the default option in /boot/grub/grub.conf to point to the new first stanza you added:
default 0
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.