Posts

Showing posts from October, 2011

How to mark a partition INACTIVE in Windows 7

When you install Windows 7 SP 1 on a dual-boot system you may receive Error: 0x800F0A12


This error means that the update can not find the 'active' or system partition where the boot files are stored. This partition is to required to start Windows, so it exists, the system just doesn't know which one it is.


http://windows.microsoft.com/en-US/windows7/Mark-a-partition-as-active explains how to set the partition as active, but what if you have more then one partition flagged? Microsoft says that only one partition per drive can be flagged 'active, so what happens if you flag more then one by mistake? Windows Update has no idea which one is correct.

Here are the steps needed to 'unmark' a partition as active:

Open up a command prompt and type DISKPART.Type LIST DISKType SELECT DISK n (where n is the number of the old Win98 drive)Type LIST PARTITIONType SELECT PARTITION n (where n is the number of the active partition you wish to make inactive)Type INACTIVEType EXIT t…

Reinstalling libgcc on openwrt

So it appears that the developers of openwrt won't mark libgcc as a dependancy of opkg.

That means you can remove it...and then be able to do nothing

Thank to http://bredsaal.dk/trust-nobody-or-nothing, here are the instructions to get libgcc back.


Login to your router with sshEnter the following commands:
cd /tmp wget http://downloads.openwrt.org/kamikaze/8.09.1/brcm-2.4/packages/libgcc_3.4.6-14.1_missel.ipk tar xzf libgcc_3.4.6-14.1_mipsel.ipk tar xzf data.tar.gz ln -s /tmp/lib/libgcc_s.so.1 /lib/libgcc_s.so.1 opkg install libgcc
Be happy!