OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Sep 22, 2019 4:21 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Best ways to make the OS load from HDD
PostPosted: Sat Apr 22, 2017 1:57 pm 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 69
Location: Moscow, Russia
Hello, I feel like making a bootloader which loads directly from the hard drive and not the floppy. Any examples or suggestions?
Sincerely, Tim.

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes

P.S. my surname that you see is false, that's an English surname, I am actually Tim Ryazanoff


Top
 Profile  
 
 Post subject: Re: Best ways to make the OS load from HDD
PostPosted: Sat Apr 22, 2017 2:03 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 1637
You already wrote hard disk bootloaders and posted them in this thread.


Top
 Profile  
 
 Post subject: Re: Best ways to make the OS load from HDD
PostPosted: Sun Apr 23, 2017 1:31 am 
Offline
Member
Member
User avatar

Joined: Sat Sep 17, 2016 2:14 am
Posts: 69
Location: Moscow, Russia
Octocontrabass wrote:
You already wrote hard disk bootloaders and posted them in this thread.

Really?

_________________
I will be back... - Arnold Schwarzenegger
Code:
if tired = no then
code = yes
sleep = no
else
code = no
sleep = yes

P.S. my surname that you see is false, that's an English surname, I am actually Tim Ryazanoff


Top
 Profile  
 
 Post subject: Re: Best ways to make the OS load from HDD
PostPosted: Sun Apr 23, 2017 1:43 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3466
Location: Chichester, UK
Only if you have parsed the partition table to find the location of the partition containing your kernel.


Top
 Profile  
 
 Post subject: Re: Best ways to make the OS load from HDD
PostPosted: Fri Apr 28, 2017 8:08 pm 
Offline
Member
Member

Joined: Sat Feb 27, 2010 8:55 pm
Posts: 124
Booting from a hard drive is literally 100% the same as booting from a floppy, unless you're reading past 8GB, in which case you need to use LBA. (Look up RBIL to learn how to use LBA).


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 8 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group