I just bought into the Apple Developer Program and installed the latest Lion
Preview on a separat partition. So I could start testing. I gave it a quick
shot but the AJ 1.6 installer refuses the OSX 10.7 partition.
Does anyone have the skill, time and energy to start working on AJ 1.7 with me
as tester?
Greetings
Thomas_U
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a little programming knowledge but am willing to help in anyway I can
for Lion development. Let's try and roll the Lion version out a little faster
this time. If that means $$$, manpower, or just plain will, whatever it takes
!
I have made sever donations over the years because THIS FREE PROGRAM HAS SAVED
MY REAR END AND EVEN A JOB !
And I am sure there are a few more out there like me as well. But let's not
forget the fact that it still takes resources so PLEASE SUPPORT THIS IN ANYWAY
YOU CAN !!
FS
Systems Admin
4 Xserves 50 Clients
6 ipads, & 12 I-Phones
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-09
I'm in for supporting the development as well, I'm not a programmer but I'd be
willing to help in any way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I posted this to the applejack-report mailing list, but for those who don't
subscribe, I'm cross posting this here:
Hello,
As you may or may not be aware, Apple has mandated the creation of a ~655MB
"recovery" partition as part of a Lion install/upgrade. This partition
replaces the functionality of the traditional OS X install DVD, providing
access to Disk Utility, Terminal, etc. What this means is that much of the
reason for installing Applejack may no longer exist. Given a Mac with Lion
that won't boot, users will immediately have the option of booting to the
recovery partition and performing operations like clearing caches and fixing
disks and permissions using OS X tools in that recovery area.
As such I wanted to solicit YOUR input - do you think a Lion compatible
version of Applejack is still needed? Is there a use case you can imagine
where Applejack would be more helpful than the Apple recovery partition? Do
you plan on actively removing the recovery partition?
Thanks for your input and time,
-Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-20
Steve,
in my opinion the lion recovery partition does replicate much of the
functionality of AppleJack however I do believe applejack's simple,
streamlined and single user interface is a nice easy way to jump right into
the tools vs the recovery partition. I need to read more on Lions built in
partition and recovery mode but I'm not sure that the partition is created on
existing macs(I was under the impression its on all the new macs released
today and moving forward)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a stupid feature in company. I don´t need a zillion recovery
partitions in an environment that supports netboot or where a „rescue drive“
is always here. And last but not least I don´t want to give away 640MB from an
expensive SSD drive.
While testing I installed Lion on two partitions of a USB disc, and now it
contains two(!) recovery partitions.
Plus, I haven´t tested what happens if I retry to resize the partition, since
now the recovery partition is in it´s way.
I would see this partition as a good feature for home users. However, those
people use i.e. Onyx anyway. I´d like a cent for every time I heard „Wow! Now
it is completely broken!“ when just booting into single user mode. ;-)
So, yes, I absolutely see a future for applejack as the pro-tool it had been
always.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I too am really concerned that I will be forced to add unnecessary partitions
to my expensive SSD drives on my 12 iMacs. Only experience will tell if we
will be able to delete this partition. Please develop a new version of
Applejack. I will be happy to make a financial contribution as always. Thanks
for a wonderful piece of software. Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the input everyone, I upgraded my computer to Lion today and
started working on Applejack 1.7. So far it looks like Apple has changed
Single User Mode and the services much less since Snow Leopard than they
usually do between version of OS X. Consequently, I'm cautiously optimistic
that we should be able to get the update done much faster than it took to do
Applejack 1.5 and 1.6!
-Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-21
perhaps its easier to make it a script that you can use while in recovery mode
via terminal instead of single user mode.
I have no knowledge of programming so if that sounds stupid disregard.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Deleting that partitions should not be too difficult, I already saw the
commands in the web, but didn´t test. You erase the volume and then combine
the partitions - both are options of the „diskutil“ command.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since the lead developer seems to take months to update AppleJack, I propose
we fork AppleJack into a project that is more actively developed, no real
changes, just put someone (or a couple people) in charge who will test the
code on Developer Previews and have an updated version ready when the major
updates drop. While I respect the work the lead developer does on AppleJack,
either update the software or mark it as legacy and move on, don't leave users
guessing if you will update it or not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And to be clear, I would gladly step up, learn more BASH, and fork the project
myself, but I'm simply too busy with law school. I'm not going to start a
project and leave everyone hanging like some people.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-18
Greetings,
I ran a clean install (not a system upgrade) of 10.7 Lion and then used the
"Migration Assistant.app" to grab my app installations from the 10.6.8 Snow
Leopard installation I was using previously. Apparently it also migrated my
AppleJack 1.6 installation.
Not paying attention to what I was doing while using the machine (Mid-2010
White MacBook 2.4GHz 7,1) I decided to run AppleJack 1.6 like I do normally
(at least once monthly), using the command
applejack AUTO restart
after safely booting into single-user mode.
Immediately after doing so I realized my folly, I was running this software
that is untested on the OS X 10.7.1 Lion system, crossed my fingers and let it
complete realizing It would probably be worse to try and interrupt it once
underway. To my surprise, it completed all tasks as far as I could tell
without issue and was waiting patiently for me at the Lion login screen when I
returned. I've been using it for a full day now with no noticeable issues or
problems.
Perhaps this information could prove useful for development of a 10.7.x
compatible version of Applejack. I will backup my system as is, install a RAM
upgrade, boot again into single user mode and try the (optional) Memtest suite
I usually install as well to see if the memory and Memtest work as expected. I
will also run AppleJack again using the command (without quotes)
applejack AUTO restart
after safely booting into single-user mode and determine if any tests had
issue, did not run, or cropped up any errors.
If there is a log file or the like that I can submit that would help, please
let me know. With my system backed up, I won't mind being a bit more cavalier
about seeing what happens running AppleJack and Memtest on this OS untested.
Please let me know if there is any other ideas of what I can do help out this
seriously awesome project and software.
Maurice
moreese11 AT g mail DOT com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Although Applejack reports an error fixing permissions, then skips it, this
doesn't seem to be recorded in the log.
It's probably excessive, but I still use it in Lion after running:
• MainMenu (a general maintenance / optimization utility similar to Onyx,
MacKeeper etc.)
• CleanMyMac (slimming app - seems to hit caches that are missed by MainMenu)
• Recovery Partition (for ResetPassword's reset ACLs - launched by typing
"resetpassword" in the Terminal).
Is it really that difficult to update Applejack to Lion's permission script?
(it would be for me, but code is something I'm only capable of re-using, not
writing)
Applejack log ********** * AppleJack 1.6, Revision: 1.144 * * Copyright (c) 2002-10 Kristofer Widholm, The Apotek * Fri Dec 2 21:33:02 SAST 2011. Gathering information... - User ID: 0, NAME: root - OS Version: 10.7.2 - According to dynamic_pager, virtual memory is located at /private/var/vm. - Local root filesystem is journaled This version of AppleJack supports only Mac OS X versions 10.4.x and above. It's advisable to not use it unless you absolutely have to. For Mac OS X versions prior to 10.4.x, please use AppleJack version 1.4.3! AppleJack will repair disks in 10 seconds. Disk repair Success! Either your disk had no errors, or it was repaired successfully. Done with disk repairs -0- AppleJack will repair permissions in 10 seconds. Permissions repair - All supporting services appear to be loaded. Permissions have been repaired. -0- AppleJack will cleanup cache files in 10 seconds. Cache file cleanup Let's mount the startup file system for write access...
Done.
Checking for /tmp directory:
/tmp directory exists.
Done.
Removing system cache files:
/System/Library/Caches/com.apple.Components2.SystemCache.Components
/System/Library/Caches/com.apple.Components2.SystemCache.QuickTimeComponents
/System/Library/Caches/com.apple.IntlDataCache.le
/System/Library/Caches/com.apple.IntlDataCache.le.kbdx
/System/Library/Caches/com.apple.bootstamps/79387B17-9A67-3DC0-AD39-A6AC5B8E20
58/:usr:standalone:i386:Firmware.scap
/System/Library/Caches/com.apple.bootstamps/79387B17-9A67-3DC0-AD39-A6AC5B8E20
58
/System/Library/Caches/com.apple.bootstamps
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/battery.efi
res
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/disk_passwo
rdUI.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/flag_picker
.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/guest_userU
I.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/loginui.efi
res
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13.ef
ires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/preferences
.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/unknown_use
rUI.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations
/System/Library/Caches/com.apple.corestorage
/System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extens
ions/KextIdentifiers.plist.gz
/System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extens
ions
/System/Library/Caches/com.apple.kext.caches/Directories/System/Library
/System/Library/Caches/com.apple.kext.caches/Directories/System
/System/Library/Caches/com.apple.kext.caches/Directories
/System/Library/Caches/com.apple.kext.caches/Startup/IOKitPersonalities_x86_64
.ioplist.gz
/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
/System/Library/Caches/com.apple.kext.caches/Startup/KextPropertyValues_OSBund
leHelper_x86_64.plist.gz
/System/Library/Caches/com.apple.kext.caches/Startup
/System/Library/Caches/com.apple.kext.caches
/System/Library/Caches/com.apple.xpchelper.cache
/Library/Caches/com.apple.AutoTimeZone.plist
/Library/Caches/com.apple.Components2.LocalCache.AudioComponents
/Library/Caches/com.apple.Components2.LocalCache.Components
/Library/Caches/com.apple.Components2.LocalCache.QuickTimeComponents
/Library/Caches/com.apple.DiagnosticReporting.Networks.plist
/Library/Caches/com.apple.FindSystemFiles.plist
/Library/Caches/com.apple.ImageCaptureExtension2.ICADeviceDatabase.501
/Library/Caches/com.apple.ImageCaptureExtension2.ICADeviceDatabase.502
/Library/Caches/com.apple.ImageCaptureNotifications.DeviceDiscoveryDatabase.50
1
/Library/Caches/com.apple.ImageCaptureNotifications.DeviceDiscoveryDatabase.50
2
/Library/Caches/com.apple.itunesstored/url-resolution.plist
/Library/Caches/com.apple.itunesstored
/Library/Caches/com.google.UpdateEngine.Framework.0/Downloads/com.google.Chrom
e.dmg
/Library/Caches/com.google.UpdateEngine.Framework.0/Downloads
/Library/Caches/com.google.UpdateEngine.Framework.0
/private/var/db/volinfo.database
/private/var/db/BootCache.playlist
Done removing system cache files.
Done with cache file clean up task.
AppleJack will validate preference files in 10 seconds.
Validating preference files
Root file system already mounted. Continue.
Checking mach init preference files (/etc/mach_init.d):
Done. -0-
Could you please put the updated script in CVS here or simply upload it
somewhere or post a diff? I'd like to complete my Lion installation with
AppleJack ;-)
And yes, it's still a very valuable tool. The recovery partition is all but
mandatory, I installed Lion on another drive and then cloned the system with
Carbon Copy Cloner, so, no recovery partition at all. Would be a waste of
space anyway (yes, RAID array ;-))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you please put the updated script in CVS here or simply upload it
somewhere or post a diff? I'd like to complete my Lion installation with
AppleJack ;-)
Hello, I just committed my integration of ultramathman's changes into the
script and cleaned some stuff up. This has not been tested by more than two
people, and I am probably never going to install Lion, so have only tested it
on older systems. Use caution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please be careful with CarbonCopyCleaner: Lions new feature „versions“
requires a copy to have identically inodes. This is not possible with any file
copy tool. So it´s OK for brandnew installed systems, but you cannot copy a
already used system without losing your history.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the reminder, but that's well documented and even expected
behavior, since Versions isn't the most robust feature anyway. All those who
rely on saving different versions are getting bad surprises, since other
operations like duplicating in the Finder don't care for the versions as well.
It would be a lot more robust and transparent if they used the HFS extensions
as they do for resource forks, Finder flags and many other stuff. But they
(Apple) can't think straight anyway.
Just think about the Type/Creator codes that worked beautifully since the
beginning of time, just to be made obsolete by the Snow Leopard finder who
simply ignores them, replacing them with a terrible kludge involving a
fixed-length resource fork (yes, resource fork, even though Apple declared
those depreciated with 10.0) containing the absolute (!) path of the
associated application. Really, can't imagine what they were smoking there.
They could simply use the extended attributes to replace the type/creator
stuff, but chose a resource fork and absolute path instead.
I just stumbled across that problem where your desktop icons get randomly
moved from their assigned position. .DS_Store files everywhere, but the Finder
is too damn stupid to actually use them properly.
Elegance and Mac OS are two different concepts for a couple years now, and
that just continues with Versions, to get full circle here ;-)
Rant over...
Anyway, thanks for updating AppleJack, I will try it ASAP!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Regarding flying desktop icons, I keep a little program called FinderWindow in
my Finder windows toolbar which saves and restores your Desktop icons
placement if they get out of wack. It does some other things as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
kwidholm
Hello, I just committed my integration of ultramathman's changes into the
script and cleaned some stuff up. This has not been tested by more than two
people, and I am probably never going to install Lion, so have only tested it
on older systems. Use caution.
I can confirm AJ to be running just fine on my MBP4,1 with 10.7.3. Thanks to
ultramathman an Kristofer for publishing this, I really missed AJ on x.7!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Speaking of which, I imagine it's not an easy task for most users to compile
AJ from the source in CVS, but on the other hand it might offend folks here to
offer bespoke version somewhere else. It might help people out there, … Kris,
what do you think?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone, I am sure that I am not alone when I say that Applejack for Lion
is sorely missed. I and many others would be more than happy to pay for this
'must have" utility. From this post, it seems that the code is now ready.
Please could someone compile it into a usable app or publish instructions on
how to install the code that is available. I for one, would be extremely
grateful.
Thanks, Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guys...? I'm a bit confused here. What's to compile, exactly?
I prefer the pure Unix style solution myself. Just take that shell file, place
it whereever you like, like /usr/local/bin, or, for added convenience
/usr/bin, you could rename it to "applejack" as well, change permissions so
that it's executable (chmod a+x applejack) and that's it. All that bundling is
just for convenience, the shell script is self-contained.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, „usually“ the applejack installer package contained at least memtest and
a manpage.
I downloaded the project and was confused - it looked like a complete Xcode
project. Correct me if I´m wrong, but nobody sets up a complete Xcode project
just to write a single file shellscript? At least that was what I was
thinking… …probably that was wrong.
However, I prefer packages to do an Apple Remote Desktop remote installation.
If I knew which files are required I could build the pkg myself, but I do not
know them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you have upwards of 50 workstations to maintain, an app is far easier to
install than installing multiple shell files. Also, looking at the CVS archive
and not being a developer, I am not sure what scripts need to be installed to
create a complete up to date installation of Applejack. Could someone at least
please publish a list of files and an idiots installation guide for the
scripts. Alternatively, a fully installable app would be much appreciated.
Thanks Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could someone at least please publish a list of files and an idiots
installation guide for the scripts. Alternatively, a fully installable app
would be much appreciated
That's a 'me too'. If I'd only know which files to replace…
Thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/private/var/root/.profile applejack installer adds
or modifies this file in
order to create an alias
to applejack in the root
user's environment.
/private/var/log/AppleJack.log applejack outputs the
results of its work in
this log file. The log is
reset automatically when
it reaches a size of 500
kilobytes or more.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just ran into the situation, where a 10.7.x proof version of AJ was needed. Failing to remember my prior efforts, I dl'd, recompiled and read it all again to be back on the track.
Kristofer, if you do not appreciate the following steps and URL, tell me or have it removed somehow.
This link provides the v1.7 of AJ from CVS as of today: http://ion.li/projekte/_drop-box/applejack.sh
Do these steps in Terminal.app to update a priorily installed v1.6, it won't work right when you don't have v1.6 installed before:
su (you need to be an Admin and type in your pw)
cd /private/var/root/Library/Scripts/
cp (drag'n'drop the dl'd applejack.sh into Terminal.app)
chown root:wheel applejack.sh
chmod 0700 applejack.sh
Failing to understand this, do yourself a favour and just don't do it. All credits to Kristofer and ultramathman.
Last edit: patrick 2012-10-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Applejack for Lion? That's great news the last time I used the previous version I had to erase my computer and reinstall from back up =( the only time I've ever had trouble with the amazing wonderful Applejack!
Thank you.
Just ran into the situation, where a 10.7.x proof version of AJ was needed. Failing to remember my prior efforts, I dl'd, recompiled and read it all again to be back on the track.
Kristofer, if you do not appreciate the following steps and URL, tell me or have it removed somehow.
This link provides you with v1.7 of AJ: http://ion.li/projekte/_drop-box/applejack.sh Do these steps in Terminal.app to update a priorily installed v1.6, it won't work right when you don't have v1.6 installed before: - su you need to be an Admin and type in your pw - cd /private/var/root/Library/Scripts/ - cp drag'n'drop the dl'd applejack.sh into Terminal.app - chown root:wheel applejack.sh - chmod 0700 applejack.sh
Failing to understand this, do yourself a favour and just don't do it. All credits to Kristofer and ultramathman.
Yes but, NO. This is just a highly experimental offering. Nothing more and in no way official. Tip your hat to Kristofer and ultramathman, after successful testing, and don't forget to support the further development by donating. I certainly did (some time ago).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the work done. And instructions for proper install. I was a bit rustuy with Terminal but a few trials and it all went smooth. Did a reboot into AppleJack & did everything but Permissions... Well I did but it didn't repair anything - either they were okay or???
Thanks again - Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
I just bought into the Apple Developer Program and installed the latest Lion
Preview on a separat partition. So I could start testing. I gave it a quick
shot but the AJ 1.6 installer refuses the OSX 10.7 partition.
Does anyone have the skill, time and energy to start working on AJ 1.7 with me
as tester?
Greetings
Thomas_U
Hello Thomas,
Could you try grabbing the Applejack script from http://applejack.cvs.sourcef
orge.net/viewvc/applejack/applejack/applejack.sh and running it directly in
Single User Mode*?
*In Single User Mode, go to the directory where you saved the file, for example:
Then, make sure the script is executable with
Finally, run the script using the command
Tip: Hitting Ctrl+c will kill the script if it hangs, returning you to a
prompt.
Thanks!
-Steve
Thanks Steve. I´ll give it a shot come Sunday.
Greetings
Thomas_U
I have a little programming knowledge but am willing to help in anyway I can
for Lion development. Let's try and roll the Lion version out a little faster
this time. If that means $$$, manpower, or just plain will, whatever it takes
!
I have made sever donations over the years because THIS FREE PROGRAM HAS SAVED
MY REAR END AND EVEN A JOB !
And I am sure there are a few more out there like me as well. But let's not
forget the fact that it still takes resources so PLEASE SUPPORT THIS IN ANYWAY
YOU CAN !!
FS
Systems Admin
4 Xserves 50 Clients
6 ipads, & 12 I-Phones
I'm in for supporting the development as well, I'm not a programmer but I'd be
willing to help in any way.
I posted this to the applejack-report mailing list, but for those who don't
subscribe, I'm cross posting this here:
Hello,
As you may or may not be aware, Apple has mandated the creation of a ~655MB
"recovery" partition as part of a Lion install/upgrade. This partition
replaces the functionality of the traditional OS X install DVD, providing
access to Disk Utility, Terminal, etc. What this means is that much of the
reason for installing Applejack may no longer exist. Given a Mac with Lion
that won't boot, users will immediately have the option of booting to the
recovery partition and performing operations like clearing caches and fixing
disks and permissions using OS X tools in that recovery area.
As such I wanted to solicit YOUR input - do you think a Lion compatible
version of Applejack is still needed? Is there a use case you can imagine
where Applejack would be more helpful than the Apple recovery partition? Do
you plan on actively removing the recovery partition?
Thanks for your input and time,
-Steve
Yes one thing that Recovery Disk does not have a way to clear the swap Files there is no known utility that exist to do this other than AppleJack
YASU will do that http://jimmitchell.org/yasu/.
Steve,
in my opinion the lion recovery partition does replicate much of the
functionality of AppleJack however I do believe applejack's simple,
streamlined and single user interface is a nice easy way to jump right into
the tools vs the recovery partition. I need to read more on Lions built in
partition and recovery mode but I'm not sure that the partition is created on
existing macs(I was under the impression its on all the new macs released
today and moving forward)
This is a stupid feature in company. I don´t need a zillion recovery
partitions in an environment that supports netboot or where a „rescue drive“
is always here. And last but not least I don´t want to give away 640MB from an
expensive SSD drive.
While testing I installed Lion on two partitions of a USB disc, and now it
contains two(!) recovery partitions.
Plus, I haven´t tested what happens if I retry to resize the partition, since
now the recovery partition is in it´s way.
I would see this partition as a good feature for home users. However, those
people use i.e. Onyx anyway. I´d like a cent for every time I heard „Wow! Now
it is completely broken!“ when just booting into single user mode. ;-)
So, yes, I absolutely see a future for applejack as the pro-tool it had been
always.
Hi
I too am really concerned that I will be forced to add unnecessary partitions
to my expensive SSD drives on my 12 iMacs. Only experience will tell if we
will be able to delete this partition. Please develop a new version of
Applejack. I will be happy to make a financial contribution as always. Thanks
for a wonderful piece of software. Martin
Thanks for the input everyone, I upgraded my computer to Lion today and
started working on Applejack 1.7. So far it looks like Apple has changed
Single User Mode and the services much less since Snow Leopard than they
usually do between version of OS X. Consequently, I'm cautiously optimistic
that we should be able to get the update done much faster than it took to do
Applejack 1.5 and 1.6!
-Steve
perhaps its easier to make it a script that you can use while in recovery mode
via terminal instead of single user mode.
I have no knowledge of programming so if that sounds stupid disregard.
Deleting that partitions should not be too difficult, I already saw the
commands in the web, but didn´t test. You erase the volume and then combine
the partitions - both are options of the „diskutil“ command.
Good news, I updated the Applejack code so that it runs on my iMac in Lion.
Just emailed the update to Kristofer for review.
As noted by some, AppleJack is a great utility. I too look forward to its Lion
compatibility.
Looking forward to the Lion version as well. Pro's of Applejack vs the
recovery part from Lion for me are the auto-mode, speed and simplicity.
I also look forward to AppleJack working with Lion, it's the first thing I
suggest people stick on their new Macs =D
Since the lead developer seems to take months to update AppleJack, I propose
we fork AppleJack into a project that is more actively developed, no real
changes, just put someone (or a couple people) in charge who will test the
code on Developer Previews and have an updated version ready when the major
updates drop. While I respect the work the lead developer does on AppleJack,
either update the software or mark it as legacy and move on, don't leave users
guessing if you will update it or not.
And to be clear, I would gladly step up, learn more BASH, and fork the project
myself, but I'm simply too busy with law school. I'm not going to start a
project and leave everyone hanging like some people.
Greetings,
I ran a clean install (not a system upgrade) of 10.7 Lion and then used the
"Migration Assistant.app" to grab my app installations from the 10.6.8 Snow
Leopard installation I was using previously. Apparently it also migrated my
AppleJack 1.6 installation.
Not paying attention to what I was doing while using the machine (Mid-2010
White MacBook 2.4GHz 7,1) I decided to run AppleJack 1.6 like I do normally
(at least once monthly), using the command
after safely booting into single-user mode.
Immediately after doing so I realized my folly, I was running this software
that is untested on the OS X 10.7.1 Lion system, crossed my fingers and let it
complete realizing It would probably be worse to try and interrupt it once
underway. To my surprise, it completed all tasks as far as I could tell
without issue and was waiting patiently for me at the Lion login screen when I
returned. I've been using it for a full day now with no noticeable issues or
problems.
Perhaps this information could prove useful for development of a 10.7.x
compatible version of Applejack. I will backup my system as is, install a RAM
upgrade, boot again into single user mode and try the (optional) Memtest suite
I usually install as well to see if the memory and Memtest work as expected. I
will also run AppleJack again using the command (without quotes)
after safely booting into single-user mode and determine if any tests had
issue, did not run, or cropped up any errors.
If there is a log file or the like that I can submit that would help, please
let me know. With my system backed up, I won't mind being a bit more cavalier
about seeing what happens running AppleJack and Memtest on this OS untested.
Please let me know if there is any other ideas of what I can do help out this
seriously awesome project and software.
Maurice
moreese11 AT g mail DOT com
Although Applejack reports an error fixing permissions, then skips it, this
doesn't seem to be recorded in the log.
It's probably excessive, but I still use it in Lion after running:
• MainMenu (a general maintenance / optimization utility similar to Onyx,
MacKeeper etc.)
• CleanMyMac (slimming app - seems to hit caches that are missed by MainMenu)
• Recovery Partition (for ResetPassword's reset ACLs - launched by typing
"resetpassword" in the Terminal).
Is it really that difficult to update Applejack to Lion's permission script?
(it would be for me, but code is something I'm only capable of re-using, not
writing)
Applejack log
********** * AppleJack 1.6, Revision: 1.144 * * Copyright (c) 2002-10 Kristofer Widholm, The Apotek * Fri Dec 2 21:33:02 SAST 2011. Gathering information... - User ID: 0, NAME: root - OS Version: 10.7.2 - According to dynamic_pager, virtual memory is located at /private/var/vm. - Local root filesystem is journaled This version of AppleJack supports only Mac OS X versions 10.4.x and above. It's advisable to not use it unless you absolutely have to. For Mac OS X versions prior to 10.4.x, please use AppleJack version 1.4.3! AppleJack will repair disks in 10 seconds. Disk repair Success! Either your disk had no errors, or it was repaired successfully. Done with disk repairs -0- AppleJack will repair permissions in 10 seconds. Permissions repair - All supporting services appear to be loaded. Permissions have been repaired. -0- AppleJack will cleanup cache files in 10 seconds. Cache file cleanup Let's mount the startup file system for write access...
Done.
Checking for /tmp directory:
/tmp directory exists.
Done.
Removing system cache files:
/System/Library/Caches/com.apple.Components2.SystemCache.Components
/System/Library/Caches/com.apple.Components2.SystemCache.QuickTimeComponents
/System/Library/Caches/com.apple.IntlDataCache.le
/System/Library/Caches/com.apple.IntlDataCache.le.kbdx
/System/Library/Caches/com.apple.bootstamps/79387B17-9A67-3DC0-AD39-A6AC5B8E20
58/:usr:standalone:i386:Firmware.scap
/System/Library/Caches/com.apple.bootstamps/79387B17-9A67-3DC0-AD39-A6AC5B8E20
58
/System/Library/Caches/com.apple.bootstamps
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/battery.efi
res
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/disk_passwo
rdUI.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/flag_picker
.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/guest_userU
I.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/loginui.efi
res
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13.ef
ires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/preferences
.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/unknown_use
rUI.efires
/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations
/System/Library/Caches/com.apple.corestorage
/System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extens
ions/KextIdentifiers.plist.gz
/System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extens
ions
/System/Library/Caches/com.apple.kext.caches/Directories/System/Library
/System/Library/Caches/com.apple.kext.caches/Directories/System
/System/Library/Caches/com.apple.kext.caches/Directories
/System/Library/Caches/com.apple.kext.caches/Startup/IOKitPersonalities_x86_64
.ioplist.gz
/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
/System/Library/Caches/com.apple.kext.caches/Startup/KextPropertyValues_OSBund
leHelper_x86_64.plist.gz
/System/Library/Caches/com.apple.kext.caches/Startup
/System/Library/Caches/com.apple.kext.caches
/System/Library/Caches/com.apple.xpchelper.cache
/Library/Caches/com.apple.AutoTimeZone.plist
/Library/Caches/com.apple.Components2.LocalCache.AudioComponents
/Library/Caches/com.apple.Components2.LocalCache.Components
/Library/Caches/com.apple.Components2.LocalCache.QuickTimeComponents
/Library/Caches/com.apple.DiagnosticReporting.Networks.plist
/Library/Caches/com.apple.FindSystemFiles.plist
/Library/Caches/com.apple.ImageCaptureExtension2.ICADeviceDatabase.501
/Library/Caches/com.apple.ImageCaptureExtension2.ICADeviceDatabase.502
/Library/Caches/com.apple.ImageCaptureNotifications.DeviceDiscoveryDatabase.50
1
/Library/Caches/com.apple.ImageCaptureNotifications.DeviceDiscoveryDatabase.50
2
/Library/Caches/com.apple.itunesstored/url-resolution.plist
/Library/Caches/com.apple.itunesstored
/Library/Caches/com.google.UpdateEngine.Framework.0/Downloads/com.google.Chrom
e.dmg
/Library/Caches/com.google.UpdateEngine.Framework.0/Downloads
/Library/Caches/com.google.UpdateEngine.Framework.0
/private/var/db/volinfo.database
/private/var/db/BootCache.playlist
Done removing system cache files.
Done with cache file clean up task.
AppleJack will validate preference files in 10 seconds.
Validating preference files
Root file system already mounted. Continue.
Checking mach init preference files (/etc/mach_init.d):
Done. -0-
Checking root preference files (/var/root/Library/Preferences):
Done. -0-
Checking system preference files (/Library/Preferences):
Done. -0-
AppleJack will clean up virtual memory in 10 seconds.
Virtual memory cleanup
Root file system already mounted. Continue.
Removing swap files:
/private/var/vm/swapfile0
/private/var/vm/swapfile1
/private/var/vm/swapfile2
/private/var/vm/swapfile3
/private/var/vm/swapfile4
/private/var/vm/swapfile5
/private/var/vm/swapfile6
/private/var/vm/swapfile7
/private/var/vm/swapfile8
/private/var/vm/swapfile9
Done.
Exiting the script.
Restarting
*** GOODBYE FROM APPLEJACK ***
ps. to bypass the installer restrictions I installed AppleJack to Lion
installation using Pacifist.
To answer the question of its use :
In any case when you use a software raid config three distinct Apple apps
refuse to work :
SO, sadly, for us software raid users, we do have to go back to a DVD or
external partition for recovery and system checkup.
Applejack has long been my main tool to do so. If only I could use it again in
the future...
Godspeed.
Jan
ultramathman:
Could you please put the updated script in CVS here or simply upload it
somewhere or post a diff? I'd like to complete my Lion installation with
AppleJack ;-)
And yes, it's still a very valuable tool. The recovery partition is all but
mandatory, I installed Lion on another drive and then cloned the system with
Carbon Copy Cloner, so, no recovery partition at all. Would be a waste of
space anyway (yes, RAID array ;-))
Hello, I just committed my integration of ultramathman's changes into the
script and cleaned some stuff up. This has not been tested by more than two
people, and I am probably never going to install Lion, so have only tested it
on older systems. Use caution.
Please be careful with CarbonCopyCleaner: Lions new feature „versions“
requires a copy to have identically inodes. This is not possible with any file
copy tool. So it´s OK for brandnew installed systems, but you cannot copy a
already used system without losing your history.
Thanks for the reminder, but that's well documented and even expected
behavior, since Versions isn't the most robust feature anyway. All those who
rely on saving different versions are getting bad surprises, since other
operations like duplicating in the Finder don't care for the versions as well.
It would be a lot more robust and transparent if they used the HFS extensions
as they do for resource forks, Finder flags and many other stuff. But they
(Apple) can't think straight anyway.
Just think about the Type/Creator codes that worked beautifully since the
beginning of time, just to be made obsolete by the Snow Leopard finder who
simply ignores them, replacing them with a terrible kludge involving a
fixed-length resource fork (yes, resource fork, even though Apple declared
those depreciated with 10.0) containing the absolute (!) path of the
associated application. Really, can't imagine what they were smoking there.
They could simply use the extended attributes to replace the type/creator
stuff, but chose a resource fork and absolute path instead.
I just stumbled across that problem where your desktop icons get randomly
moved from their assigned position. .DS_Store files everywhere, but the Finder
is too damn stupid to actually use them properly.
Elegance and Mac OS are two different concepts for a couple years now, and
that just continues with Versions, to get full circle here ;-)
Rant over...
Anyway, thanks for updating AppleJack, I will try it ASAP!
Regarding flying desktop icons, I keep a little program called FinderWindow in
my Finder windows toolbar which saves and restores your Desktop icons
placement if they get out of wack. It does some other things as well.
I can confirm AJ to be running just fine on my MBP4,1 with 10.7.3. Thanks to
ultramathman an Kristofer for publishing this, I really missed AJ on x.7!
Speaking of which, I imagine it's not an easy task for most users to compile
AJ from the source in CVS, but on the other hand it might offend folks here to
offer bespoke version somewhere else. It might help people out there, … Kris,
what do you think?
Hi everyone, I am sure that I am not alone when I say that Applejack for Lion
is sorely missed. I and many others would be more than happy to pay for this
'must have" utility. From this post, it seems that the code is now ready.
Please could someone compile it into a usable app or publish instructions on
how to install the code that is available. I for one, would be extremely
grateful.
Thanks, Martin
Yes, please, can someone build a pkg? AJ is a must-have-tool. I feel nude. ;-)
Guys...? I'm a bit confused here. What's to compile, exactly?
I prefer the pure Unix style solution myself. Just take that shell file, place
it whereever you like, like /usr/local/bin, or, for added convenience
/usr/bin, you could rename it to "applejack" as well, change permissions so
that it's executable (chmod a+x applejack) and that's it. All that bundling is
just for convenience, the shell script is self-contained.
Well, „usually“ the applejack installer package contained at least memtest and
a manpage.
I downloaded the project and was confused - it looked like a complete Xcode
project. Correct me if I´m wrong, but nobody sets up a complete Xcode project
just to write a single file shellscript? At least that was what I was
thinking… …probably that was wrong.
However, I prefer packages to do an Apple Remote Desktop remote installation.
If I knew which files are required I could build the pkg myself, but I do not
know them.
When you have upwards of 50 workstations to maintain, an app is far easier to
install than installing multiple shell files. Also, looking at the CVS archive
and not being a developer, I am not sure what scripts need to be installed to
create a complete up to date installation of Applejack. Could someone at least
please publish a list of files and an idiots installation guide for the
scripts. Alternatively, a fully installable app would be much appreciated.
Thanks Martin
That's a 'me too'. If I'd only know which files to replace…
Thx
/private/var/root/Library/Scripts/applejack.sh applejack shell script
(executable)
/usr/share/man/man8/applejack.8 applejack manual page
/private/var/root/.profile applejack installer adds
or modifies this file in
order to create an alias
to applejack in the root
user's environment.
/private/var/log/AppleJack.log applejack outputs the
results of its work in
this log file. The log is
reset automatically when
it reaches a size of 500
kilobytes or more.
OK, then we also need to include and execute that code, since just including
and overwriting ~root/.profile is not very kind. ;-)
Bye,
Jörg
Just ran into the situation, where a 10.7.x proof version of AJ was needed. Failing to remember my prior efforts, I dl'd, recompiled and read it all again to be back on the track.
Kristofer, if you do not appreciate the following steps and URL, tell me or have it removed somehow.
This link provides the v1.7 of AJ from CVS as of today: http://ion.li/projekte/_drop-box/applejack.sh
Do these steps in Terminal.app to update a priorily installed v1.6, it won't work right when you don't have v1.6 installed before:
su (you need to be an Admin and type in your pw)
cd /private/var/root/Library/Scripts/
cp (drag'n'drop the dl'd applejack.sh into Terminal.app)
chown root:wheel applejack.sh
chmod 0700 applejack.sh
Failing to understand this, do yourself a favour and just don't do it. All credits to Kristofer and ultramathman.
Last edit: patrick 2012-10-09
Applejack for Lion? That's great news the last time I used the previous version I had to erase my computer and reinstall from back up =( the only time I've ever had trouble with the amazing wonderful Applejack!
Thank you.
Sent 2 U from PAD's iPad ^_^
On Oct 9, 2012, at 10:02 AM, "patrick" concrete-jungle@users.sf.net wrote:
Yes but, NO. This is just a highly experimental offering. Nothing more and in no way official. Tip your hat to Kristofer and ultramathman, after successful testing, and don't forget to support the further development by donating. I certainly did (some time ago).
Thanks for the work done. And instructions for proper install. I was a bit rustuy with Terminal but a few trials and it all went smooth. Did a reboot into AppleJack & did everything but Permissions... Well I did but it didn't repair anything - either they were okay or???
Thanks again - Tom