Linuxconf Grubconf Module Gustavo Niemeyer This dialog allows you to edit a Grub menu entry. Many of the options in this dialog can be left blank, depending on the operating system you want to configure a menu entry. After explaining every option function, there's a list of common options to boot different operating systems that may help you find the right settings for your system. 11.. OOppttiioonnss 11..11.. TTiittllee This is the menu entry title. The text you provide here will be presented in the boot menu. 11..22.. RRoooott ooppttiioonnss With the root options you can set where Grub will find a kernel or boot file to load. 11..22..11.. RRoooott mmeeddiiaa ttyyppee With this option you can choose if this menu entry will boot from a hard disk or from a floppy disk. You can also choose to not include a root option at all. 11..22..22.. RRoooott HHDD//FFDD nnuummbbeerr This option allows you to select on what hard disk or floppy disk the boot files are located in. 11..22..33.. RRoooott ppaarrttiittiioonn nnuummbbeerr This option allows you to select on what partition the boot files are located in. 11..22..44.. RRoooott FFrreeeeBBSSDD ppaarrttiittiioonn If you want to add an entry for the FreeBSD operating system, you may want to provide the FreeBSD partition your boot files are located in. 11..22..55.. VVeerriiffyy rroooott If the partition where your boot files are in is outside of the area where grub can read, disable this option. 11..33.. KKeerrnneell ooppttiioonnss These options allow you to configure the kernel to load and its options, if the system you want to boot allows you to. Note that the paths you specify here is relative to the root partition you provided trough the root options, and not to the root partition of your operating system (yes, maybe both are the same). 11..33..11.. KKeerrnneell ffiillee Here you must specify the kernel file. Note that the path you must specify here is relative to the root partition you provided trough the root options, and not to the root partition of your operating system (yes, maybe both are the same). 11..33..22.. KKeerrnneell ppaarraammeetteerrss This option allows you to specify parameters to the kernel this menu option will load. For systems like Linux, you'll probably need a "root" option here. 11..33..33.. KKeerrnneell mmoodduullee Here you can specify a module for the kernel to load. This is useful for operating systems like GNU/Hurd and Mach. 11..33..44.. IInniittiiaall rraammddiisskk ffiillee This option allows you to specify an initial ramdisk file, usually refered to as initrd. 11..33..55.. NNeettBBSSDD EELLFF kkeerrnneell If the kernel you've specified is a NetBSD ELF kernel, you must turn on this option. 11..44.. OOtthheerr ooppttiioonnss 11..44..11.. CChhaaiinnllooaadd This option allows you to chain-load a specified file or the specified partition's first sector. 11..44..22.. CChhaaiinnllooaadd ffiillee If you've specified to chain-load a file in the above option, specify its path here. 11..44..33.. MMaakkee ppaarrttiittiioonn aaccttiivvee This option allows you to make the partition active before chain- loading it. It's useful in operating systems that require an active partition to boot. 22.. CCoonnffiigguurraattiioonn eexxaammpplleess 22..11.. GGNNUU//LLiinnuuxx To setup a linux entry just setup a root partition correctly and provide the kernel location and parameters. +o Root media type: Hard disk +o Root HD/FD number: 0 +o Root partition number: 0 +o Verify root: yes +o Kernel file: /boot/vmlinuz +o Kernel parameters: root=/dev/hda1 vga=ask 22..22.. GGNNUU//HHuurrdd,, MMaacchh With the kernel of these operating systems, you can provide a module to be load. Here is an example for loading a Mach kernel: +o Root media type: Hard disk +o Root HD/FD number: 0 +o Root partition number: 0 +o Verify root: yes +o Kernel file: /boot/kernel +o Kernel parameters: root=/dev/hda3 +o Kernel module: /boot/bootstrap 22..33.. FFrreeeeBBSSDD When booting FreeBSD, you can provide a FreeBSD partition: +o Root media type: Hard disk +o Root HD/FD number: 0 +o Root partition number: 0 +o Root FreeBSD partition: a +o Verify root: yes +o Kernel file: /boot/loader 22..44.. DDOOSS,, WWiinnddoowwss,, WWiinnddoowwss NNTT,, OOSS22 DOS and Windows doesn't have a kernel loadable by grub. Instead, they have its own kernel loaders. To boot such a system, you must load their kernel loaders. You can do this by chain-loading the partition first sector, or by providing a file to chain-load. Here is a usual DOS/Windows configuration: +o Root media type: Hard disk +o Root HD/FD number: 0 +o Root partition number: 0 +o Verify root: no +o Chainload: First sector If you want to boot DOS and have Windows NT installed in your computer, you'll need to chainload a file: +o Root media type: Hard disk +o Root HD/FD number: 0 +o Root partition number: 0 +o Verify root: no +o Chainload: File +o Chainload file: /bootsect.dos