kodi freezes
|
24th May, 2017, 10:38 PM
Post: #13
|
|||
|
|||
RE: kodi freezes
Ok, so step for step:
1) for this procedure you have to enabled initramfs, because all stuff needed for rescue system is in the initramfs If it is not enabled (you don't see message "To dropdown to shell, press and hold shift on usb attached keyboard..." on the upper left corner of your screen when you power up RPi), you have to enable it by putting your sd-card into an sd-card reader and edit file config.txt. This file is located on first partition of sd-card. It's a VFAT partition, so you can do this on your PC using a standard text editor of your choice. Find the line initramfs initramfs.gz 0x1... and make sure that this line is NOT commented out by a leading '#' character 2) Enable rescue mode To enable rescue mode you have to add rescue to the cmdline in the file file cmdline.txt. This file is located at the same place config.txt is. Please note, ALL parameters have to be in one line, separated by space. Do NOT add new line in file cmdline.txt 3) Boot into rescue mode Plug in your sd-card into RPi and power up RPi. After a short while you will see text console of recovery system. 4) Revert root subvolume to a snapshot by entering following commands: Terminal mount /dev/root /mnt cd /mnt/root ls -la This will give you a list of all available snapshots of your root subvolume. It looks something like this: drwxr-xr-x 1 root root 220 Mai 11 04:19 @btrfs-auto-snap_apt-run-2017-05-18-2200 drwxr-xr-x 1 root root 220 Mai 11 04:19 @btrfs-auto-snap_apt-run-2017-05-18-2201 drwxr-xr-x 1 root root 220 Mai 11 04:19 @btrfs-auto-snap_apt-run-2017-05-18-2202 drwxr-xr-x 1 root root 220 Mai 11 04:19 @btrfs-auto-snap_daily-2017-05-17-1857 drwxr-xr-x 1 root root 220 Mai 11 04:19 @btrfs-auto-snap_daily-2017-05-18-1913 drwxr-xr-x 1 root root 200 Mär 28 15:09 @btrfs-auto-snap_monthly-2017-03-28-1603 drwxr-xr-x 1 root root 176 Apr 16 17:46 @btrfs-auto-snap_monthly-2017-04-16-1812 drwxr-xr-x 1 root root 176 Apr 17 15:38 @btrfs-auto-snap_monthly-2017-04-17-1639 drwxr-xr-x 1 root root 200 Apr 27 17:52 @btrfs-auto-snap_monthly-2017-04-28-1953 drwxr-xr-x 1 root root 200 Apr 18 19:18 @btrfs-auto-snap_weekly-2017-04-26-1844 drwxr-xr-x 1 root root 200 Apr 27 17:52 @btrfs-auto-snap_weekly-2017-05-04-0249 drwxr-xr-x 1 root root 200 Mai 7 20:31 @btrfs-auto-snap_weekly-2017-05-10-1930 drwxr-xr-x 1 root root 220 Mai 11 04:19 @btrfs-auto-snap_weekly-2017-05-17-1924 drwxr-xr-x 1 root root 220 Mai 11 04:19 @last_good_known Terminal mv @ @-bad @ is the current active (and bad) root subvolume. This command moves it away Terminal mv @btrfs-auto-snap_apt-run-2017... @ @btrfs-auto-snap_apt-run-2017... is the snapshort before you run apt-get dist-upgrade, make this snapshot to the active one Terminal sync Make sure that everything is written back to disk. Now it's save to power off RPi 5) Disable rescue mode again by removing the rescue parameter from your cmdline in cmdline.txt 6) Finally boot RPi |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
kodi freezes - griv - 21st May, 2017, 02:51 AM
RE: kodi freezes - Nachteule - 21st May, 2017, 07:53 AM
RE: kodi freezes - Skywatch - 21st May, 2017, 08:37 PM
RE: kodi freezes - griv - 22nd May, 2017, 04:35 AM
RE: kodi freezes - Nachteule - 22nd May, 2017, 07:42 AM
RE: kodi freezes - griv - 23rd May, 2017, 06:31 AM
RE: kodi freezes - Nachteule - 23rd May, 2017, 06:58 AM
RE: kodi freezes - griv - 23rd May, 2017, 07:09 AM
RE: kodi freezes - Nachteule - 23rd May, 2017, 07:15 AM
RE: kodi freezes - griv - 24th May, 2017, 07:03 AM
RE: kodi freezes - Nachteule - 24th May, 2017, 11:25 AM
RE: kodi freezes - griv - 24th May, 2017, 06:54 PM
RE: kodi freezes - Nachteule - 24th May, 2017 10:38 PM
RE: kodi freezes - griv - 25th May, 2017, 06:31 AM
RE: kodi freezes - Nachteule - 25th May, 2017, 07:02 AM
|