Secure upgrade: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
# Get to a terminal on the laptop, and type: ls /security |
# Get to a terminal on the laptop, and type: ls /security |
||
#* ''On XO-1 this requires root permissions. |
#* ''On XO-1 this requires root permissions. Press the Alt+Ctrl+Mesh keys together to get to the console, log in as root and then enter the command above as stated.'' |
||
#* If there is a lease.sig file, you will want to save this lease before re-flashing the laptop. |
#* If there is a lease.sig file, you will want to save this lease before re-flashing the laptop. |
||
#*# To do so, insert a |
#*# To do so, insert a USB stick, wait for it to mount, and then type: cp /security/lease.sig /media/{name_of_usb_stick} |
||
#*# Then, switch to the home view, go to the journal, mouse over the |
#*# Then, switch to the home view, go to the journal, mouse over the USB icon, and click unmount. |
||
#*# |
#*# Remove the USB stick from the USB slot, but make sure the lease.sig file is stored on it. You will have to boot the laptop with this USB stick inserted after the upgrade. |
||
#* If there is no lease.sig file, your manufacturing data is probably set for pre-activation, and you probably don't need to do anything. |
#* If there is no lease.sig file, your manufacturing data is probably set for pre-activation, and you probably don't need to do anything. |
||
#* If you want to check that this is in fact true, in a terminal, type: ls /ofw/mfg-data/ |
#* If you want to check that this is in fact true, in a terminal, type: ls /ofw/mfg-data/ |
||
Line 22: | Line 22: | ||
(To put the latest signed image on the laptop, follow these steps) |
(To put the latest signed image on the laptop, follow these steps) |
||
# Create a USB |
# Create a USB stick with the os{number}.img and fs.zip file at the root. |
||
#* You can get these files from [http://download.laptop.org/xo-1/os/official/ official releases] |
#* You can get these files from [http://download.laptop.org/xo-1/os/official/ official releases] |
||
# With the |
# With the USB stick inserted, power up while holding all four game buttons on the right side of screen. |
||
# When it says 'release the game keys', release all buttons. |
# When it says 'release the game keys', release all buttons. |
||
#* This will re-write the nand image. |
#* This will re-write the nand image. |
||
Line 30: | Line 30: | ||
# Next, the laptop may update the firmware, if necessary, and reboot itself. |
# Next, the laptop may update the firmware, if necessary, and reboot itself. |
||
# After done with the upgrade(s), the laptop will either boot to the prompt for a name (if you have an ak flag), or fail to boot because it's not activated. |
# After done with the upgrade(s), the laptop will either boot to the prompt for a name (if you have an ak flag), or fail to boot because it's not activated. |
||
# If your laptop failed to boot, insert the |
# If your laptop failed to boot, insert the USB stick with lease.sig on it, and boot the laptop. (So, can this be the same USB stick?) |
||
#* This should get you to the prompt for a name. |
#* This should get you to the prompt for a name. |
||
# |
# Go to the terminal, and check that the laptop is at the version you wanted. |
||
# type root, enter, and poweroff to shut down the laptop. |
# type root, enter, and poweroff to shut down the laptop. |
Revision as of 05:19, 24 December 2007
This page is monitored by the OLPC team.
This page describes how to do a re-flash of an activated laptop.
Make sure you won't lose your activation lease
(Check to see whether your laptop has the ak flag set or an activation lease)
NOTE: G1G1 recipients do not have to worry about losing the lease. Skip this section.
- Get to a terminal on the laptop, and type: ls /security
- On XO-1 this requires root permissions. Press the Alt+Ctrl+Mesh keys together to get to the console, log in as root and then enter the command above as stated.
- If there is a lease.sig file, you will want to save this lease before re-flashing the laptop.
- To do so, insert a USB stick, wait for it to mount, and then type: cp /security/lease.sig /media/{name_of_usb_stick}
- Then, switch to the home view, go to the journal, mouse over the USB icon, and click unmount.
- Remove the USB stick from the USB slot, but make sure the lease.sig file is stored on it. You will have to boot the laptop with this USB stick inserted after the upgrade.
- If there is no lease.sig file, your manufacturing data is probably set for pre-activation, and you probably don't need to do anything.
- If you want to check that this is in fact true, in a terminal, type: ls /ofw/mfg-data/
- If there is an 'ak' there, then the laptop is pre-activated.
Upgrade the Activated Laptop
(To put the latest signed image on the laptop, follow these steps)
- Create a USB stick with the os{number}.img and fs.zip file at the root.
- You can get these files from official releases
- With the USB stick inserted, power up while holding all four game buttons on the right side of screen.
- When it says 'release the game keys', release all buttons.
- This will re-write the nand image.
- Once done with the nand re-flash, the laptop will reboot itself.
- Next, the laptop may update the firmware, if necessary, and reboot itself.
- After done with the upgrade(s), the laptop will either boot to the prompt for a name (if you have an ak flag), or fail to boot because it's not activated.
- If your laptop failed to boot, insert the USB stick with lease.sig on it, and boot the laptop. (So, can this be the same USB stick?)
- This should get you to the prompt for a name.
- Go to the terminal, and check that the laptop is at the version you wanted.
- type root, enter, and poweroff to shut down the laptop.