Advertisement
asanchez75

Linux/split/format

Mar 5th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. http://linux.101hacks.com/unix/split/
  2.  
  3. split --bytes=50M logdata mydatafile
  4.  
  5.  
  6. http://emslinux.com/como-formatear-una-memoria-usb-desde-la-terminal/
  7.  
  8. mkfs.vfat -n data /dev/sdc1
  9. mount -a
  10.  
  11. ===========================================================================
  12. Create Partition Table in the new hard drive
  13.  
  14. Type the following command
  15.  
  16. fdisk /dev/sdb
  17.  
  18. Enter n to create a new partition
  19.  
  20. Enter 1 to select partition
  21.  
  22. then let it cover the entire disk, simply accept default start & end.
  23.  
  24. Type w to write and exit.
  25.  
  26. Assign File system to the hard drive
  27.  
  28. mkfs.ext3 /dev/sdb
  29.  
  30. Add the hard drive in the fstb
  31.  
  32. vi /etc/fstab
  33.  
  34. /dev/sdb /backup ext3 defaults 1 1
  35.  
  36. mount the hard drive
  37.  
  38. mount /dev/sdb /backup
  39.  
  40. In the end give the command
  41.  
  42. mount -a
  43.  
  44. ====================================================================
  45. sudo mkfs.ntfs -f /dev/sdb1 -L adam
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement