HomePage > Components and HowTos > Booting > Boot Loaders

GRUB4DOS


GRUB4DOS
GRUB4DOS is a bootloader that can be installed by a linux operating system or a Windows operating system and dos and also other OSes.
It has compatibility with Grub but it can also be installed on non-linux NTFS/FAT filesystems which are more common on Windows preinstalled PC's.
GRUBforDOS supports vfat, ntfs, ext2, ext3, ext4, reiserfs(grub4dosconfig-version 1.7 and later), but the reiserfs support has some limitation.

Install grub4dos from Windows(requires USB stick)
Instructions for installation on windows

Install frugal from Windows XP
How to boot puppy from windows XP with grub4dos

Configure menu.lst from Puppy OS
Shinobar's Instructions for installation

User Tips
Install grub4dos menu.lst from a Puppy CD

Using
Grub4DosConfig is built into many Puppy version. It is an easy to use GUI for Grub4Dos simply go to-
PuppyMenu > System > Grub4Dos bootloader config

Alternatively download and install


Downloads

Installation
On a Installation Frugal use bootlace-
BOOTLACE writes GRLDR BOOT RECORD to MBR or to the boot area of a file system.
Usage:  bootlace.com  [OPTIONS]  DEVICE_OR_FILE
Options: --read-only, --floppy[=N], --boot-prevmbr-first, --boot-prevmbr-last,
--no-backup-mbr, --force-backup-mbr, --mbr-enable-floppy, --mbr-disable-floppy,
--mbr-enable-osbr, --mbr-disable-osbr, --duce, --time-out=T, --hot-key=K, 
--preferred-drive=D, --preferred-partition=P, --sectors-per-track=S, --heads=H,
--start-sector=B, --total-sectors=C, --install-partition=I, --lba, --chs,
--fat12, --fat16, --fat32, --vfat, --ntfs, --ext2, --serial-number=SN,
--restore-mbr, --mbr-no-bpb, --chs-no-tune
DEVICE_OR_FILE: Filename of the device or image. For DOS, a BIOS drive number
(in hex 0xHH or decimal DDD format)can be used to access the drive.



Example menu.1st file
Sample menu.lst for U.S.B. flash memory drive:
color white/blue blue/yellow white/black yellow/black
#color white/blue black/cyan white/black cyan/black
timeout 3
default 0
fallback 1

title Puppy
  find --set-root --ignore-floppies /pup/initrd.gz
  kernel /pup/vmlinuz pmedia=usbflash pdev1=sda1 psubdir=pup pfix=fsck,copy
  initrd /pup/initrd.gz

title Puppy [Safe Mode]
  find --set-root --ignore-floppies /pup/initrd.gz
  kernel /pup/vmlinuz pmedia=usbflash pdev1=sda1 psubdir=pup pfix=fsck,nox,ram
  initrd /pup/initrd.gz

title Windows Vista/2008/7
  map (hd1) (hd0)
  map (hd0) (hd1)
  map --hook
  rootnoverify (hd0,1)
  chainloader /bootmgr

title Windows NT/2000/XP
  map (hd1) (hd0)
  map (hd0) (hd1)
  map --hook
  rootnoverify (hd0,1)
  chainloader /ntldr

title Windows 9x/Me
  map (hd1) (hd0)
  map (hd0) (hd1)
  map --hook
  rootnoverify (hd0,1)
  chainloader /io.sys

title Find Grub menu on HDD
  map (hd1) (hd0)
  map (hd0) (hd1)
  map --hook
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
  find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
  find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
  errorcheck on
  commandline

title Grub4Dos command-line interface\n(for experts only)
  commandline

title Restart System
  reboot

title Shutdown System
  halt


Also on the Wiki




Categories
CategorySoftware
CategoryInstallation
Comments [Hide comments]
Comment by darkcity
2012-12-01 07:59:35
nice work, maybe Grub4dos and GrubforDos pages could be merged or differentiated.

in wikka you use the redirect command
{{redirect target="ActualPage"}}

; -)
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki