Wiki source for GRUB4DOS


Show raw source

[[HomePage]] > [[ComponentHowTo Components and HowTos]] > [[BootIndex Booting]] / [[InstallationIndex Install]] > [[Bootloaders Boot Loaders]]
{{include pagesGRUB}}

====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)==
[[http://www.themudcrab.com/acronis_grub4dos.php Instructions for installation on windows]]

==Install frugal from Windows XP==
[[http://www.murga-linux.com/puppy/viewtopic.php?t=75257 How to boot puppy from windows XP with grub4dos]]

==Configure menu.lst from Puppy OS==
[[http://shino.pos.to/linux/puppy/grub4dosconfig.html Shinobar's Instructions for installation]]

==User Tips==
[[http://murga-linux.com/puppy/viewtopic.php?p=670525#670525 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==
~http://download.gna.org/grub4dos/
~http://sourceforge.net/projects/grub4dos/
~http://code.google.com/p/grub4dos-chenall/downloads/list
~[[http://shino.pos.to/linux/puppy/ grub4dos-0.4.4.v1.7.2.pet GUI frontend by Shino]]

==Installation==
~On a [[InstallationFrugal 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==
~[[BootLoaders]]

==Related Webpages==
~[[http://www.themudcrab.com/acronis_grub4dos.php Install grub4dos from Windows]]
~[[http://grub4dos.sourceforge.net/wiki/index.php/Main_Page GRUBfoDOS project page]]
~[[http://diddy.boot-land.net/grub4dos/Grub4dos.htm Grub4dos Guide]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=51697 Grub4DosConfig thread]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?p=519322#519322 Use grub4dos and retain the Windows bootloader post]]
~[[http://murga-linux.com/puppy/viewtopic.php?p=453674#453674 Grub4Dos with XP post]]
~[[http://murga-linux.com/puppy/viewtopic.php?p=445124#445124 Portability of customized Lupq post]]


----
==Categories==
CategorySoftware
CategoryInstallation
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki