Relative Content

Tag Archive for c++operating-systemhard-driveext2ata

virtual hard disk – data written not saved, building a file system

can someone please help me with a different issue I’m facing?
I’m writing a file system so I first set up hard drive communication. First, I use the first two commands in all.sh to create a virtual hard disk and configure it to have one partition and work with ext2. Then I use the third command to create a new qemu virtual machine and load my iso file and virtual hard disk drive.
I have managed to set up disk communication using ata pio (reading and writing sectors) however there are two weird things that are happening.