Advertisement
Guest User

Untitled

a guest
Jan 17th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Desktop-2:~ username$ sudo -s
  2. bash-3.2# cd ~/i386/
  3. bash-3.2# diskutil list
  4. /dev/disk0
  5. #: TYPE NAME SIZE IDENTIFIER
  6. 0: GUID_partition_scheme *128.0 GB disk0
  7. 1: EFI 209.7 MB disk0s1
  8. 2: Apple_HFS Mac OS X 127.7 GB disk0s2
  9. /dev/disk1
  10. #: TYPE NAME SIZE IDENTIFIER
  11. 0: FDisk_partition_scheme *320.1 GB disk1
  12. 1: Windows_NTFS Windows 320.1 GB disk1s1
  13. /dev/disk2
  14. #: TYPE NAME SIZE IDENTIFIER
  15. 0: GUID_partition_scheme *750.2 GB disk2
  16. 1: EFI EFI 209.7 MB disk2s1
  17. 2: Apple_HFS Time Machine 749.8 GB disk2s2
  18. /dev/disk3
  19. #: TYPE NAME SIZE IDENTIFIER
  20. 0: GUID_partition_scheme *2.0 TB disk3
  21. 1: EFI EFI 209.7 MB disk3s1
  22. 2: Apple_HFS Downloads 2.0 TB disk3s2
  23. /dev/disk4
  24. #: TYPE NAME SIZE IDENTIFIER
  25. 0: GUID_partition_scheme *2.0 TB disk4
  26. 1: EFI EFI 209.7 MB disk4s1
  27. 2: Apple_HFS Data 2.0 TB disk4s2
  28. /dev/disk5
  29. #: TYPE NAME SIZE IDENTIFIER
  30. 0: GUID_partition_scheme *2.0 TB disk5
  31. 1: EFI EFI 209.7 MB disk5s1
  32. 2: Apple_HFS Media 2.0 TB disk5s2
  33. bash-3.2# ./fdisk440 -f boot0 -u -y /dev/rdisk0
  34. bash-3.2# dd if=boot1h of=/dev/rdisk0s2
  35. 2+0 records in
  36. 2+0 records out
  37. 1024 bytes transferred in 0.000425 secs (2410195 bytes/sec)
  38. bash-3.2# cp boot /
  39. bash-3.2# sudo chflags hidden /boot
  40. bash-3.2# ./fdisk440 -e /dev/disk0
  41. Enter 'help' for information
  42. fdisk: 1> f 2
  43. Partition 2 marked active.
  44. fdisk:*1> write
  45. Device could not be accessed exclusively.
  46. A reboot will be needed for changes to take effect. OK? [n] y
  47. Writing MBR at offset 0.
  48. fdisk: 1> exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement