Specifies the kernel version to be booted as a path relative to the root of the boot partition, together with any kernel boot parameters. Specifies the initramfs file as a path relative to the root of the boot partition. The kernel uses this file to create the initial root file system that it mounts before the real root file system.
After the newly-loaded kernel has complete access to the real root file system, it switches over to using it. You would not usually need to change or modify an initramfs file unless you build a kernel to support a new device driver module.
The name initrd is a legacy of when the initial root file system was provided as a file system image. The initramfs file is actually a cpio archive.
In this example, the default kernel is the Unbreakable Enterprise Kernel 3. As this system has a separate boot partition, the paths of the kernel and initrd files are given relative to the root of that partition. Legal Notices. JavaScript is disabled on your browser. Consult Section 9. Configuration File Directives. The following are directives commonly used in the GRUB menu configuration file:. For example:. Multiple options can be passed to the kernel when it is loaded.
Quick Links. Search Forums. Show Threads. Show Posts. Registered User. Join Date: Sep Please post the contents of both files and we can easily tell you the difference.
Find all posts by Neo. Join Date: Nov What does Code :. Join Date: Dec In this case the real configuration file is menu. Originally Posted by Neo. HTML Code:. Originally Posted by Scrutinizer. Originally Posted by fpmurphy. Code :. Last edited by Scrutinizer; at AM.. Reason: code tags. You can have as many grub configuration files as you like.
0コメント