|
#1
|
|||
|
|||
how to install kext from usb stick in terminal ?
can anyone write it down for me what i need to do to install a kext from a usb stick in terminal when i boot from the instal cd ?
|
#2
|
||||
|
||||
Hi and welcome to InfiniteMac forum.
To install kext, driver for example your chipset controller or graphic card, you need some basic console commands. This is a basic, usual routine to install some kext. Suppose that kext is in the root of your usb drive. If not, just point to the folder containing the kext by adding /~FolderName/ before ~DriverName.kext Become 'su' first Code:
sudo -s Code:
ls /Volumes Code:
cp -r /Volumes/USBPartitionName/~DriverName.kext /Volumes/~LeopardPartitionName/System/Library/Extensions Change permissions and ownership to new installed kext(s). Code:
chmod -R 755 /Volumes/~LeopardPartitionName/System/Library/Extensions/Kextname.kext chown -R root:wheel /Volumes/~LeopardPartitionName/System/Library/Extensions/Kextname.kext Remove cache and rebuild: Code:
rm -rf /Volumes/~LeopardPartitionName/System/Library/Extensions.mkext kextcache -k /Volumes/~LeopardPartitionName/System/Library/Extensions Last edited by milanca; 01-08-2009 at 10:56 PM. |
#3
|
||||
|
||||
If your in Single User Mode by booting with -s you can mount your USB thumb drive like this.
Boot into Single User Mode without the USB thumb drive plugged in. 1. Allow for the modification of files by typing: Code:
/sbin/mount -uw / Code:
mkdir /Volumes/usbstick Code:
ls /dev/disk* Code:
ls /dev/disk* Code:
mount -t msdos /dev/disk4s1 /Volumes/usbstick If you are getting a basic understanding of the commands that Milanca posted then you should be able to supliment them with your USB thumb drive's location. MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1 Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9 Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves |
#4
|
|||
|
|||
Hey thanks alot for your help guys , these info's really help me out, i was having a hard time finding some console commands for terminal with google.
Do any of you know a site where you can learn more of these commands ? i've come across some pages on google with lots of commands but with the little knowledge of terminal i have it's hard to use then without knowing what they mean |
#5
|
||||
|
||||
http://www.ss64.com/osx/
http://www.westwind.com/reference/OS-X/commandline/ These two are pretty useful. osxdaily.com also had a few articles that were useful MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1 Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9 Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves |