diff --git a/kernel/branches/kolibri-ahci/blkdev/ahci.inc b/kernel/branches/kolibri-ahci/blkdev/ahci.inc index dbaf927838..9cc99eadbb 100644 --- a/kernel/branches/kolibri-ahci/blkdev/ahci.inc +++ b/kernel/branches/kolibri-ahci/blkdev/ahci.inc @@ -574,6 +574,7 @@ ahci_init: push ecx mov eax, [hd_counter] + inc [hd_counter] xor edx, edx mov ecx, 10 div ecx ; eax = hd_counter / 10, edx = hd_counter % 10 diff --git a/kernel/branches/kolibri-ahci/run_img_ahci.sh b/kernel/branches/kolibri-ahci/run_img_ahci.sh index db6644b28b..7ad6cd88bf 100755 --- a/kernel/branches/kolibri-ahci/run_img_ahci.sh +++ b/kernel/branches/kolibri-ahci/run_img_ahci.sh @@ -1 +1 @@ -qemu-system-i386 -m 256 -M q35 -fda kolibri_test2.img -boot a -vga vmware -net nic,model=rtl8139 -net user -soundhw ac97 -usb -usbdevice tablet -enable-kvm -drive file=fat:rw:. \ No newline at end of file +qemu-system-i386 -m 256 -M q35 -fda kolibri_test2.img -boot a -vga vmware -net nic,model=rtl8139 -net user -soundhw ac97 -usb -usbdevice tablet -enable-kvm -drive file=fat:rw:. -drive file=fat:rw:two_hard \ No newline at end of file