Created
November 20, 2014 05:11
-
-
Save shroukkhan/0a5632cb2def6b9510fa to your computer and use it in GitHub Desktop.
Running openELEC completely from usb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on linux : | |
1. run ./create_sdcard on usb | |
2. run ./create_sdcard on sdcard | |
3. plugin usb and sdcard and bootup pie | |
4. ssh into device: | |
# df -h | |
[ make a note of where the usb is mounted , usually | |
/dev/sda1 is /var/media/System [ rootfs ] | |
/dev/sda2 is /var/media/Storage [ user filesystem ] | |
# mount /flash -o remount,rw | |
# nano /flash/cmdline.txt | |
edit it like this: | |
boot=/dev/sda1 disk=/dev/sda2 ssh quiet | |
5. reboot , and it shall boot from usb | |
6. df -h looks like this: | |
Filesystem Size Used Available Use% Mounted on | |
devtmpfs 181.3M 101.7M 79.6M 56% /dev | |
/dev/sda1 124.7M 110.8M 13.9M 89% /flash | |
/dev/sda2 7.0G 691.9M 5.9G 10% /storage | |
/dev/loop0 101.8M 101.8M 0 100% / | |
tmpfs 186.2M 0 186.2M 0% /dev/shm | |
tmpfs 186.2M 452.0K 185.8M 0% /run | |
tmpfs 186.2M 0 186.2M 0% /sys/fs/cgroup | |
tmpfs 186.2M 8.0K 186.2M 0% /tmp | |
tmpfs 186.2M 180.0K 186.0M 0% /var | |
-------- as opposed to autostart.sh modification we usually do : | |
/dev/sda1 on /var/media/STORAGE type ext4 (rw,nosuid,nodev,noexec,noatime,data=ordered) | |
/dev/sda1 on /storage type ext4 (rw,relatime,data=ordered) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment