How to boot - how to set up booting for more than one Operating System…
During installation there are options for how you want to boot your system. LILO or GRUB are usually offered as boot managers. You may be offered the possibility of making a boot floppy, although now that floppy drives are not necessarily a part of a computer's hardware, some distros do not offer this during the installation. A boot floppy used to be the standard way of booting during an emergency when one could not boot from the hard drive. Since modern computers can boot from CDROM, emergency booting can be done from the installation CD when no floppy drive is available.
There's a great description of the boot process for Linux called “The Linux Booting Process Unveiled” at http://www.pycs.net/lateral/stories/23.html - (not including Slackware which does it the BSD way). Also see From-PowerUp-To-Bash-Prompt-HOWTO at The Linux Documentation Project.
If this is your first install of Linux, you may be wanting to keep Windows installed on your computer and make a dual boot system with the option to boot either Windows or Linux. This page deals primarily with that scenario, although these boot managers are normally used for booting when Linux alone is installed.
Note: What follows is rather detailed material on the various ways you can multi boot. Practically speaking, you will probably not need to be concerned about this when you install Linux. Installers will find other operating systems on your computer and create what is required to boot them. The installer will probably make the version of Linux that you are installing the default OS to boot, but you will have some sort of menu to select a different OS.
Boot Windows by default. Use floppy disk to boot into Linux.
Loadlin is a simple DOS based utility that loads the Linux kernel into memory from DOS. The Linux kernel and loadlin.exe are placed in a small directory under Windows. A couple of edits are made to config.sys and autoexec.bat in Windows and a small script is written to start Loadlin. You can find loadlin.exe and instructions on your install CDROM. Loadlin works with versions of Windows through Windows 98, but may not work with Windows XP installed, as it usually is, on NTFS.
Install a boot manager which will give you the choice to boot either Windows or Linux. Two of these commonly found in Linux distributions are LILO and GRUB
boot=/dev/hda
vga=normal
prompt
timeout=100
image=/boot/vmlinuz-2.4.20
label=Linux
read-only
root=/dev/hdb2
other=/dev/hda1
label=windows
table=/dev/hda
/sbin/lilo -u # grub-install /dev/fd0 # update-grub update-grub found the partitions correctly.default 0
title Debian GNU/Linux, kernel 2.4.20
root (hd0,0)
kernel /vmlinuz-2.4.20 root=/dev/hdb2 ro
savedefault
boot
title Debian GNU/Linux, kernel 2.2.20-idepci
root (hd0,0)
kernel /vmlinuz-2.2.20-idepci root=/dev/hda3 ro
savedefault
boot
title Windows 95/98/NT/2000
root (hd0,0)
makeactive
chainloader +1
update-grub. update-grub initially had put (hd1,1) in menu.lst which was wrong. /boot was actually on /dev/hda1 or (hd0,0) You will need to make sure it is correct for your system.mount -t ext2 /dev/fd0 /mnt
cd /boot/grub
cp menu.lst /mnt
umount /mnt
Sometimes you have a broken boot and need to use GRUB from its command line to boot. You may have a GRUB boot floppy or GRUB installed in the MBR. You can investigate the system and boot using GRUB. See GRUB Command Line.
GRUB is a powerful bootloader, which has advanced features. Many people trying to install or repair GRUB, or boot with a new kernel, run into booting problem, which could be alleviated would they know about hiding partitions, using fallback, or how reinstall/repair the bootloader.
It is also generally believed that GRUB does not allow you to choose your next booted OS before reboot (as LILO does). But in fact, it can be done.