ReturnInfinity / BareMetal-OS-legacy

BareMetal is a 64-bit OS for x86-64 based computers. The OS is written entirely in Assembly while applications can be written in Assembly, C/C++, and Rust.
1.74k stars 303 forks source link

SATA drive support #115

Closed nbrecht01 closed 7 years ago

nbrecht01 commented 8 years ago

BareMetal OS should support SATA disk drives. The kernel loads fine, but the disk appears empty when running the 'dir' command, saying it is 0 bytes big.

IanSeyler commented 8 years ago

BareMetal does support SATA disks via the AHCI driver.

nbrecht01 commented 8 years ago

Sorry for taking so long to answer! Yes, the drive was BMFS formatted. Hardware: AMD Athalon 64 M3A78-CM Motrherboard

The kernel boots fine, but the disk size is 0B and none of my apps will show up with the 'dir' command.

IanSeyler commented 7 years ago

Check your SATA Configuration in the BIOS. "OnChip SATA Type" should be set to AHCI.