Advertisement
Guest User

Untitled

a guest
Apr 30th, 2010
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. shane@McSwiggins:/media$ sudo swapoff -a
  2. [sudo] password for shane:
  3. shane@McSwiggins:/media$ sudo parted /dev/sdb
  4. GNU Parted 2.2
  5. Using /dev/sdb
  6. Welcome to GNU Parted! Type 'help' to view a list of commands.
  7. (parted) help
  8. align-check TYPE N check partition N for TYPE(min|opt)
  9. alignment
  10. check NUMBER do a simple check on the file system
  11. cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER copy file system to another partition
  12. help [COMMAND] print general help, or help on
  13. COMMAND
  14. mklabel,mktable LABEL-TYPE create a new disklabel (partition
  15. table)
  16. mkfs NUMBER FS-TYPE make a FS-TYPE file system on
  17. partition NUMBER
  18. mkpart PART-TYPE [FS-TYPE] START END make a partition
  19. mkpartfs PART-TYPE FS-TYPE START END make a partition with a file system
  20. move NUMBER START END move partition NUMBER
  21. name NUMBER NAME name partition NUMBER as NAME
  22. print [devices|free|list,all|NUMBER] display the partition table,
  23. available devices, free space, all found partitions, or a particular
  24. partition
  25. quit exit program
  26. rescue START END rescue a lost partition near START
  27. and END
  28. resize NUMBER START END resize partition NUMBER and its file
  29. system
  30. rm NUMBER delete partition NUMBER
  31. select DEVICE choose the device to edit
  32. set NUMBER FLAG STATE change the FLAG on partition NUMBER
  33. toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
  34. NUMBER
  35. unit UNIT set the default unit to UNIT
  36. version display the version number and
  37. copyright information of GNU Parted
  38. (parted) rescue START END
  39. Error: /dev/sdb: unrecognised disk label
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement