Resize OpenElec

De Slacam_Wiki
Ir para: navegação, pesquisa

 Fazendo o Resize na Partição do OpenELec


SSH into your RPI running OpenELEC using putty and follow these steps (only black text, comments are in red):

cd /
touch /var/lock/xbmc.disabled
killall -9 xbmc.bin (XBMC will Close)
umount /storage
parted /dev/mmcblk0
unit s
(make note of starting sector of partition 2)
rm 2
mkpart primary 258048 -1 (258048 is the starting sector of partition 2 you noted down earlier, add a space and -1)
quit parted
e2fsck -f /dev/mmcblk0p2
resize2fs /dev/mmcblk0p2
mount /dev/mmcblk0p2 /storage
df -h
rm /var/lock/xbmc.disabled (XBMC will restart)