Tiger kextcache command
Tiger kextcache command
- Subject: Tiger kextcache command
- From: "Gilles VayssiƩ (TRI-EDRE)" <email@hidden>
- Date: Thu, 12 May 2005 10:23:34 +0200
Hi,
i encounter a problem with the kextcache command under Tiger (8A428).
I would like to update cache on an external volume.
Why? Because on startup, the volume is read online, so the caches
can't be updated.
So i need to update the cache before booting on this volume, from an
"alive" system.
Here is how i did under Panther, and it worked well:
sudo kextcache -l -m /Volumes/ExternalDisk/System/Library/
Extensions.mkext /Volumes/ExternalDisk/System/Library/Extensions
This command created a file "Extensions.mkext" on the external volume
"ExternalDisk".
Now, under Tiger, if i do this i have the following error:
"can't create file /Volumes/ExternalDisk/System/Library/
Extensions.mkext: Cross-device link"
To find a work around, i tried this (shell syntax):
# Create cache locally
sudo kextcache -l -m Extensions.mkext /Volumes/ExternalDisk/System/
Library/Extensions
# Copy it to the righ place:
sudo mv Extensions.mkext /Volumes/ExternalDisk/System/Library/
# Repair permissions
sudo chown root /Volumes/ExternalDisk/System/Library/Extensions.mkext
sudo chgrp wheel /Volumes/ExternalDisk/System/Library/Extensions.mkext
sudo chmod 644 /Volumes/ExternalDisk/System/Library/Extensions.mkext
But i can't boot on ExternalDisk...
The Systems stop, with a message "Still waiting for root device", so
the cache seems corrupted...
Please help or give advices.
Thanks.
Gilles
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden