No serial number: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: = No serial number semi-brick = If you are upgrading your machine, and get something like this: could not activate this XO Serial number: SHF00000000 or like this when you try to acti...)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= No serial number semi-brick =
= No serial number semi-brick =


If you are upgrading your machine, and get something like this:
If you have an old machine (e.g. a [[B2]]) without a serial number and you upgrade it to build 542, and you get something like this:


could not activate this XO
could not activate this XO
Line 28: Line 28:
== Step 2: making it permanent ==
== Step 2: making it permanent ==


Get into the development console using Alt=, and open the terminal. Use su to get a root prompt. Then cd to /boot and make a backup copy of olpc.fth. Then start vi on olpc.fth
Get into the development console using Alt/=, and open the terminal. Use ''su'' to get a root prompt. Then ''cd /boot'' and make a backup copy of ''olpc.fth''. Then edit olpc.fth


su
su
Line 35: Line 35:
vi olpc.fth
vi olpc.fth


Edit the file as in the olpc.fth given above, then save and exit
Change the file as in the example given above, then save and exit.


Now your laptop should boot normally
Now your laptop should boot normally.


== Credits ==
== Credits ==

Latest revision as of 08:44, 6 December 2007

No serial number semi-brick

If you have an old machine (e.g. a B2) without a serial number and you upgrade it to build 542, and you get something like this:

could not activate this XO
Serial number: SHF00000000

or like this when you try to activate:

No serial number in mfg data
No serial number
Use power button to power off

Then you need to use the following workaround.

Step 1: USB boot

Take the USB key you used to upgrade your machine and mount it on another system. Edit the file /boot/olpc.fth to look like this:

\ OLPC boot script
null$ to ramdisk
boot n:\boot\vmlinuz root=mtd0 rootfstype=jffs2 console=tty0

Note that the first line starts with "backslash space"

Now power down your laptop, insert your USB key, and power up. The laptop should boot normally.

Step 2: making it permanent

Get into the development console using Alt/=, and open the terminal. Use su to get a root prompt. Then cd /boot and make a backup copy of olpc.fth. Then edit olpc.fth

su
cd /boot
cp olpc.fth olpc.fth.saved
vi olpc.fth

Change the file as in the example given above, then save and exit.

Now your laptop should boot normally.

Credits

Many thanks to Mitch Bradley for walking me through this.