Showing posts with label osx. Show all posts
Showing posts with label osx. Show all posts

Friday, January 27, 2017

Tips OSX How to Save Space Hard Drive Mac

Tips OSX How to Save Space Hard Drive Mac



MacBook Air with SSD capable of quickly indeed very proud of its users but in some cases, the SSD is too small to store a variety of data, especially for those who choose a lot of files in bulk. For that you need to perform well SSD management, including removing all source files iMovie. If you have done it but the Mac hard drive space is still not enough to accommodate a collection of files then you need to follow these tips advanced that contains 5 steps to avoid overloading the hard drive.

1. Delete Cache Files
Even if you use a Mac desktop that has a very large space but to save hard drive space is still important to do. You can do this by deleting the cache files.

When you delete apps to make the disk space a little relieved, that still leaves the actual user application cache is not deleted also. The files were left to help the performance of OS X and various applications installed on the Mac. If you no longer use an application, you can delete the entire cache file.

How, in the Finder press Command-Shift-G or click on the Go menu, select Go To Folder. Then type:

~ / Library / Caches /

This way you will display the folder that contains the user caches. Once open, you need sorting files by size to determine the size of the files and folders you want to delete.

Open the View menu and select Show View Options or press Command-J on the keyboard. Click the checbox which is on the Calculate All Sizes and close the windows View.

The next Mac will show the number of all files in the Finder, including folders. If you are not yet set, then immediately set course windows to do with the List View or Command-2 on the keyboard.

Well, now you can see the cache file with the largest size there at the top by clicking the Size once again. Furthermore please delete all the files that you no longer need.


How to Save Space Hard Drive Mac


2. Delete Speech Voices
Another thing you can do to save hard drive space by deleting voices Mac files are used OS X for text-to-speech. This file type can be very large and need to be removed when no longer used.

Open Terminal from the Application folder, dock, or use an app like Alfred launching system. Type the following command:

cd / System / Library / Speech /

The above command will change the directory (cd) that you use speech to another directory where files are located. To delete all of them, type the following command:

Voices sudo rm-rf / *

If in doubt use the method above, you can manually delete the voice files through the folder / System / Library / Speech / Voices / then delete the voices that you do not use, such as the cello or Bahh.

If in doubt use the method above, you can manually delete the voice files through the folder / System / Library / Speech / Voices / then delete the voices that you do not use, such as the cello or Bahh.

3. Check the Application Support folder for Steam Game Files
For gamers who frequently use digital gaming portal Steam, you need to check the Steam files that you can delete.

Open the Finder, open the folder behavior ~ / Library / Application Support /. Inside that folder you will find a folder that Steam could be lots and lots of files from different games you no longer play. Be sure to Calculate All Sizes from the View menu when viewing the Steam folder and sorting based on Size. You will be able to see the game files are very large, delete it if you no longer use.

Other folders that you need to see is the Application Support. A number of applications use the folder to store the files that you no longer even wear. Make sure you pick and choose which files should be deleted.

Other folders that you need to see is the Application Support. A number of applications use the folder to store the files that you no longer even wear. Make sure you pick and choose which files should be deleted.

4. Delete File in System Logs and QuickLook Cache
System logs is one place that contains a lot of files to help work the system OS X. However, you can just delete the files in it because the files can be made many times.

Open Terminal from the Applications folder or Dock. Type the following command:

sudo rm-rf / private / var / log / *

Command over befungsi to clean up system logs, including when you run the command above. Therefore you can often do this to increase your Mac space.

Furthermore please close the Terminal window and open another one. Type the following command:

sudo rm-rf / private / var / folders /

The above command will clean QuickLook file and you can do regularly to keep the Mac space. It should be noted that each of the above command prompts you to enter the administrator password.


The above command will clean QuickLook file and you can do regularly to keep the Mac space. It should be noted that each of the above command prompts you to enter the administrator password.



5. Disable Mac SafeSleep Mode
There is an OS X feature that was released in 2005 called SafeSleep. SafeSleep is basically made a hibernation mode to save the current condition of your use Mac so that when you turn it on at a later time after sleep, the Mac will be in the same condition as when you left. Such conditions do not change even when the battery ran out and shut down.

Disable Mac SafeSleep Mode

In OS Lion, Apple then introduced two new features called Autosave and Resume that provides similar SafeSleep. Unfortunately, all of these features actually consuming hard drive space. To disable SafeSleep mode, open a terminal and type the following command:

sudo pmset hibernatemode 0

Command over deadly SafeSleep function. Afterwards you need to delete the image SafeSleep file by typing the following command:

sudo rm / var / vm / sleepimage

If you use Mac often still connected to power when in sleep mode and the battery has never been below 20% then it means you are not using a Mac SafeSleep. Thus disabling SafeSleep become mandatory for you to do.

For non-Mac equipped with SSD, it takes longer to save SafeSleep image to your hard drive. In contrast, for the Mac that uses SSD Mac, not necessary at all to do the same. Later if you want to reactivate SafeSleep, type the following command in Terminal:

sudo pmset-a hibernatemode 3

Good luck!

Available link for download

Read more »

Sunday, January 1, 2017

Upgrade to a new hard drive on your MacBook Pro and clone OSX and BootCamp

Upgrade to a new hard drive on your MacBook Pro and clone OSX and BootCamp




***DISCLAIMER...Its your fault if you screw up your system.  Read through the entire post before attempting.

I purchased a new larger capacity hard disk drive (hdd) to upgrade an existing smaller solid state drive (ssd) because I started running out of room.  I liked the speed of the ssd, dont get me wrong, but a weighed the options and more storage space was a priority.  So I compromised and picked up a Seagate hybrid sshd.  Got one while they were on sale $100 through newegg http://www.newegg.com/Product/Product.aspx?Item=N82E16822178340.

This one took a while to rap my fingers around and Ill say most of it was dumb luck.  I know there is WinClone available on OSX and probably would have made this easier.  Think WinClone is about $30 and honestly probably would have saved me a bunch of time, but being the stubborn ba$T@rd I am, I decide to stick through it on principle.

What I had...
OSX was 10.8
Windows was 8 with media center

Things youll need:
  • hdd enclosure; this is to connect your existing hdd to copy data over to your new hdd
  • windows 8 installation DVD (or Win7); needed to allow bootcamp creation
  • OSX installation USB or SD drive to boot from; might be able to use the recovery instead
  • windows 7 repair CD; needed to run specific commands to fix the boot (the version of win7 repair CD I used was modified because getting the timing right to engage the CD boot process made me pull more hair out than I care to discuss.  I renamed the bootfix.bin file from the boot directory.  This causes the CD to boot instead of waiting for prompted.  The MacBook keyboard didnt work and the screen picture were out of sync to enable to proper timely to engage the CD.  You can create your own using UltraISO and renaming bootfix.bin under the boot directory.  https://dl.dropboxusercontent.com/u/92763248/Repair%20disc%20Windows%207%2064-bit.iso
  • GPART CD  http://gparted.sourceforge.net/livecd.php
  • Remove encryption.
Pre Steps:

1. With your existing OSX installation, install the gdisk program http://sourceforge.net/projects/gptfdisk/.  We will use that to modify our soon to be screwed up hybrid MBR.  In the mean time lets take a look at a none screwed up hybrid MBR.

Issue the following commands on your old OSX operating system (OS):

sudo fdisk /dev/disk0
sudo gpt -r -vv show disk0
diskutil list 


That will give us a bearing on what your disk use to look like.  Might be handy for later on to have this printed (Command + Shift + 4 than spacebar will get you to screenshot the window).

Steps:
      1. Turn off the system and remove the existing hdd and install your new one (Ifixit.com is a pretty great place for these how tos).

      2. Attached your old hdd to a USB enclosure and attached to your macbook.  I had purchased a simple USB3 sata link from newegg.com.



      3. I made an SD OSX installation media disk. I think you could probably use the recovery hd to do the same thing.  I attached the SD to its slot.

      4. I then booted the macbook holding the option key down.


      5. It should boot and look like the following.  If the new hdd has no bootable partition you will not see your new drive.  The orange in color USB symbol enclosures are your old OS.  The mountain lion emblem is the OSX installation SD.  This is whether I think its possible to boot from your old OS recovery hd to perform this next action.  I havent tried that.  The next action will be to copy your old OSX to the new hdd.  I decided to use my OSX SD and booted from that.



      6. Select Disk Utility.



      7. Your new hdd should be at the top.  Select it on the left pane.



      8. Now select the partition drop down.  This is where we are going to partition and format your new drive.  Select 1 partition.



      9. Title the new volume "new mac".  Ensure it is Mac OS Extended (Journaled) format.  Then Select options.



      10. It needs to be set to GUID Partition Table.  Select OK.  Apply.



      11. Partition.



      12. Once completed your "new mac" partition should show on the left.  Select the Restore tab.



      13. This is were we can copy our existing OSX OS to the new hdd.  Left click on your old OSX partition and hold the mouse button down as you drag it to the Source.  Notice the orange color enclosure icon.  This indicates an external device.  Now drag your newly created "new mac" partition to the Destination.  Should look just like mine. Restore.



      14. Erase.




      15. Should begin copying the data over.  This processes should take a while.  After that is complete reboot your macbook while holding the option key on boot.  Now boot to your new macbook OS.  I removed the old hdd and installation SD before booting.



      16.  Lets see what has changed in our partitions on the new hdd.  Here is an example with the above three commands issued again.  This was on a 1TB HDD.  Notice the size in the fdisk command takes up the entire hdd.


      17. We now need to partition the bootcamp slice.  Find the bootcamp icon inside the Utilities directory.
      18. Start bootcamp assistant. Continue.

      19. If you have a Windows 8 or 7 installation DVD remove the "Create a Windows 7..." check mark.  More than likely since this is about cloning your bootcamp Win8/7 installation you already have bootcamp installed on your Windows OS so remove the check mark.  Install your Win8/7 installation DVD and make sure the "Install Windows 7 or later version" is checked.  Continue.
       
      20. I decide to divide my partitions equally.  You do what you want.  Install.  It is required to have the Win8/7 installation dvd installed to get this step rolling.
       21. You system will automatically reboot to DVD.  ***HOLD THE OPTION KEY DOWN WHEN THE SYSTEM AUTO REBOOTS.*** Now I have done this two different ways.  Ive booted to the Windows DVD and formatted the bootcamp partition and not installed a new OS which formats it NTFS.  Ive also skipped this step and booted straight to GPART CD as well.  I suspect its not necessary to format because when we use GPART to copy the old Windows OS to our new bootcamp partition it takes on the format of the copied partition anyway so why bother. I ejected the Windows installation DVD and swapped for the GPART CD and continued the boot of the CD.  With GPART booted it should show your new hdd and old hdd so long as both are still attached to your system.  If you forgot just connect and under Gparted select rescan.  Notice the far upper right drop down to select drives.  Now to distinguish which drive is which the /dev/sda is your onboard hdd and /dev/sdb should be your external.  Another way is your new hdd will say BOOTCAMP (FAT32).  Your external or old hdd should say either BOOTCAMP (NTFS) or what ever name you modified the volume name to.  Mine was Win8Pro.


      22. Select your external or old hdd.


      23. Select your bootcamp partition than the copy button.


      24. Now change back to your new hdd and select the FAT32 BOOTCAMP partition.  The paste button should become available and select.



      25. It should warn you about this action.  It should be on /dev/sda4. OK.



      26. Select Apply.


      27. Another warning. Apply.


      28. Working.  Could take some time.




      29. Once completed, reboot holding the option key and boot to OSX.  The Windows partition shouldnt appear here.  We need to modify the hybrid MBR.  You should see after booting into OSX the Windows drive and its contents though.



      30. Now a decided to look at my partitions.  #1 is the EFI boot.  #2 is my OSX.  #3 is my Recovery.  #4 is Windows bootcamp.  Notice the differences in size.  The other thing I noticed was the * was on the OSX #2 and not on the Windows #4 under the fdisk command.  This is where printing out the old hdd setting is nice to see the difference.

      new hdd
      old hdd

       31. Time to install rEFIt. http://refit.sourceforge.net/  To install right click on the rEFIt.mpkg and open.  You might have to reboot twice for rEFIt to show.  You will notice the Windows boot icon starts to show. 


      32. If you try to boot Windows right now youll get the Recovery blue screen.



      33. Reboot into OSX.  Time to make the hybrid MBR right again.  Open terminal.  Enter the following commands and see the images below.  We need to get the hybrid MBR like our old hdd.  This is how to do this.

      sudo gdisk /dev/disk0
      r
      h
      2 3 4
      y
      <enter>
      n
      <enter>
      n
      <enter>
      y
      o
      w
      y
      sudo fdisk /dev/disk0

      gdisk = allows us to modify the GUID partition.  Since Windows requires an MBR which GPTs dont use and only have them for legacy purposes we have to fix it.
      r = recovery and transformation options
      h = make hybrid MBR
      2 3 4 (Thats the number 2 space 3 space 4 <enter>) = modifying those three partitions
      y = EFI needs to be first
      <enter> = select the default because thats the way our original partition was
      n = the bootable flag was not set in our original
      <enter> = select the default because thats the way our original partition was
      n = the bootable flag was not set in our original
      <enter> = select the default because thats the way our original partition was
      y = because the bootable flag was set in our original
      o = print protective MBR data
      w = write table to disk and exit
      y = confirm
      34. Now your systems hybrid MBR is fixed.  Oh but wait theres more. This is where the Win7 Repair CD comes into play.  Again the only thing I modified using UltraISO was the name of the bootfix.bin file.  I renamed it "autoboot_bootfix.bin".  Insert the CD in your MAC and reboot.  Hold option and select the CD to boot from.


      35. Windows repair CD should load.  It should also prompt that your Windows install is corrupt.  If you select details it will let you know what its changing.  Select Repair and reboot.  This will be quick so be fast with the option key and attempt to boot Windows now.


      36. Thats it.  After booting it might ask to reboot.


      37. If your not a fan of rEFIt you can always remove.  http://refit.sourceforge.net/doc/c1s3_remove.html

      Hope this works for you...

      Available link for download

      Read more »