OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 10:49 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: 83
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.

_________________
Coffee is not airplane fuel.


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: 5099
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: 83
Location: Moscow, Russia
Octocontrabass wrote:
You already wrote hard disk bootloaders and posted them in this thread.

Really?

_________________
Coffee is not airplane fuel.


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: 4591
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: 147
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: Google [Bot] and 58 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