What steps will reproduce the problem? geometry (hd0)
Flash drive has these partitions: Partition 1 SIZE=7905.992MiB Type: 07 NTFS ACTIVE START POS = CYL:0 HD:32 SEC:33 END POS = CYL:1007 HD:254 SEC:63 START (LBA) = 2,048 (00000800) SIZE (LBA) = 16,191,472 (00F70FF0)
Partition 2 SIZE=0.031MiB Type: 21 Hidden(rsvd)
START POS = CYL:1008 HD:0 SEC:1 END POS = CYL:1008 HD:0 SEC:63
START (LBA) = 16,193,520 (00F717F0) SIZE (LBA) = 63 (0000003F)
when run on a bootable flash drive seems strange - 2 problems:
1. All report C/H/S=1009/255/63, but If run on real system or QEMU: Sector Count/Size=16209585/512 If run on Oracle Virtual Box: Sector Count/Size=16450560/512
- Sector Count is not accurate - it simply multiplies 1009*255*63 but this assumes whole cylinders. Sector Count should be taken from highest Start LBA Position + Ptn Size
16,193,520 + 63 in this case
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system? 0.4.5c
Please provide any additional information below.
Comment #1
Posted on Jun 14, 2013 by Happy KangarooComment deleted
Comment #2
Posted on Jun 14, 2013 by Happy KangarooVbox issue is probably due to the drive geometry set by the USB .vmdk file.
Main issue is that Sector Count is not correct as it assumes whole cylinders!
Comment #3
Posted on Jun 15, 2013 by Massive Kangaroogrub4dos will internally ignore the values of sector count and cylinder count. These values cannot always be obtained successfully.
users should not rely on the correctness of these values.
Status: WontFix
Labels:
Type-Defect
Priority-Medium