Hello, I feel like making a bootloader which loads directly from the hard drive and not the floppy. Any examples or suggestions?
Sincerely, Tim.
Best ways to make the OS load from HDD
- TimothyARyazanov
- Member

- Posts: 89
- Joined: Sat Sep 17, 2016 2:14 am
- Location: Moscow, Russia
Best ways to make the OS load from HDD
Freedom is slavery.
War is peace.
Ignorance is strength.
Quote from 1984 by George Orwell.
War is peace.
Ignorance is strength.
Quote from 1984 by George Orwell.
-
Octocontrabass
- Member

- Posts: 6293
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Best ways to make the OS load from HDD
You already wrote hard disk bootloaders and posted them in this thread.
- TimothyARyazanov
- Member

- Posts: 89
- Joined: Sat Sep 17, 2016 2:14 am
- Location: Moscow, Russia
Re: Best ways to make the OS load from HDD
Really?Octocontrabass wrote:You already wrote hard disk bootloaders and posted them in this thread.
Freedom is slavery.
War is peace.
Ignorance is strength.
Quote from 1984 by George Orwell.
War is peace.
Ignorance is strength.
Quote from 1984 by George Orwell.
Re: Best ways to make the OS load from HDD
Only if you have parsed the partition table to find the location of the partition containing your kernel.
Re: Best ways to make the OS load from HDD
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).