From Grub4Dos Wiki
- Grub4dos 64 Bit Windows 10
- Grub4dos Windows 7 64 Bit
- 64-bit Download Windows 10
- Grub4dos Installer 1.1 64 Bit
- Grub4dos 64 Bit Download
- Grub4dos 64 Bit Download
Parted Magic 64 bit - posted in Grub4dos: I had Parted Magic 6.3 working on my 32 bit computer (launching it from g4d bootable usb). Recently got a 64 bit computer and couldnt get Parted Magic to run. I downloaded the latest copy of PMagic (20130228). The old pmagic (6.3) had the following directory structure (which was in the root of my boot stick): pmagic pmagic PMODULES pmagic. It addresses diskboot.img by a 64-bit LBA address, thus it can load from above the 2 GiB limit of the MBR. The actual sector number is written by grub-install. 2nd stage: diskboot.img is the first sector of core.img (called stage 1.5 in Grub Legacy) with the sole purpose to load the rest of core.img identified by LBA sector numbers also.
|
Introduction
What is GRUB for DOS
GRUB for DOS is an universal boot loader based on GNU GRUB. It can boot off DOS/LINUX, or via Windows boot manager/syslinux/lilo, or from MBR/CD. It also has builtin BIOS disk emulation, ATAPI CDROM driver, etc.
Difference between GRUB for DOS and GNU GRUB
First of all, GRUB for DOS has a flexible boot loader. Unlike GNU GRUB which relies on three stages of files to boot, GRUB for DOS uses a much better solution. The main function of GRUB is placed in a single file grldr, while the boot loader is placed in another file grldr.mbr, which can be installed to MBR or partition boot sector. At startup, boot code in grldr.mbr will dynamically scan the root directory of every local partition for grldr, and load the first one found. Using this scheme, the location of boot file is no longer fixed, users can move it across partition boundary without causing booting problems.
Secondly, GRUB for DOS can be loaded in multiple ways. GRUB for DOS runtime image comes in two forms. One is grldr, which can be loaded by MBR/partition boot sector and the Windows NT/2000/XP/2003/Vista boot manager. It can also act as the eltorito boot file for bootable CDROM. The other is grub.exe, which is a hybrid executable that can be launched from linux console and DOS prompt.
Thirdly, GRUB for DOS extends the function of GNU GRUB. The most significant enhancement is the map command. In GRUB for DOS, the map command can be used to create virtual harddisks and floppies from image files. These virtual devices can be accessed even after DOS starts.
There are other useful features of GRUB for DOS which are not present in GNU GRUB, such as ATAPI CDROM driver, Chinese support, and so on.
Installation
There are many ways to install GRUB for DOS. Some of them require modifying MBR or partition boot sector, while others require changing system startup configuration files.
Install GRUB for DOS boot code to MBR
You can use bootlace.com or grubinst.exe to install GRUB for DOS boot code to MBR:
bootlace.com can be used in DOS, Windows 95/98/Me and Linux. Examples:
Install GRUB for DOS boot code to the MBR of first hard drive under DOS, Windows 95/98/Me:
Install GRUB for DOS boot code to the MBR of IDE channel 0, primary drive under Linux:
Install GRUB for DOS boot code to the MBR of hard drive image file aa.dsk:
grubinst.exe can be used in Linux, FreeBSD and Windows NT family OSs (Windows NT/2000/XP/2003/Vista). Examples:
Install GRUB for DOS boot code to the MBR of first hard drive under Windows NT family OSs:
Install GRUB for DOS boot code to the MBR of IDE channel 0, primary drive under Linux/FreeBSD:
You can also use device names:
Install GRUB for DOS boot code to the MBR of hard drive image file aa.dsk:
There are many options you can use with bootlace and grubinst, use the -h option to display help message.
After installing the boot code, you need to copy grldr and menu.lst to the root directory of any FAT16/FAT32/NTFS/EXT2 partition.
Install GRUB for DOS boot code to partition boot sector
You can use grubinst to install GRUB for DOS boot code to partition boot sector. Examples:
Install GRUB for DOS boot code to the first primary partition of the first hard drive:
or
or
Install GRUB for DOS boot code to the first primary partition of the hard drive image file aa.dsk:
or
Just as in GRUB, extended partition starts with (hd0,4).
After installing the boot code, you need to copy grldr and menu.lst to the partition which you install the boot code on.
Starting GRUB for DOS from DOS
You can use load GRUB for DOS in config.sys using one of the following lines:
grub.exe can also be launched from DOS prompt or batch file such as AUTOEXEC.BAT.
Starting GRUB for DOS from Linux
First, you need to apply the kexec patch to the Linux kernel.
Then, you can use the following commands to launch GRUB for DOS from linux:
Booting GRUB for DOS via the Windows NT/2000/XP/2003 boot manager
Add the following line at the end of boot.ini (this file is hidden):
Then copy grldr to C:, and create the GRUB4DOS configuration file at C:menu.lst.
Next time you start windows, there is a new option 'Start GRUB4DOS' which can be used to start GRUB for DOS.
Booting GRUB for DOS via the Windows Vista boot manager
Use bcdedit to configure the startup menu:
Then copy grldr.mbr to C:, grldr and menu.lst to the root directory of any FAT16/FAT32/NTFS/EXT2 partition.
Note: previous version of grldr.mbr can also be used in boot.ini of Windows NT/2000/XP/2003. But it doesn't work anymore with the latest version.
Loading GRUB for DOS using other boot loader
grub.exe can be loaded as a linux kernel.
Load GRUB for DOS using GRUB or another copy of GRUB for DOS, add the following section to menu.lst:
Load GRUB for DOS using syslinux, add the following section to syslinux.cfg:
Booting DOS/Windows 9X/Windows NT startup files
In GRUB for DOS, you can load the DOS/Windows 9X/Windows NT startup files directly.
DOS, Windows 95/98/Me:
Windows NT/2000/XP/2003:
Windows Vista:
Disk emulation
In GRUB for DOS, disk emulation is implemented using the 'map' command.
Direct mapping
Here is an example of mapping a image file as virtual floppy, and boot from it:
map --hook is used to make the mapping created by first map command take effect immediately.
Here is an example of booting from the virtual hard disk:
Map the image file as virtual hard disk, but boot from the original disk:
CDROM emulation is not implemented.
In direct mapping, the image file must be contiguous.
The virtual disk is implemented using INT 13. Therefore, it can be accessed in system that still uses INT 13, such as all kinds of DOS and Windows 9X (compatible mode disk access), and it can't be accessed in system that usesprotected mode drivers, such as Linux, FreeBSD and Windows NT family OSs.
Indirect mapping
Indirect mapping is very similar to direct mapping, here is an example:
The --mem option indicates indirect mapping.
In indirect mapping, the image file is copy to memory before the mapping is applies, therefore, the image file need not to be contiguous, however, you must have enough memory to hole the image file.
Auto MBR creation
To create virtual hard disk, you need an image file that resemble a real hard disk, which consist of MBR and partition data. If the image file only contains partition data, you need to patch it with MBR to create disk image. GRUB for DOS has taken this into consideration. When mapping disk image file, it will test the presence of MBR, if not found, it will create MBR automatically using the partition data. For example:
aa.dsk can be either disk image or partition image, in the later case, GRUB for DOS will create the MBR in the air.
Grub4dos 64 Bit Windows 10
memdisk
The indirect mapping of GRUB for DOS is similar to the function of external tool memdisk from syslinux. In fact, the following two menu entries do roughly the same thing:
However, memdisk does not support direct mapping or auto MBR creation.
CDROM related subjects
Grub4dos Windows 7 64 Bit
Using ATAPI CDROM in GRUB for DOS
Use the following command to initialize ATAPI CDROM:
Then, use the following command to start using ATATPI CDROM:
After cdrom --hook, the CDROM device can be accessed using (cd0), (cd1), etc.
To boot from the first CDROM, use the following commands:
To stop using CDROM:
The first command removes the (cdN) device mapping, while the second one stops the CDROM driver.
Note: If you boot GRUB for DOS from CDROM, the booting device will be (cd). This device is always accessible. However, if you want to access file from other CDROMs, you still need to initialize them using the above commands.
Examples:
64-bit Download Windows 10
To boot from the first CDROM:
Grub4dos Installer 1.1 64 Bit
Create a bootable CDROM
In GRUB for DOS, you can use grldr to create bootable CDROM:
grldr and menu.lst should be placed at the root directory of CDROM image.
The above two commands can both create a bootable CDROM, but they are not totally the same.
The first one tells BIOS to load the whole grldr. However, some buggy BIOS might ignore it and load only a portion of the file, typically one sector (2048 bytes). This will cause the program to fail.
The second one tells BIOS to load only the first sector (2048 bytes), and the program loads the rest from CDROM. This method is safer, it should work for most BIOS.
Note: you can optionally use the -boot-info-table option, but the info table will be ignored by the program.
Load GRUB for DOS from BCDW
Grub4dos 64 Bit Download
To load GRUB for DOS from BCDW, first copy grldr and menu.lst to the root directory of CDROM image, then add a new line to the [MenuItems] section of BCDW configuration file bcdw.ini:
Grub4dos 64 Bit Download
I started playing with the grub built in to BCDEasy, which is grub4dos. I had the usual issues with the script not working OK, so I did some searching.
I found a LOT of threads in lots of forums about how Win 7 breaks grub4dos, especially if you install to the MBR, and how grub4dos only works with 32 bit versions of Win 7.
[H] is my trusted, go-to forum, I trust you guys to know the real scoop.
As much as I like open source, etc, at some point, I'd rather pay for a commercial multi-boot manager that also hides logical partitions, boots Windows off any drive, and doesn't trash entire partitions in my system. (That last point rules out the multi-boot tools in Acronis Disk Drive Suite ! )