The new grub is fairly complex. How would I find instructions on adding a file (/boot/floppy.img) to the boot menu?
The new grub is fairly complex. How would I find instructions on adding a file (/boot/floppy.img) to the boot menu?
I've found this:
https://help.ubuntu.com/community/Grub2/CustomMenus
but even with that, it is unclear how to add a disk image.
By image do you mean a background image? GRUB accepts .png, .tga or 8-bit .jpg files. You can add an image to the /boot/grub folder and when you run 'update-grub' it will be added as the GRUB background.
https://help.ubuntu.com/community/Grub2/Displays#Installing_Splash_Images
New to Wayland.
Retired.
Ok. The image (ISO) has to be constructed to allow GRUB to boot it. The Ubuntu family of ISOs has been GRUB-compatible for quite a while. I don't know if FreeDos is built to allow booting by Grub2 or not.
Here is the documentation on booting an ISO via Grub2:
https://help.ubuntu.com/community/Grub2/ISOBoot
I'll look at some of the posts in my old thread on the Ubuntu Forums and see if I can find a FreeDos entry.
New to Wayland.
Retired.
New to Wayland.
Retired.
I've pieced together something that boots FreeDOS using notes from around the net. The package syslinux needs to be installed and then memdisk copied to /boot, along with the FreeDOS image which I renamed to /boot/floppy.img. Then I put the following into /etc/grub.d/41_custom used by update-grub:
I have no idea what I actually did, but it boots FreeDOS.Code:cat <<EOT menuentry "FreeDOS" { linux16 /boot/memdisk initrd16 /boot/floppy.img } EOT
Edit: The whole point of this was to be able to update the BIOS on a machine lacking floppy drive.
Last edited by Lars Noodén; August 12th, 2012 at 10:54 PM.
Thanks. Happy Ubuntu-ing and FreeDos-ing !
New to Wayland.
Retired.
Bookmarks