InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Leopard 10.5 (http://infinitemac.com/forumdisplay.php?f=85)
-   -   Help with Aspire One iPC (http://infinitemac.com/showthread.php?t=3665)

antgly 08-16-2009 04:40 PM

Help with Aspire One iPC
 
I have an Acer Aspire One A150. I used the iPC 10.5.6 DVD on my machine to install OSX.
I think I have the Voodoo kernel.
I used Software Update and updated the Airport and also the OS 10.5.8 through it.
Now my Aspire One is stuck in a reboot loop.
Please help!

lanceomni 08-16-2009 05:31 PM

Try the boot flags -v and cpus=1
Code:

-v cpus=1
Did you back up the system prior to updating? The updates will have over written several files including your kernel.

antgly 08-16-2009 06:22 PM

No. What can I do now?

lanceomni 08-16-2009 06:40 PM

Well that depends on how far along you were with this machine. I don't mind packaging up the necessary files for you and explaining the process of installing them individually from the command line via a usb thumb drive but It would probably take a lot less time to backup anything important (Which I can explain how to do) and just reinstall. Thats probably what I would do.

Now if you have the machine decked out with all your software tweaked the way you want it then we can go through the process... Only if you promise to back up your system or at least your extensions folder and kernel. ;)

If you do decide to reinstall post back when you are finished and we can go over the backup and update process.

antgly 08-16-2009 07:07 PM

My netbook is already decked out with iTunes and other stuff. Could you guide me to making it work? I promise to backup my extensions folder and kernel.

lanceomni 08-16-2009 09:47 PM

Don't let the length of this post get you down as its not as bad as it seems. I have added explinations to each step so that others may better understand them and why they were used. Also keep in mind that the commands we are using will need to be entered correctly as missing a / here or there can cause havac on your machine and make the problem worse.

Things you will need:
1. Usb thumbdrive
2. The proper kexts ( Check your PM inbox you have a new msg)

The process:
1. Format the thumb drive
2. Copy the proper kexts to the thum drive
3. Start the computer up into Single User Mode
4. Mount the file system
5. Backup the existing files
6. Mount the usb thumb drive
7. Copy over the new files
8. Set permissions and users
9. Restart


Instructions:

1. Format the thumb drive
Make sure its formatted FAT32 or HFS and remember which one it was.

2. Copy the proper kexts to the thumb drive

3. Start the computer up into Single User Mode (Without the USB thumb drive plugged in)
We will restart the computer in Single User Mode by using the boot-flag -s this will give us a comand line and the ability to modifiy the files. Im not 100% sure if you need it but lets toss cpus=1 in addition to -s
Code:

cpus=1 -s
4. Mount the file system
Code:

/sbin/mount -uw /
5. Backup the existing files
Even though the system does not boot we should backup the existing files before we do any modifications. You should not need to in single user mode but just in case you get a p
1. Make a new directory called "Backup"
Code:

mkdir /backup
2. Copy the Extensions folder and its contents to this new folder
Code:

cp -r /System/Library/Extensions /Backup/Extensions
3. Make a backup copy of your kernel.
Code:

cp -r /mach_kernel /mach_kernel.backup
If for some reason you want to boot this backup all you have to do is use the boot-flag mach_kernel.backup at startup. The vanila kernel will also require the cpus=1 boot flag on this machine.
6. Mount the usb thumb drive

Boot into Single User Mode without the USB thumb drive plugged in.
1. Make a directory in Volumes to mount your usb thumb drive to. We will call it "myusb" by typing:
Code:

mkdir /Volumes/myusb
2. Before we plug it in we need to make reference to what other drives we see in /dev by typing (You might want to write them down):
Code:

ls /dev/disk*
3. Now plug in the usb thumb drive, wait a second then look for a new addition by typing:
Code:

ls /dev/disk*
4. Now lets mount it. Lets say you there are two new additions disk1 & disk1s1. Type the following (replace msdos with hfs depending on how the usb thumb drive is formatted. If you use it on a PC too then its msdos):
Code:

mount -t msdos /dev/disk1s1 /Volumes/myusb
Then you can access your usb thumb drive at /Volumes/myusb
5. Lets give that a try and see if we can show a list of the files using the following two commands. Press enter after each line.
Code:

cd /Volumes/myusb
Code:

ls
7. Copy over the new files
This part is easy as long as your formatted the usb drive and the files I provided are the only ones on the disk. If there are other files on the drive DO NOT run the following commands.
We should still be in the myusb directory so lets copy the files. Remember press enter after each line.
Code:

cp *.kext /System/Library/Extensions
Code:

cp *.plugin /System/Library/Extensions
Code:

cp *.bundle /System/Library/Extensions
Code:

cp mach_kernel /mach_kernel

8. Set permissions and users
1. Correct ownership for all kernels
Code:

chown root:wheel /mach_kernel*
2. Correct permissions for all kernels
Code:

chmod 644 /mach_kernel*
3. Lets move over to a closer directory to shorten up the following commands.
Code:

cd /System/Library
4. Set the proper permissions
Code:

chmod -R 755 Extensions/
5. Set the proper user and group
Code:

chown -R root:wheel Extensions/
6. Touch the extensions folder
Code:

touch Extensions/
7. Remove the extensions cache to force OSX to rebuild it with our new kext.
Code:

rm -rf Extensions.mkext
9. Restart
Reboot using the boot-flags -v -f
-v Verbose Mode displays useful information during the boot process.
-f Forces OSX to load kexts from the extensions folder instead of the cache file. We did delete the cache file so this is just a precaution.

Let me know how it goes. When you get into OSX I would also repair permissions by typing the following in Terminal
Code:

diskutil repairpermissions /

antgly 08-17-2009 12:18 AM

Thank you!

antgly 08-17-2009 12:20 AM

It worked!

lanceomni 08-17-2009 01:04 AM

Now lets do a small backup. Open Terminal and type the following:
Code:

rm -Rf /Backup
mkdir /Backup
cp -r /mach_kernel /mach_kernel.backup
cp -r /System/Library/Extensions /Backup
chown root:wheel /mach_kernel.backup
chmod 644 /mach_kernel.backup


antgly 08-17-2009 01:17 AM

I did that too. I used OSX86 Tools.