fastest way to use GRUB to jump to the start symbol

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ITchimp
Member
Member
Posts: 134
Joined: Sat Aug 18, 2018 8:44 pm

fastest way to use GRUB to jump to the start symbol

Post by ITchimp »

I am looking for a floppy disk image that use GRUB as bootloader and jump to a piece of code located at 0x100000... on his web page, the floppy.img is missing, where can I have it? I don't mind generating it myself, but need some help and advice


http://www.jamesmolloy.co.uk/tutorial_h ... setup.html
Octocontrabass
Member
Member
Posts: 5575
Joined: Mon Mar 25, 2013 7:01 pm

Re: fastest way to use GRUB to jump to the start symbol

Post by Octocontrabass »

Why do you want a floppy disk image? Are you really writing an OS for hardware that can't boot from CD or USB?

If you don't really need a floppy disk image, follow the instructions here to use grub-mkrescue to create a hybrid CD/USB image.
User avatar
Velko
Member
Member
Posts: 153
Joined: Fri Oct 03, 2008 4:13 am
Location: Ogre, Latvia, EU

Re: fastest way to use GRUB to jump to the start symbol

Post by Velko »

You can try instructions from OSDev Wiki, if you like. Note that process involves juggling 2 floppies without shutting down the machine. No issue, if you have physical computer with real floppy drive, but I am not sure which VMs allow that.

But I personally think that it is easier to generate an ISO image using grub-mkrescue and boot from that.
If something looks overcomplicated, most likely it is.
Post Reply