Guides

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.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Guides

Post by Love4Boobies »

cotton509 wrote:Also could i fit it into the mbr?
He said it was a 2nd stage boot loader, so NO.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
ru2aqare
Member
Member
Posts: 342
Joined: Fri Jul 11, 2008 5:15 am
Location: Hungary

Re: Guides

Post by ru2aqare »

cotton509 wrote:Oh ok. Could i use your boot loader after editing it to load the file that needs to be loaded? Also could i fit it into the mbr?
No. The point of a two-stage loader is that you have the first stage - which can fit into one or two sectors - that loads the second stage, which in turn loads your kernel/operating system/whatever. Furthermore, you can't possibly fit that into the MBR, as the master boot record is for other purposes, it contains the partition table for hard disk drives...

If you can't come up with a simple bootloader yourself, or you can't follow the tutorials and write one yourself, there is no point in me giving you a reasonable bootloader (which at the moment handles PE files by the way, so you would need to modify it yourself, which may be harder to do than writing a loader from scratch).
Locked