In Grub4Dos, many things are free, unprotected, without limitation, (rd) is one of them. (rd) is not a int13 device, but merely a grub4dos device. In grub4dos inside presence (rd) device, but after entering the DOS, there is no (rd) equipment was. (rd)+1 always represents the entire contents (rd) device, rather than the first sector. Previous Post Boot OpenBSD and NetBSD from Grub2 Next Post Methods to create a Windows installation of AIO Boot Leave a Reply Cancel reply Your email address will not be published. How to Install Grub2 on USB from Linux: In the following tutorial, I'll show you one way to easily install Grub2 to a USB Flash Drive from a running Live Ubuntu Operating Environment. I personally used an Ubuntu Live CD to perform all of the following steps.
For about a couple of years I've been using Supergrub from a USB to boot. After the first prompt, I select 'boot manually', then 'operating systems', then finally Windows or Linux - very cumbersome. I must have installed grub once before, but now its a problem:. Using grub4dos, I have just now created a USB under puppy linux live (version Fat Dog) which works OK. This shows me that my basic method is OK. I want to transfer what I did to the USB to the Master Boot Record (MBR) on the hard drive.
Currently, when I boot without any of the many boot aids I've created, it goes to grub-rescue with the message: 'Unable to find /boot/grub2/I386-pc/normal.mod', not a new thing according to the internet. Here is the nub of the problem: When I try to write the MBR using grub4dos under the live Fat Dog version, it tells me that the partition containing Windows is mounted read-only (ro). Persisting fails. I have tried 2 other puppy linuxes: Quirky and Lupu.528. All show the same behavior. With nothing previously mounted, I issue 'mount -o rw /dev/sda1 /mnt'. The resulting mount table shows sda1 mounted as ro.
Trying unmounting, then remounting does not change anything. In trying to install it using Windows, rather than Linux, the instruction is to use 'bootlace.exe'. But that program refuses to run on a 64-bit machine. But even a 32-bit compatibility fix won't work: its messages say 16-bit. Have not tried any compatibility solutions - hoping for an easier path. While there may be other strategies for getting a good grub boot onto my hard drive, I seem to understand this a bit. It seems like a catch-22, but I don't believe it.
Hundreds (or thousands) of folks have done this. There must be something I am missing or just do not know. Posting the question spurred me to search widely about running bootlace. Somehow, an answer came up regarding bootlace in the cloud. At first it looked cumbersome, like scratching your left ear with your right hand. Reading through all of it showed: 1. The solution offered worked by copying the first 63 bytes of the MBR or partition mbr to a file; 2.
Selecting the options wanted 3. The web page for bootlace in the cloud uploads the file, transforms it as bootlace would do, repackages it wuth the original 63 bytes (.backup), the new 63 bytes (.bin), and the log, all within a zip file which you get prompted to download. After unzipping the result, one must copy the resulting bytes back to the MBR. Note that, in filling out the bootlace details, if you want to do the MBR, you must leave the partition space blank.
All of this is aided by a new factor: grub4dosToolboxForWindows.exe, version 0.21 or later. Specifically, step 1 and step 4, last part, is accomplished by this software. Beyond that, the only things I needed to do was to ensure that some form of grldr, and menu.lst resided at C. To be safe, I copied both grldr and grldr.MBR to C: as well as the 2 submenus for menu.lst. I did not create these, they appeared after succeeding with the USB mentioned in the original post. A second issue which may have contributed to success: I had been using grub4dos 0.4.4, and was aware of no later version. The bootlace in the cloud page showed many more and later versions from 2009 - 12/2015.
So I upgraded to the latest version, 0.4.6. These were not found by general web searches as I would have expected. Happy grubbing!
Install Bootmgr On Usb
How to Install Grub2 on USB from Linux: In the following tutorial, I'll show you one way to easily install Grub2 to a USB Flash Drive from a running Live Ubuntu Operating Environment. I personally used an Ubuntu Live CD to perform all of the following steps. Note: This Grub2 USB Flash Drive Install tutorial assumes you will be running from an Ubuntu Live CD to create your Grub2 enabled Flash Drive. It may or may not work from another Linux operating environment. Grub2 USB Install From Ubuntu Live CD Essentials:.
Ubuntu Live CD -. A PC that can boot from USB/CD. 1GB or larger USB Flash Drive. No Fear of the Terminal Grub2 USB Flash Drive Install using the Ubuntu Live CD: Before proceeding, take note: Old versions of grub used -root-directory=/mnt/USB while current versions use -boot-directory=/mnt/USB/boot If you do use the wrong syntax, you will receive an error stating ' Installation is impossible. Aborting'.
Boot from your Live Ubuntu Linux CD. Once booted, insert your USB Flash Drive. Open a terminal and type sudo su. Type fdisk -l (and note which device is your USB).
Type mkdir /mnt/USB && mount /dev/sd x1 /mnt/USB (replacing x with your actual usb device). Type grub-install -force -removable -boot-directory=/mnt/USB/boot /dev/sd x (replacing x with your actual USB device). Type cd /mnt/USB/boot/grub. Type wget pendrivelinux.com/downloads/grub.cfg.
How To Use Grub4dos
Type df (and locate where cdrom is mounted I.E. /dev/sr0). Type dd if=/dev/ sr0 of=/mnt/USB/ubuntu.iso (replacing sr0 with the device found in step 9). Remove your Live CD and reboot your PC, setting your BIOS or Boot Menu to boot from the USB device.
If all goes well, you should now be booting into your Grub2 prepared USB Flash Drive, with a Grub2 Boot Menu option to Boot from the Ubuntu ISO you copied to your USB in step 10.