lundi 22 décembre 2014

Lost partitions after a botched Windows install attempt via Bootcamp


I tried to install Windows 8 using the bootcamp assistant, but when I got to this screen,


enter image description here


The BOOTCAMP partition created by bootcamp wouldn't accept the windows install. Meaning, I reformatted it, and normally the little sun button "New" would then allow me to proceed with the Windows install.


I thought it was very weird so I instead deleted the partition, which turned into a 47.3Gb of Unallocated Space.


I tried formatting said unallocated space which created a bunch more partitions, but ultimately the same problem persisted: Can't install Windows.


In OSX, the Disk Utility wouldn't let me actually delete or remove the partitions so I went back to the Windows install menu and turned all the undesirables into unallocated space.




Here's what my Disk Utility looks like now:


enter image description here


As you can see there's some purple stuff at the top and some dark-grey stuff at the bottom, which I imagine represents free space?


Finally, here's a diskutil list readout:



/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 121.0 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage 948.5 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *1.1 TB disk2
Logical Volume on disk0s2, disk1s2
A952E93D-0902-4BEC-B4D2-93A8BB1CDDD0
Unencrypted Fusion Drive
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *16.0 GB disk3
1: DOS_FAT_32 WININSTALL 16.0 GB disk3s1




Questions:




  • WTF happened?




  • How can I reset everything to the way it was so I can try bootcamp again?




  • More specifically, how do I add unallocated space to my primary OSX partition?




  • List item




Please help!


Thanks in advance.





How to stop app store from asking me to reset my account


I recently changed to an iPhone and my iPhone 6 does not let me download apps. It keeps asking me to reset my account after I've already done so. I have even reset all my setting. Does anyone know how to fix this please?





How often and for how long does Trim Enabler need to run?


As of Yosemite, DIY, or non-Apple installed SSDs have Trim support challenges using applications such as Trim Enabler. Assuming one keeps their TRIM supported SSD in Yosemite,



  1. what is a good strategy for using Trim Enabler periodically so there are no issues with kext-signing and potential OS update conflicts while Trim Enabler is disabled?

  2. Can this be worked around by periodically using Trim Enabler?

  3. How long should Trim Enabler be run?

  4. How often?

  5. If SSD usage, e.g. amount of read/written data is relevant to how long/often Trim Enabler should be run, is there a way to evaluate guidelines on light, moderate, heavy use.


An excellent feature for TE would be a scheduler to run based on need, then toggle TE off and turn kext-signing back on after a scheduled maintenance run. At least until/if Apple ever reopens kext-signing to software and hardware devs. Cheers -





BootcacheControl.playlist not found, MacBook does not boot anymore


Booting a MacBook with Snow Leopard installed will suddenly stop with the message:



Unable to open /var/db/BootCache.playlist: 2 No such file or directory



Booting in single-user mode, I can see that the file exists, readable by the owner only.


I booted the MacBook in Target Disk Mode and created an image of the hard disk to save my data. Image creation succeeded without any errors and fsck & fsck_hfs do not throw any errors either.


I tried reinstalling Snow Leopard, but that results in "Unable to install Mac OS X", or something like that, with the opportunity to reboot only (which results in the initial aforementioned case). Disk Utility permissions verification shows a lot of entries, but isn't able to repair those. Verify Disk shows no errors.


Using Disk Utility to try to erase the HD also leads to an error message that the disk can't be formatted.


It looks like the disk crashed, or is this the wrong diagnosis? Is there any possibility to check the disk other than fsck or Disk Utility? What else can I do to try to save the system and disk?





My Iphone 4 won't send text messages!


My Iphone is not sending text messages through. ??? Why? It will take a long time to send (little bar at top). Then it says ("Message not Delivered").





Extract links from email based on the anchor text, not the href


I am putting together an Automator workflow that will allow me to bind a hotkey to a Smart Mailbox listing and effectively automate the task of clicking "Unsubscribe" in emails which have that text string.


So far, I've been marginally successful if the actual URL has the word "unsubscribe" in it. What I would like to do, instead, is find where the word Unsubscribe appears and instead grab only those URLs. So in HTML terms, imagine I am finding a link by its text and then acting on the href


When I use content I get only the contents of the email but when I use source I get links. Basically I need a way to map the content to the source.


I hope that makes sense. This is what I have so far:



on run {input, parameters}
set theSource to {}
tell application "Mail"
repeat with aMessage in input
-- source or content
set end of theSource to aMessage's source & return
end repeat
end tell

return theSource as text
end run




Mac with 2 monitors, how do i switch virtual desktops on one monitor only?


I have 2 monitors for mac, one extended the other.


How do i switch virtual desktops on one monitor only?


For example, When I do 4 fingers swipe left/right on screen1, I expect the switching happens on screen1 only.


BUT both monitors will switch virtual desktops at the same time, how do i avoid that?





ScanSnap problem listing it in my printer list


I can't seem to figure out how to add scansnap to my printers/scanner's list on my Mac Mini. I want to be able to scan directly to evernote and not have to select it from the scansnap list every time. I need to have it in my printer list to be able to do that.





copying photos from an I phone 4s that is not on your itunes


I bought a phone off E bay that had a broken screen. The person that I bought it off has asked me if I can fix it could they have the photos it had an app locker on it and have disabled that but they cannot remember what the I tunes password was so cannot access the camera role folder. Can anybody help. I need to wipe the phone as its a Christmas gift and don't want to get rid of the photos as they are all of the blokes family.





spaces switching unexpectedly on osx yosemite


I'm having an issue where my spaces keep randomly switching without me doing anything.


I haven't managed to work out any sort of consistency to the behaviour yet so impossible to reproduce, but I'm trying to find out if anyone's had the same problem and knows how to fix it?


I'm running OSX 10.10.1 on a Late 2008 aluminium MacBook.





How to run a sudo command on mac? .. problem with mysql server


I 've installed mysql server with brew, and i need to run manually this command each time my computer start to make it work with an application that I can't edit.



sudo mkdir -p -- /var/run/mysqld/ ; sudo ln -s /tmp/mysql.sock /var/run/mysqld/mysqld.sock


What I can do to call this automatically? I tried with Automator, but I don't want to enter my password each time, what is the right way to run this or to fix this? (may changing permissions and running this as normal user)


Mysql is running with my normal user, not root.





Notes iCloud sync fail Yosemite and IOS8


Notes appear not to be syncing reliably. There are other questions but appear to be about older versions.


No two of iCloud, IOS and Mac seem to be fully in sync


All my old notes seem to be OK. Probably sync by wire under iTunes

My email seems to sync correctly


iCloud shows all notes over a year old in its list (but then shows ion screen the one I just typed in on my IPhone)


iPhone and Mac seems to be in sync for up to last Monday (Note as Monday 22nd now it looks odd for iPhone to show Monday for notes update on 15th Dec)


How do I force a sync


How do I debug this - what logs etc





iPhone / iPod music problem


How can I delete the music from my iPhone WITHOUT deleting it from my iPod?? Also, how to prevent it from just automatically loading them all back on when I sync my phone/computer. This is what happened last time, and why I don't have enough space on my phone! AGAIN.





Yosemite on Macbook pro - Memory constantly almost full


My Macbook is a late 2013 model with 8GB's of memory. I've recently been experiencing a scenario whereby my memory is constantly at 99% of the 8GBs I have, but there's no clear culprit on which application is using all the memory - it just seems like they all are using too much memory. Here's my activity monitor:


enter image description here


It leads to programs not responding, files not being able to be opened due to lack of memory, claims that I need to reinstall applications and general issues that are associated with a lack of memory. Killing processes only temporarily fixes it - the memory just seems to leak anyway, and restarting only offsets the problem for a while.


As you can see, my memory pressure is fine, and no apps are using a ridiculous amount of memory. My CPU Usage is fine.


Would love to know if anyone's experienced anything similar, or if they've any ideas on how to resolve this.


Many thanks!





How can stop or reduce music duplication in Itunes?


I keep all of my music in a folder on my back up drive. I use Media player to edit and genre categorize the music. Then copy / transfer the folder to Itunes which converts the music to ACC format.


My problem is when I add a new song or album(s) to my master folder, Itunes wants to copy the whole folder again causing massive duplications and it wants to change my genre categorization on some songs.


It also sometimes takes songs in an album and separates them listing each separately. So instead of on e album listing 15 songs. I get 15 listings of the album with one song listed.





Erase all content and settings after accidental restore from wrong backup


I accidently set my husbands new Iphone 6 up under my back up. Now, when I receive texts he receives them too. Its making it appear that I have two phones. We share an ICloud account. Can I do a complete "erase all content and settings" to fix his phone? It wont deactivate his phone with Sprint?





Escape single quote in command in alias Terminal


I am working with SVN for version control, and whenever I'm ready to commit some changes, I have to stage them all with the following command:


svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2}' | xargs svn add


As you can see, it's quite complicated and I therefore went looking into making an alias for this command.


When opening ~/.bash_profile, I added the following line:


alias svn grab='svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2}' | xargs svn add'


However, there are some single and double quotes in the original command, so the alias fails to be created (ok, it gets created partially, and I can't use it).


How do I escape the single quotes in the command, so the alias will work?





How to change language of facebook interface in ipad2


I have ipad , I want to change language of facebook interface to Arabic I tried to change (Settings >> General >> Language & region >> Region) to Iraq and now its Iraq , then I uninstall facebook application and re-install again but interface still in English.





Does Not Accept Password


I have a Mid-2012 Macbook pro. When I try to login it doesn't accept my password, and I am pretty sure it is my password. I tried multiple times, it still doesn't accept it. I know you do Command-S and that stuff, but when I press it, it doesn't go to it. Even with others like Safe Mode, or Recovery Mode it doesn´t go to there. What should I do ?





Admin privileges requiring for installing a package build though Packages


Using osx 10.9 and packages for making package installer.


While installing a package made using Packages in /Applications location on a osx 10.9 machine, installer is asking for Admin password. Even though I had unchecked 'Require admin password for installation' while package making.


So, how to avoid this i.e a non-admin user should install this package. Package should install in /Applications location, so that non-admin user can use the app.


I check this and this





Suggestions for objective-c to login via code into mac osx


I need to enhance a daemon (running as root) on macOSx in such a way that if client sends username and password over socket to daemon then it makes that user to log in, who is currently logged out not locked


I searched and found that if machine is locked it can be opened (ie knock to unlock, NameAndPassword) but could not search for logout user


is it possible??





Is it possible to NOT password protect certain apps on iPhone?


I have several apps that I use a lot and have to key in security code to use each time. One of the most frequently used is a birdwatching app used out in the field. I have resorted to turning off the Passcode Lock when birdwatching and setting an alarm to remind me to turn it back on in a few hours. A bit of a pain and not so secure. Is there a way to simply make some of these apps not password protected? If someone wants to illegaly look at my iBird App, that's ok with me. Thx.





How can I disable kext signing in Mac OS X 10.10 Yosemite?


I know the disadvantages of disabling kext signing, but I was wondering how I can actually disable this on Mac OS X 10.10 "Yosemite"?


Kind regards, Stijn





Iphone headphones volume very low on certain apps


I have the new in ear headphones from apple.


I don't know if it's fault of the headphones, but the volume for certain apps, especially calling, and podcast, is very low! I mean when I'm driving the sound of the engine or the wind is stronger and even if I use the phone external speaker I can hear more.


Some apps, like music apps have a slightly louder volume.


Is this normal? It's the headphone fault, or something related to ios and there's nothing to do about it?


Thanks





How to validate authenticity of app downloaded from App Store?


How can I be sure that an app I download from the App Store is indeed from the vendor it is supposed to be? Anyone with a developer account can potentially pretend to be for example "a bank" and sell a fake app through the App Store.


The only way I can think of is that you go to the website of your bank, verify the SSL certificate and from there follow a direct HTTP link to the App Store.


Any other way of making sure the app is authentic?





OS X Mavericks extra desktops (spaces) opening seemingly randomly


I don't often use mission control, or extra desktops (spaces). Every so often, I do open mission control by mistake, and I have dozens of spaces showing at the top of the screen.


Is there a shortcut key or something that I am pressing accidentally in my workflow that is opening them? A google search doesn't show anything obvious. Is there a way I can prevent them from being opened at all?





Twitter notifications on ios appears just for selected users. I want the same in Yosemite


In iOs you can setup notifications in order to receive them only from users you activate them for.


Is it possible to achieve the same in Yosemite notification center?


Thanks





VBox shared folder is not keeping file owners


I'm trying to find a right set of options for mount vboxsf working under OSX to preserve user ownership in the created files.


When I'm running command like that



sudo mount -t vboxsf /Users /mnt/test


everything what I store in folder /mnt/test is stored with the ownership of root no matter what is the actual UID of the process trying to store there.


There are options for mounting vboxsf like uid and gid. However when I use them everything will be stored under the selected uid/gid.


I'm looking for a solution preserving properly owner of the files. Is that possible?





iPod touch 1 recall


I have a iPod touch 1st generation and was about to sell but somebody said to me to get in touch with Apple because apparently they are recalling them and I could get a iPod touch 5th gen? Is this right, and if so how could I do that?





Programmatically send text message through Messages app on OS X 10.10


With OSX 10.10 you can now send and receive text messages through your phone, from your mac. Is it possible to do this programatically? Either via applescript or a reverse engineered API?





Unicode font changes depending on input in text box


The letter ℂ, which is unicode U+2102 behaves strangely in Keynote. If presented by itself in a text box, one font is displayed. However, if it is prepended with the letter 𝔻, which is unicode U+1D53B, a different font is used. I'd like the fonts for all double struck characters to be the same, but I'm finding it impossible to get ℂ by itself in the same font as 𝔻. How can this be done?


The screenshot below shows this phenomenon in Keynote. The font has not been changed to get from the first rendering of ℂ to its rendering in 𝔻ℂ. Deleting the 𝔻 makes the font of ℂ revert back to the first one.


C and DC





How to resolve weird auto-logout issue?


Synopsis


Since upgrading to Yosemite, when my MacBook automatically turns it's screen off to conserve energy it also logs out which bugs me because all of my processes are killed off; this never occurred on Mavericks.


Also, since upgrading to Yosemite why is there now two log-in screens?



  • When the machine is booted there is one login screen;

  • When the machine is powered on from sleep mode you instantly need to login, then once the mac has booted and all devices are loaded (after ages) you need to login a second time;





Set hours in week view in calendar


Is there any way to set hours I want to see in Week view in Calendar? I do not need hours marked with red ellipsis's and need only hours marked with blue rectangle. If I try to resize window, then it compresses the whole view, i.e. everything becomes smaller and still shows hours I do not use... How can I make Calendar to show only specified hours in Week view, which is most convenient in my daily activities - need to see the whole week at once. enter image description here





Block web page containing a specific word in safari


I would like to know if there is any mac safari plugin to block any web page containing a specific word in its url or in its content.


For example, suppose we take the word 'abc', the following link must be blocked : wwww.dfrrraabc.com


A web page containing 'abc' in its content must also be blocked.


I don't know if a plugin like this already exists for safari.





automount problems


I have a Yosemite Mac Mini with performance problems. When looking at the disk activity with opensnoop I noticed that automount is performing tons of accesses as follows



UID PID COMM FD PATH
0 1124 automountd 4 /etc/auto_home
0 1124 automountd 6 /etc/auto_home
0 55536 od_user_homes 5 /System/Library/OpenDirectory/request-schema.plist
0 55536 od_user_homes 7 /usr/libexec
0 55536 od_user_homes 7 /usr/libexec
0 55536 od_user_homes 7 /usr/libexec/od_user_homes
0 1124 automountd 4 /etc/auto_home
0 1124 automountd 6 /etc/auto_home
0 1124 automountd 6 /usr/libexec/od_user_homes
501 464 syncdefaultsd 4 /Users/corti/Library/SyncedPreferences/.dat01d0.559
0 1124 automountd 6 /usr/libexec/od_user_homes
0 58 opendirectoryd 9 /var/db/dslocal/nodes//Default/users/corti.plist
0 55537 od_user_homes 5 /System/Library/OpenDirectory/request-schema.plist
0 55537 od_user_homes 7 /usr/libexec
0 55537 od_user_homes 7 /usr/libexec
0 55537 od_user_homes 7 /usr/libexec/od_user_homes
0 58 opendirectoryd 9 /var/db/dslocal/nodes//Default/users/corti.plist
0 55538 od_user_homes 5 /System/Library/OpenDirectory/request-schema.plist
0 55538 od_user_homes 7 /usr/libexec
0 55538 od_user_homes 7 /usr/libexec/od_user_homes
0 55539 od_user_homes 5 /System/Library/OpenDirectory/request-schema.plist
0 55539 od_user_homes 7 /usr/libexec
0 55539 od_user_homes 7 /usr/libexec
0 1124 automountd 4 /etc/auto_home
0 1124 automountd 6 /etc/auto_home
0 1124 automountd 6 /usr/libexec/od_user_homes
0 55540 od_user_homes 5 /System/Library/OpenDirectory/request-schema.plist
0 55540 od_user_homes 7 /usr/libexec
0 55540 od_user_homes 7 /usr/libexec
0 1124 automountd 4 /etc/auto_home
0 1124 automountd 6 /etc/auto_home
0 1124 automountd 6 /usr/libexec/od_user_homes
0 55541 od_user_homes 5 /System/Library/OpenDirectory/request-schema.plist
0 55541 od_user_homes 7 /usr/libexec
0 55541 od_user_homes 7 /usr/libexec
0 55541 od_user_homes 7 /usr/libexec/od_user_homes


Hundreds of access per second. Is this normal? What could be wrong?





Can you disable Trackpad gestures for specific applications?


I was wondering if I could disable trackpad gestures, such as the four finger swipes, for specific applications. i.e. I want to set custom shortcuts for games, like macro keys, instead of the default gesture action.


I've already installed BetterTouchTool that can set the "macro's", but I need something to disable the default gestures when it's running a specific application.





Screen bug - Yellow pattern all over application windows


I've been using my iMac (mid-2011, OS X Yosemite 10.10.1) without any problems since I purhaced it. However, today a distracting yellow square pattern started to appear. It only appears over application windows, ie. I can't see any pattern over my desktop, but my browser is covered with it. It doesn't appear on every window, but almost all of them. The pattern moves if I scroll and it does change if I refresh a webpage. It also appears on screenshots I take.


I've tried rebooting and updating my OS without any change.


Example screenshot:


Example screenshot


What could cause this and is there anything I can do to fix it?





Iphone not synicing


Well I have an iphone 5. It wasnt updated and it wasnt syncing then i updated and still it did not sync. I do not purchase my music in itunes. I get it offline. I download about 5 songs and it wont sync to my phone. What have I done? :I turned my phone on and off. : I went into icloud and deleted account then signed back on. I just have no clue in what to do. Somebody please help.





how do i stop my table from jumping to the next page when it gets too big?


How do I stop my table from jumping to the next page (and leaving my text on the first page) when it gets too big?