Page 1 of 1

print ms i am kernel

Posted: Fri Feb 12, 2016 6:45 pm
by ammar
i am create bootloader use FAT32 and usb flash memory, and i ... is very important, see that image using os windows and virtuabox. how loading kernerel and why? command write in ubuntu to load kernel

Re: print ms i am kernel

Posted: Mon Feb 15, 2016 8:49 am
by Combuster
Practice English first. You'll need it to read documentation. You probably don't have anybody willing to translate everything for you. Your question is very confusing, and you're probably saying things you don't want to say.

Hint: Are you looking for GRUB?

Re: print ms i am kernel

Posted: Mon Feb 15, 2016 3:44 pm
by onlyonemac
The command to write the kernel to disk in Ubuntu is "dd". Make sure that you write it to your "test" media, not your computer's hard drive, otherwise you will destroy the data on your hard drive.

If you're wanting to know how to load the kernel from disk in your own bootloader, I think I've already answered that in your other thread. Basically, read the FAT32 filesystem structures from disk using the BIOS functions to read from disk and parse them to locate your kernel, then read the kernel from disk using the same BIOS functions. I'm not sure of the details of how the FAT32 filesystem works and I can't remember how to use the BIOS functions off the top of my head but from what I've heard it's quite easy to parse a FAT32 filesystem and using the BIOS functions is very simple.