Recovery options - when Slice will not boot

From Slice How-To Wiki
Jump to: navigation, search

To reset working system/reset media library

Goto: Setup -> OpenElec settings -> System -> Reset System Settings to defaults

This function deletes the /settings directory but does NOT wipe the recovery information or any media.


If Slice boots all the way but then hangs or has corrupted text or library

SSH into Slice - see Transferring media and networking guide#How to access Slice from another device

Type:

cd /storage
rm -rf *.*

Reboot


Remove power from Slice

Remove the dongle for the remote from its USB socket

Plug in a USB keyboard

Plug in power and press the <shift> key on the keyboard as it boots

Enter the recovery system - it should show a list of installed operating systems or simply <(Slice stable)>

Press and hold <Ctrl and Alt> and hit the <F2> key (Fn+F2 keys on Mac keyboards)

At <recovery login:> type

root

Press <Enter>

At <Password> type

raspberry

Press <Enter>

Type

cd /settings

Press <Enter>

Type (NOTE that each item is preceded with a fullstop/period):

rm -rf .cache .config .kodi

Press <Enter>

Type

sync

Press <Enter>

IMPORTANT - count to ten!

Remove power from Slice

Re-insert power and WAIT FOR BOOT-UP - may take up to 60 seconds!

If it boots up OK, you can remove the keyboard and re-insert the dongle for the remote


If Slice refuses to boot at all or shows errors immediately at startup

You will need to convert your Slice into a 'mass storage device' to access the eMMC drive. The Raspberry Pi team has published a page here which contains a Windows installer, as well as instructions if using Cygwin or Linux.

Windows users

Note that if running Windows 8 or 10, the OS will not allow you to install unsigned drivers. The page here gives a temporary workaround to allow the eMMC drivers to be installed.

Download and run the program - this will install the eMMC drivers

Plug the USB cable into Slice and the computer

'Safely eject' the Slice hard drive in Windows

Plug the power adaptor into Slice (keep the USB connected)

Windows will find the eMMC drivers and (part)install

Goto Device Manager (use Windows search box if necessary)

The device (BCM2835) may have a yellow mark next to it

Right-click on device name

Click <Properties>

Click <Driver> tab

Click <Update Driver>

Select <Browse my computer>

Select <Let me pick from a list...>

Select <Device (BCM2835)>

Select <Next>

Select <Close>

Back out of Device Manager

In the Windows search box, type:

RPiBoot.exe

Run the program. After a few seconds the eMMC will pop up in Windows as a disk (USB mass storage device)

You will now be able to access the eMMC as an 'external' drive. Folders such as RECOVERY should be present on the disk.

Download a copy of NOOBS software from: http://updates.fiveninjas.com/slice/noobs.zip

Unzip it and copy the files onto the first partition (they should overwrite the files already there)

IMPORTANT - 'safely eject' the eMMC drive before unplugging!

Unplug the power cable from Slice

Disconnect the USB cable from Slice, then reconnect it (this reboots the hard drive)

Check Slice's hard drive (where media is stored) by right-clicking on its icon

Select <Properties>

Select <Tools> tab

Select <Check> button

Wait for checking procedure to finish

If errors found, select <Repair>

IMPORTANT - 'safely eject' the drive!

Remove the USB cable from Slice

Insert power into Slice

Press the Ninja button on remote (or Shift key on keyboard)

Select the Stable build

Follow the on-screen instructions

Slice should now boot up normally. NOTE - Slice will be back to its 'factory' state.


If the hard drive keeps 'disappearing'/becomes unmounted/media missing

Update to the latest 'stable build' - click here [1] for instructions.

Power down Slice.

Plug it into a pc using the USB cable WITHOUT the PSU connected. In Windows, check for and then repair any errors.

IMPORTANT - 'safely eject' the drive in Windows and then disconnect as usual.

EXTRA IMPORTANT

ALWAYS 'safely eject' the drive after using in Windows;

ALWAYS <power down> the Slice before removing the PSU.

If the above does not work:

Repartition and reformat the drive using NTFS (if Windows). See here [2] for instructions.