Public paste
fdisk
By: _eMaX_ | Date: Oct 16 2009 15:03 | Format: None | Expires: never | Size: 1.73 KB | Hits: 840

  1. root@vmserver:~# fdisk /dev/sda
  2.  
  3. The number of cylinders for this disk is set to 243150.
  4. There is nothing wrong with that, but this is larger than 1024,
  5. and could in certain setups cause problems with:
  6. 1) software that runs at boot time (e.g., old versions of LILO)
  7. 2) booting and partitioning software from other OSs
  8.    (e.g., DOS FDISK, OS/2 FDISK)
  9.  
  10. Command (m for help): p
  11.  
  12. Disk /dev/sda: 1999.9 GB, 1999978364928 bytes
  13. 255 heads, 63 sectors/track, 243150 cylinders
  14. Units = cylinders of 16065 * 512 = 8225280 bytes
  15. Disk identifier: 0x0008de2d
  16.  
  17.    Device Boot      Start         End      Blocks   Id  System
  18. /dev/sda1   *           1      241672  1941230308+  83  Linux
  19. /dev/sda2          241673      243150    11872035    5  Extended
  20. /dev/sda5          241673      243150    11872003+  82  Linux swap / Solaris
  21.  
  22. Command (m for help): q
  23.  
  24. root@vmserver:~# fdisk /dev/sdb
  25.  
  26. The number of cylinders for this disk is set to 243150.
  27. There is nothing wrong with that, but this is larger than 1024,
  28. and could in certain setups cause problems with:
  29. 1) software that runs at boot time (e.g., old versions of LILO)
  30. 2) booting and partitioning software from other OSs
  31.    (e.g., DOS FDISK, OS/2 FDISK)
  32.  
  33. Command (m for help): p
  34.  
  35. Disk /dev/sdb: 1999.9 GB, 1999978364928 bytes
  36. 255 heads, 63 sectors/track, 243150 cylinders
  37. Units = cylinders of 16065 * 512 = 8225280 bytes
  38. Disk identifier: 0x0008de2d
  39.  
  40.    Device Boot      Start         End      Blocks   Id  System
  41. /dev/sdb1   *           1      241672  1941230308+  83  Linux
  42. /dev/sdb2          241673      243150    11872035    5  Extended
  43.  
  44. Command (m for help): n
  45. Command action
  46.    l   logical (5 or over)
  47.    p   primary partition (1-4)
  48. l
  49. No free sectors available
  50.  
  51. Command (m for help):