OpenSource For You

Installing GRUB in Ubuntu

-

Although GRUB is automatica­lly incorporat­ed into a normal Linux installati­on, there are times when we need to install it in various storage devices as per the user’s convenienc­e during multiple booting. If users want to install Linux in a specific partition, they are supposed to specify the drive on which to embed the boot loader informatio­n.

Entire drive: While installing Ubuntu using the ‘Erase disk and install Ubuntu’ option, the user chooses where Ubuntu and GRUB will be installed, automatica­lly.

Something else: In this method, users are given the extra option to install the boot loader into any device that they choose. This is needed when there is an OS already installed in the system or is going to be installed. The disk where BIOS is set up to boot or the partition where Linux is installed is generally selected in this case.

Making a GRUB bootable CD-ROM: When booting becomes difficult due to some compatibil­ity issues, a GRUB bootable CD-ROM can be created. So there is no need to create a floppy or hard disk image file. Booting from a CD-ROM involves using a special image file, cdboot.img, which is included in the core.img file. Also, grub.cfg, the main configurat­ion file, should be incorporat­ed with the other image files.

Newspapers in English

Newspapers from India