gacanepa

fdisk sdd

Jan 26th, 2013
182
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gacanepa@alumno:~$ sudo fdisk /dev/sdd
  2.  
  3. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  4. switch off the mode (command 'c') and change display units to
  5. sectors (command 'u').
  6.  
  7. Command (m for help): m
  8. Command action
  9. a toggle a bootable flag
  10. b edit bsd disklabel
  11. c toggle the dos compatibility flag
  12. d delete a partition
  13. l list known partition types
  14. m print this menu
  15. n add a new partition
  16. o create a new empty DOS partition table
  17. p print the partition table
  18. q quit without saving changes
  19. s create a new empty Sun disklabel
  20. t change a partition's system id
  21. u change display/entry units
  22. v verify the partition table
  23. w write table to disk and exit
  24. x extra functionality (experts only)
  25.  
  26. Command (m for help): p
  27.  
  28. Disk /dev/sdd: 8103 MB, 8103395328 bytes
  29. 250 heads, 62 sectors/track, 1021 cylinders
  30. Units = cylinders of 15500 * 512 = 7936000 bytes
  31. Sector size (logical/physical): 512 bytes / 512 bytes
  32. I/O size (minimum/optimal): 512 bytes / 512 bytes
  33. Disk identifier: 0xc3072e18
  34.  
  35. Device Boot Start End Blocks Id System
  36.  
  37. Command (m for help): n
  38. Command action
  39. e extended
  40. p primary partition (1-4)
  41. p
  42. Partition number (1-4): 1
  43. First cylinder (1-1021, default 1):
  44. Using default value 1
  45. Last cylinder, +cylinders or +size{K,M,G} (1-1021, default 1021):
  46. Using default value 1021
  47.  
  48. Command (m for help): t
  49. Selected partition 1
  50. Hex code (type L to list codes): fd
  51. Changed system type of partition 1 to fd (Linux raid autodetect)
  52.  
  53. Command (m for help): w
  54. The partition table has been altered!
  55.  
  56. Calling ioctl() to re-read partition table.
  57. Syncing disks.
RAW Paste Data