brad
Unregistered
|
|
Posted: Jan. 07 2005,08:47 |
|
hmk, maybe that's the reason I can't get my stick booting.. how comes that I get an odd number of sectors when using the formular "total_sectors / 32 / number_of_heads = no_of_cylinders" ?
Bytes: 262144000 Total Sectors: 262144000 bytes / 512 = 512000 sectors Cylinders: 512000 sectors / 32 / 9 heads = 1777,77778
Or is there a mistake anywhere?
I was following a guid which told me to do a "sfdisk -S 32 /dev/sda" and then setting the partitions. Could that cause any trouble?
Your help is greatly appriciated!
Below the output of fdisk and sfdisk:
sfdisk output ------------- Disk /dev/sda: 1777 cylinders, 9 heads, 32 sectors/track Units = cylinders of 147456 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 539 540- 77759+ 6 FAT16 /dev/sda2 540 1776 1237 178128 6 FAT16 /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty
fdisk output ------------ Disk /dev/sda: 262 MB, 262144000 bytes 9 heads, 32 sectors/track, 1777 cylinders Units = cylinders of 288 * 512 = 147456 bytes
Device Boot Start End Blocks Id System /dev/sda1 * 1 540 77759+ 6 FAT16 /dev/sda2 541 1777 178128 6 FAT16
Bytes: 262144000 Total Sectors: 262144000 bytes / 512 = 512000 sectors Cylinders: 512000 sectors / 32 / 9 heads = 1777,77778
|