OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:39 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: print ms i am kernel
PostPosted: Fri Feb 12, 2016 6:45 pm 
Offline

Joined: Thu Feb 11, 2016 10:55 am
Posts: 14
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


Top
 Profile  
 
 Post subject: Re: print ms i am kernel
PostPosted: Mon Feb 15, 2016 8:49 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
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?

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: print ms i am kernel
PostPosted: Mon Feb 15, 2016 3:44 pm 
Offline
Member
Member

Joined: Sat Mar 01, 2014 2:59 pm
Posts: 1146
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.

_________________
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: DotBot [Bot] and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group