User(s) browsing this thread: 2 Guest(s)
|
[HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
|
|
11-14-2010, 12:13 PM
|
|||
|
|||
|
Hi
it's my first thread, and I hope it will be useful for a lot of people ! First of all, mods can correct my poor english, I'm only 16 ! I have my NMT apps AND my CSI apps on my USB drive. How I've done ? 1. Unplug HDD (if it got one !) and plug an USB key. 2. SETUP -> Maintenance -> NMT Setup Wizard menu. Chose USB Update and Fresh install if you want to totally erase the internal HDD including your files. 3. Using CSI, configure your device Popcorn Hour *200 (USB), and use CSI. 4 All work ! BUT, your USB key isn't big, and only for the apps, you won't use it as a storage media, so everything we've done here isn't useful BUT if we say the Popcorn that the Video, Music, Photo, Download and every other folder on the HDD is in the share folder ? IT WILL WORK !Then we only need to link the Video,... folders at startup to the /share/ folder. How ? Editing the "start_app.sh" script in the /share/ folder, previously created by CSI, and including my script. 5. With Notepad ++, open the start_app.sh file, and add this code between exit and ###Marker### : Code: # symlink SATA to USB ! Artifex147. Delete any files/folders in the (share) folder you've chosen to link [eg: /share/Video (=USB!) you need to remove any files/folder in this folder or to remove this folder, otherwise, the symlink won't work !] 8. Reboot your NMT. 9. Browse your share folder from a PC : in the Video,... folders, you see the HDD files !!!! But your Media Location is USB_DRIVE, then you can use CSI ! 10. Say that it works if it work please ! |
|||
2 users say Thank You to Artifex14 for this post |
|
11-14-2010, 11:29 PM
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
Tomorrow, I'll update the thread, because my nmj_database is stored on my ..... USB device !
|
|||
1 user says Thank You to Artifex14 for this post |
|
01-29-2011, 09:05 AM
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
Will try this when I get home, but have to warn you I'm a noob
|
|||
|
01-29-2011, 04:23 PM
(This post was last modified: 01-29-2011 04:25 PM by jimi_c.)
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
hmmm will this work with 2 internal harddrives? (a5 and b5) would not mind if they show as 1 drive
|
|||
|
04-08-2011, 03:33 AM
(This post was last modified: 04-08-2011 03:48 AM by BlackDogX.)
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
I can't seem to make this work on my A-210. My USB/Video folde says "No Content Found"
Here is the Start_App.sh script what am I missing? #M_A_R_K_E_R_do_not_remove_me ## filecount() { [ -e "$1" ] && numfiles=$# || numfiles=0 } rm /share/Video # It removes any old symlink. if [ -d "/share/Video/" ]; #it tries if the folder exists. then cnt=$(ls /share/Video | wc -l) # It exists then it verify if it got any folder/file in this folder. if [[ ! $cnt -ne 0 ]] ; then rm -r /share/Video # It doesn't got anything in the folder, so it deletes the folder (using rm -r). fi fi if [ -d "/opt/sybhttpd/localhost.drives/SATA_DISK_A2" ]; #Verify if the HDD was plugged after or before boot then SATA=SATA_DISK_A$NUMBER # Before else SATA=SATA_DISK_B$NUMBER # After fi ln -s /SATA_DISK_A2/movies /share/ # Now it links the folder of the HDD to the share ! echo "All right" exit 0 Is there also a way to add in my NAS to this? Then I could build a NMJ database on my USB drive and this would allow both to be mounted at the same time correct? Thanks for any help. |
|||
|
07-03-2011, 05:15 PM
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
Does the job perfectly - you're a smart guy. Cheers.
|
|||
|
09-22-2011, 09:38 PM
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
Any updates regarding this? Working perfectly?
What about NMJ? |
|||
|
01-12-2012, 04:18 PM
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
I can't get it to work. Can you please help. Below is what I have done.
# symlink SATA to USB ! Artifex14 ## Values to change for folder in Download Music Photo Video;do # you can change these values, they correspond to the HDD folder. NUMBER=4 # Your HDD number, you can see it in the FTP or the samba share. ## filecount() { [ -e "$1" ] && numfiles=$# || numfiles=0 } rm /share/Download # It removes any old symlink. if [ -d "/share/Download/" ]; #it tries if the folder exists. then cnt=$(ls /share/Download | wc -l) # It exists then it verify if it got any folder/file in this folder. if [[ ! $cnt -ne 0 ]] ; then rm -r /share/Download # It doesn't got anything in the folder, so it deletes the folder (using rm -r). fi fi if [ -d "/opt/sybhttpd/localhost.drives/SATA_DISK" ]; #Verify if the HDD was plugged after or before boot then SATA=SATA_DISK # Before else SATA=SATA_DISK_A1 # After fi ln -s /SATA_DISK/Download /share/ # Now it links the folder of the HDD to the share ! echo "All right" done A110 Internal HDD A110 Internal HDD A210 USB (APPS) WDC 3TB HDD Internal |
|||
|
03-15-2012, 01:47 PM
|
|||
|
|||
|
RE: [HOW-TO] NMT Apps and CSI apps on USB Drive with SATA Drive
It worked for me, it's important to follow instructions carefully. After I copy/pasted the code, I changed NUMBER=4 to NUMBER=1 and then deleted all folders except APPS on the usb stick.
Artifex14, thanx! Any news on the NMJ? |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




if we say the Popcorn that the Video, Music, Photo, Download and every other folder on the HDD is in the share folder ? IT WILL WORK !



![[+]](images/collapse_collapsed.gif)




.png)