print ms i am kernel
print ms i am kernel
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
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: print ms i am kernel
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?
Hint: Are you looking for GRUB?
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: print ms i am kernel
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.
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.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing