diff --git a/SingOS.img b/SingOS.img index b8a34f1..675577d 100644 Binary files a/SingOS.img and b/SingOS.img differ diff --git a/a.out b/a.out index a68aa18..99a851b 100755 Binary files a/a.out and b/a.out differ diff --git a/lsfs_disk_controller.h b/lsfs_disk_controller.h index d984d4e..6800253 100644 --- a/lsfs_disk_controller.h +++ b/lsfs_disk_controller.h @@ -658,7 +658,7 @@ int lsfs_disk_install_vbr(char *vbr_path) fread(vbr_buffer_rest, 1, (st.st_size - SECTOR_SIZE), vbr); vbr_first_sector->vbr_size_in_bytes = st.st_size; - vbr_first_sector->vbr_LBA_address = p_control.fsci.this_partition_offset_on_disk; + vbr_first_sector->vbr_LBA_address = p_control.fsci.this_partition_offset_on_disk - SPACE_VBR_RECORD; vbr_first_sector->vbr_LBA_FSCI_position = p_control.fsci.this_partition_offset_on_disk; vbr_first_sector->vbr_signature = 0x1818; diff --git a/lsfs_fuse b/lsfs_fuse index 58ca3bc..61e5601 100755 Binary files a/lsfs_fuse and b/lsfs_fuse differ diff --git a/lsfs_fuse.o b/lsfs_fuse.o index 38bc82f..4bd6514 100644 Binary files a/lsfs_fuse.o and b/lsfs_fuse.o differ