An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#26981 - 10/03/13 03:18 PM 10.8.5 Supplemental makes "mach_kernel" visible
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
I just installed the 10.8.5 Supplemental updater.

Apple apparently messed up, so that now, "mach_kernel" is visible on the HD.

I suppose there is a Terminal command or such, but I know not what it is or how to do it.

What is the best way to again make this invisible?
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26982 - 10/03/13 04:07 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
jchuzi Offline


Registered: 08/04/09
Loc: New York State
I assume that the following works in 10.8 as well as in previous incarnations of OS X:

Rename mach-kernel by putting a period in front of the name, making it .mach-kernel
_________________________
Jon

OS 10.14.5, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365

Top
#26983 - 10/03/13 05:19 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: jchuzi]
dkmarsh Offline

Moderator

Registered: 08/04/09

Since mach_kernel, despite not normally being visible, is not preceded by a dot in a normal installation, I'd be disinclined to fix its abnormal appearance with an abnormal renaming. A better approach would be to change its file flag via Terminal's chflags command by typing

sudo chflags hidden /mach_kernel

and hitting Return. At the password prompt, one would type one's administrator password (note that no manifestation of the password-entry keystrokes will appear) and hit Return again.
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top
#26984 - 10/03/13 07:21 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: dkmarsh]
MarkG Offline


Registered: 08/06/09
Installed on a backup drive and sudo chflags hidden /mach_kernel did the trick.
I think I will wait for Apple to release an update to their update. Surprisingly Onyx did not make it invisible.
As a side note the new iTunes still has the many many repair permissions not repairing


Edited by MarkG (10/03/13 07:28 PM)

Top
#26985 - 10/03/13 08:07 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: dkmarsh]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
I must be doing something wrong. This is what I get:

Last login: Thu Oct 3 23:00:01 on ttys000
Harv:~ harvey$ sudo chflags hidden /mach_kernel

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:

I am certain my password is correct and the Shift key is disabled (as normal).

Any suggestions?

P.S. I just discovered that MacPilot has the capability to: "Make Items Invisible".

I have not done that yet, but do you think it's worth a try?


Edited by Pendragon (10/04/13 03:45 AM)
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26986 - 10/04/13 04:34 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
dkmarsh Offline

Moderator

Registered: 08/04/09

Quote:
Sorry, try again.
Password:

That's consistent with an incorrectly entered password, so I don't know what to tell you. I suppose you could type your password into a text editor or a word processor to be certain that it was correct, then cut & paste it into the Terminal window. I tried that and it worked as expected. This would rule out the possibility that you were somehow entering something other than what you thought you were.

Of course, you'd then want to replace your hard drive before the NSA could extract your password from the residual bits... wink
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top
#26987 - 10/04/13 04:49 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: dkmarsh]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
Arrrgh! I just tried the copy & paste trick to no avail. I have used Terminal in the past and of course had to enter my PW, always without issue.

Might there be a place in Keychain I can verify my Admin PW?

Indeed I am confused and am now concerned that my Admin PW no longer works.

So I went to System Preferences/Users & Groups, and then was successful in unlocking my Admin account, so that indicates (to me) that what I believe to be my PW is just that and that I can enter it ok. I can also unlock my Keychain (same PW) confused

Have you other suggestions?
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26988 - 10/04/13 07:16 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
The Saga…

1. I booted in to the volume with the Supplemental on it to ascertain if my password would work as as I presumed.
2. I then concluded (perhaps foolishly) that something must be interfering/conflicting when I entered my PW in Terminal.
3. So I rebooted in Safe Boot and then tried to execute the commands as suggested. And voilà. The file is again hidden. Good news me thinks, indeed a very clever chap that Harvey guy…
4. But speaketh not too fast. When I attempted to boot out of Safe Mode, I discovered the volume was no longer bootable. The "mach_kernel" was not made invisible, it was deleted!
5. My vocabulary was then exercised to its full…
6. I have now replaced the "bad" volume with a known (pre-Supplemental) volume and all is again, right with the world. At least for now.
7. Perhaps I had a corrupted download--I really haven't a clue, only guessing. For sure I'm confused. Not since 1984 have I had such grief with an updater.

By the time I recover from this mish-mash, Mavericks will be released; and I am certain to give it go. In any event, the new OS will again be on an external backup.
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26989 - 10/04/13 06:38 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
dkmarsh Offline

Moderator

Registered: 08/04/09

Wow! Sure glad you had a good backup.

How exactly did you determine that mach_kernel had been deleted?
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top
#26990 - 10/04/13 07:16 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
MarkG Offline


Registered: 08/06/09
The new combo update works fine for me and includes the supplemental. It was only the Supplemental Update by itself that caused me any problems on my backup disk. Good Luck

Top
#26991 - 10/05/13 04:56 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: dkmarsh]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
Originally Posted By: dkmarsh

Wow! Sure glad you had a good backup.

How exactly did you determine that mach_kernel had been deleted?


A well asked question. Alas, I did not truly determine that the mach_kernel had been deleted, only presumed such as the volume was no longer bootable (ad nauseam grey screen, no spinning, no logo, nada).

Now that you ask, I should have done a search from a different/bootable volume. But the cursed volume has now been SuperDupered with a good/valid 10.8.5, so no value in searching that.

Doing a search (as you allude) may have proven interesting, very interesting. And perhaps even valuable. With I hadda thought of that…

Mark, I did use the Combo updater. Is your mach_kernel visible?

I can't believe Apple would allow such a potentially harmful condition to persist.

As so many folks fussed about that condition, I wonder if Apple published a silent updater. (My update was within 10 minutes of release. Perhaps I jumped the gun…)

Now that I know what to expect, I may try a fresh download--especially if the Supplemental has been supplemented.

Suggestions, thoughts, & musings always welcome (and appreciated).

_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26992 - 10/05/13 06:15 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
In light of Mark's post, I decided to again DL the Supplemental/Combo updater and install it on a backup volume. Voilà! And joy throughout the kingdom. No visible mach_kernel.

Still, I'll test it more throughly before installing it on my primary drive.
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26993 - 10/05/13 09:18 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
Ira L Offline


Registered: 08/13/09
Loc: California
Originally Posted By: Pendragon

As so many folks fussed about that condition, I wonder if Apple published a silent updater. (My update was within 10 minutes of release. Perhaps I jumped the gun…)


I thought the same thing, but an update I did the morning of 10/05/2013 still produced a visible mach_kernel.

Perhaps someone could comment on the "danger" of having this file visible, absent it being deleted.
_________________________
On a Mac since 1984.
Currently: 27" iMacs, Macbook Air, macOS 10.14.x,; iPhones, iPods and iPads galore!

Top
#26994 - 10/05/13 09:31 AM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Ira L]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
I wish I knew what to say, Ira. I did the combo update a few hours ago and all is dandy. I believe I got the 10.8.5 (Supplemental) Combo updater Here.

If your update came from elsewhere, perhaps this link is worth a go.

Sorry my help is not so much…
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26995 - 10/05/13 12:47 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Pendragon]
MarkG Offline


Registered: 08/06/09
The original download was through Software update on a backup drive and had the mach_kernel displayed. I then followed dkmarsh's terminal instructions (
sudo chflags hidden /mach_kernel) and it hid the file. I had no problems with that drive. I then tried the new combo updater from10/3 OS X Mountain Lion Update v10.8.5 (Combo) and had no problems with that installations or on another backup drive and they installed without the mach_kernel being visible. So I finally got up the nerve to install on the main drive with the new combo and no problem either as that was hidden also .So far so good on all drives

Top
#26996 - 10/05/13 02:27 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: Ira L]
joemikeb Offline

Moderator

Registered: 08/04/09
Loc: Fort Worth, Texas
Originally Posted By: Ira L
Perhaps someone could comment on the "danger" of having this file visible, absent it being deleted.

The primary purpose of making files invisible in OS X is to protect them from being inadvertently damaged by the uninformed user. The
Quote:
"I don' know what that is so I will delete it, etc."
school of file management. Apple keeps them them out of harms way by keeping them out of site. I have known a few users who habitually run with invisibility turned off and their systems work perfectly well. I tried running that way for an hour or so several years ago, but the folders were so cluttered with normally invisible files I found I really did not like it and quickly switched back. These days if I want to find an invisible file or folder for any reason, I use the "Go" menu in Finder or turn on the "File invisible" attribute in a Finder Search window.
_________________________
joemikeb • moderator

Top
#27017 - 10/07/13 02:00 PM Re: 10.8.5 Supplemental makes "mach_kernel" visible [Re: joemikeb]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
it's also to stop them from outright screwing things up.

I've almost lost count of the number of users that have dug around in their iphoto or iTunes library files and decided to start organizing it. (or simply started renaming folders or tracks) "Why are my pictures all there (thumbnails) but when I click on them it shows a big question mark?"

They package it now. But hiding ~/Library, THAT I find a continuous nuisance.
_________________________
I work for the Department of Redundancy Department

Top

Moderator:  alternaut, dkmarsh, joemikeb