[HOW TO] KODI Linux on Amlogic TV Boxes - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [HOW TO] KODI Linux on Amlogic TV Boxes (/showthread.php?tid=180446) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
RE: [HOW TO] XBMC Linux on Geniatech Devices - seven7 - 2014-02-08 Hi, i have add a small USB-HD at XBMC, and the USBHD was insert in der Filelist ! And my 3TB USB NTFS was not mounted ?? Dater RE: [HOW TO] XBMC Linux on Geniatech Devices - nickr - 2014-02-09 (2014-02-08, 07:43)tinker Wrote: Folks:on your main linux pc Code: sudo apt-get squashfs-tools RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-02-09 Nickr: The My Gica box has unsquashfs and mksquashfs built in. Any way I can use those to work on a copy of usr.sqsh on USB drive? As in, unsquashfs a usr.sqsh copy on the USB, alter it, then mksquashfs back to the USB and rezip the .img file? tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - nickr - 2014-02-09 I am thinking you would be better to copy the usr.sqsh file to another computer, unsquash it, make your changes and squash it again. Then copy it back and restart. Although I am not entirely clear on a couple of things. 1. Whether you can copy over a mounted squashfs when copying the new usr.sqsh 2. whether there is any security mechanism that in the boot procedure that checks that the sqsh file matches a checksum. RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-02-09 nickr: I tried to unsquash the usr.sqsh on my USB stick and got a number of errors: Code: [===========- ] 1168/6469 18% I also tried to change my 'fstab' file in the 'etc' directory to make the 'user.sqsh' file system read/write in situ. Although I was able to assign read/write ('rw' instead of 'ro'), I still can't alter, delete or edit any files. I used to use Puppy Linux and never had trouble altering any files. Any ideas? Maybe asking Geniatech to make an unsquashed variant for us tinkers. tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - nickr - 2014-02-10 squashfs is a READ ONLY FILESYSTEM. RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-02-10 nickr: OK, got it. I'll have to find a way to unsquash it with another Linux box like you said, alter the fstab file to reflect that and then try install the image as an update. tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - privado - 2014-02-10 I can unsquash file, then resquash it but when recovering with the image it fails at the verifying package stage. s there a way for it to bypass verification ? RE: [HOW TO] XBMC Linux on Geniatech Devices - nickr - 2014-02-10 Don't forget guys that systems with squashfs root filesystems often have an area is writable (rw) disk that allows customisation. openelec is a case in point, the root file system is squashfs, so you can't change anything in /etc, but /storage is a separate rw partition that is the root user's home directory. It has a directory named .config. It is a hidden directory (that is what the . means in the name .config). Inside that hidden directory you can change a number of setup files and those changes survive a reboot. I am wondering if the geniatech system has a similar facility. What is the output of Code: mount RE: [HOW TO] XBMC Linux on Geniatech Devices - privado - 2014-02-11 i cant see anything there that will allow you to make a custom boot image logo. RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-02-11 nickr: Here's my fstab file: Code: [root@MX /root]# vi etc/fstab This is from 'mount': Code: [root@MX /]# mount ...and from grep: Code: [root@MX /]# grep root /etc/passwd Does this tell you enough? tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - nickr - 2014-02-11 It tells me that root's home directory is /root (as in a normal linux distro) It tells me that /root is separately mounted as a rw partition, /dev/data I would look around in /root for what config files you can find. Code: ls -a Alternatively you could ask geniatech for support? or you could write a boot script to make the changes you want (the details of which have now been left many pages back! What is it we are trying to do again?) RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-02-11 nickr: Here's my /root folder: Code: [root@MX /root]# ls -alt the .smb folder: Code: [root@MX .smb]# ls -alt I've been able to change smb.conf as mentioned earlier in this thread. and the .xbmc folder: Code: [root@MX .xbmc]# ls -alt So, there is a lot the can be modified on the XBMC side, but very little on the Linux side. Some of the XBMC files are part of the squashfs usr.sqsh file and can't be altered. tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - nickr - 2014-02-11 What are you trying to change? RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-02-11 nickr: Actually, the changes I've already made are pretty much what I need. I altered smb.conf so I could easily scan the Linux file system from a Windows PC. It would be nice to be able to add, delete and edit files remotely on the SD card and USB sticks plugged into the My Gica though. I was also able to edit the remote.conf file so that more buttons would work on the remote. I can't seem to figure out why key repeat works on the remote but not on the keyboard. Other than that, I keep plugging away at things so that whatever I learn, I can pass on to others. tinker |