Grub4dos Guide - Loading/Installing Grub4dos From Linux


Load via SysLinux

To load via Syslinux you will first need to install Syslinux to a bootable device (version 3.70 tested). Copy C:\Grub4dos\GRUB.EXE to the syslinux folder on the drive containing your Syslinux files and add an entry to the Syslinux configuration file syslinux.cfg. e.g. –

LABEL grud4dos
MENU LABEL Grub4dos
KERNEL grub.exe

Alternatively copy C:\Grub4dos\GRUB.EXE to the root of the drive containing your Syslinux files and add following entry to syslinux.cfg

LABEL grud4dos
MENU LABEL Grub4dos
KERNEL /grub.exe

Note the use of kernel /grub.exe.

Load Via (Legacy) Grub

Linux users with (Legacy) GRUB already installed can use it to boot Grub4dos. Identify the partition containing the GRUB boot files/folder (e.g. (hd0,0)/boot/grub). Copy grub.exe to the GRUB boot folder. Now add the following entry to your /boot/grub/menu.lst file.

title Grub4dos
root (hd0,0)
kernel /boot/grub/grub.exe

Change the root (hd0,0) command to reflect your own setup.

Load From Linux (kexec)

Following was tested using ubuntu Linux (version 8.04 (Hardy Heron)) - kexec package was installed using terminal command sudo apt-get install kexec-tools -

sudo kexec -l grub.exe
sudo kexec -e

Installing Grub4dos Code to the MBR

To install Grub4dos code to the MBR use bootlace.com. Using Puppy Linux version 4.0, (hd0) was identified as /dev/sda - Grub4dos was installed using the command /mnt/sdb1/bootlace.com /dev/sda. Output from running this command in a terminal -

# /mnt/sdb1/bootlace.com /dev/sda

Disk geometry calculated according to the partition table:
   Sectors per track=63, Number of heads=255

Success.

Installing Grub4dos Code to the Partition Boot Sector

The following instructions have been copied from README_GRUB4DOS.txt -

To install Grub4dos code to (hd0,1) which is an NTFS formatted partition and is device /dev/sda2 (in Puppy Linux version 4.0) -