Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Desktop-2:~ username$ sudo -s
- bash-3.2# cd ~/i386/
- bash-3.2# diskutil list
- /dev/disk0
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *128.0 GB disk0
- 1: EFI 209.7 MB disk0s1
- 2: Apple_HFS Mac OS X 127.7 GB disk0s2
- /dev/disk1
- #: TYPE NAME SIZE IDENTIFIER
- 0: FDisk_partition_scheme *320.1 GB disk1
- 1: Windows_NTFS Windows 320.1 GB disk1s1
- /dev/disk2
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *750.2 GB disk2
- 1: EFI EFI 209.7 MB disk2s1
- 2: Apple_HFS Time Machine 749.8 GB disk2s2
- /dev/disk3
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *2.0 TB disk3
- 1: EFI EFI 209.7 MB disk3s1
- 2: Apple_HFS Downloads 2.0 TB disk3s2
- /dev/disk4
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *2.0 TB disk4
- 1: EFI EFI 209.7 MB disk4s1
- 2: Apple_HFS Data 2.0 TB disk4s2
- /dev/disk5
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *2.0 TB disk5
- 1: EFI EFI 209.7 MB disk5s1
- 2: Apple_HFS Media 2.0 TB disk5s2
- bash-3.2# ./fdisk440 -f boot0 -u -y /dev/rdisk0
- bash-3.2# dd if=boot1h of=/dev/rdisk0s2
- 2+0 records in
- 2+0 records out
- 1024 bytes transferred in 0.000425 secs (2410195 bytes/sec)
- bash-3.2# cp boot /
- bash-3.2# sudo chflags hidden /boot
- bash-3.2# ./fdisk440 -e /dev/disk0
- Enter 'help' for information
- fdisk: 1> f 2
- Partition 2 marked active.
- fdisk:*1> write
- Device could not be accessed exclusively.
- A reboot will be needed for changes to take effect. OK? [n] y
- Writing MBR at offset 0.
- fdisk: 1> exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement