Help with bootloader
Help with bootloader
I'm using a loopback device to try and test my operating system, but my bootloader will not load my operating system. I think the reason is because when I write my bootloader to it, it wipes out the filesystem.
- jerryleecooper
- Member
- Posts: 233
- Joined: Mon Aug 06, 2007 6:32 pm
- Location: Canada
Yes, JOhn Fine is doing fine bootloaders, is a reputed source for you to get source from. Of course the problem doesn't come from your assembly of "objects" that you got from the internet.AusZero wrote:Yes, it is the bootloader that John Fine made, and the filesystem that I am using is FAT.
I think it's your use of your linux that is the problem.
The solution, use mkfat12 or something what is called, mount it, copy your files, unmount it, and copy your bootloader on your file, dont use your loopback thing I dont know what it is because Im using Windows not linux.
Without the loopback device, I can't mount it.
- jerryleecooper
- Member
- Posts: 233
- Joined: Mon Aug 06, 2007 6:32 pm
- Location: Canada
sorry for my previous message, I wasnt clear. What I wanted to say is, dont have your image mounted while you copy your bootloader on it. I don't know if it can cause problem, but probably yes. My theory was that linux doesnt let you write your bootloader while the image is still mounted, but... how do you copy your bootloader to your image?