satimis
  
 
  
 
 
Group: Members 
Posts: 39 
Joined: Aug. 2005 | 
  | 
Posted: April 05 2006,14:09 | 
   | 
 
 
  
Hi folks,
  I went thourgh following URL; http://www.damnsmalllinux.org/wiki....endrive
  and got following points unresolved.
  I have a 512MB pendrive without partitions.
  # sfdisk -l /dev/sda| Code Sample  |   Disk /dev/sda: 1008 cylinders, 16 heads, 61 sectors/track Units = cylinders of 499712 bytes, blocks of 1024 bytes, counting from 0
     Device Boot Start     End   #cyls    #blocks   Id  System /dev/sda1          0       -       0          0    0  Empty /dev/sda2          0       -       0          0    0  Empty /dev/sda3          0       -       0          0    0  Empty /dev/sda4          0       -       0          0    0  Empty |  
 
  Step 2)  According to his formula.
  Total number of sectors on the drive = cylinder x heads x sectors total_sectors = 1008x16x61=983,808
  no_of_cylinders = total_sectors / 32 / number_of_heads no_of_cylinder = 983,808/32/16 = 1,921.5
  A sector = 512 bytes Total number of sectors on boot partition = 64 millon / 512 total_sectors_on_boot_partition = 64 x 1,000,000 / 512 = 125,000
  What will be the use of his calculation, the above figures?
  Step 3) # sfdisk -f -Cnumcyl -Hnumheads -Snumsectors /dev/sda What shall I enter/type ?
  TIA
  B.R. satimis 
 |