why ext3? - use your already NTFS formated USB HDD

Status
Not open for further replies.

jan&fransje

Vu+ Newbie
Hoe een externe harde schijf (USB) - al geformateerd in NTFS - te gebruiken (lezen en SCHRIJVEN) met VU+:

De harde schijf hoeft NIET ext3 of fat32 geformateerd te worden om hier naar toe te kunnen SCHRIJVEN met de box!!!


a. Maak een shell script-bestand of gebruik het bestand harddisk.sh

harddisk.sh:

-------------------------------------------------------------------
#! /bin/sh
#
# schrijven naar NTFS-geformateerde (USB) harddisk
#
PATH=/sbin:/bin:/user/sbin:/usr/bin:

umount /media/hdd
ntfs-3g /dev/sda1 /media/hdd
-------------------------------------------------------------------


LET OP /media/hdd en/of /dev/sda1 kunnen afwijken van jouw huidige instellingen - zie instelling op de box
NOTICE /media/hdd and/or /dev/sda1 may be different on your box - check your settings (devices manager)


b. Plaats met FTP (DCC of VU+ Control Centre) het script-bestand in de map /etc/init.d

c. Zet de rechten voor het sh-bestand (CHMOD) op 755

d. Ga met FTP naar de map /etc/rcS.d

e. Hier staan de bestanden die bij het opstarten van de box worden doorlopen: Sxxnaambestand. In de volgorde van xx worden de bestanden ingelezen. Kies nu een logische (afhankelijk van de acties die in de verschillende bestanden worden uitgevoerd) plaats (xx) om het nieuwe bestand toe te voegen

bijvoorbeeld: S40networking is het laatste bestand dat bij mij wordt ingelezen - hierin wordt geen HDD meer geinitializeerd - dus heb ik gekozen voor S39harddisk.sh

f. Gebruik Telnet (DCC of VU+ Control Centre) om het volgende command te geven:

ln -s /etc/init.d/harddisk.sh /etc/rcS.d/Sxxharddisk.sh

waarin xx de plaats van het bestand aangeeft in de volgorde waarin de bestanden worden gelezen na het opstarten van de box

g. Box opnieuw opstarten

h. Nu kan de in NTFS-geformateerde (USB) harddisk gebruikt worden voor het wegschrijven van opnames, epg-data (Cross epg), picons, etc. aan de box, of opnieuw worden aangesloten aan de laptop/desktop (OS Windows) voor het maken van een backup hiervan (NTFS voor grote bestanden) of voor het kopieren van film- en muziekbestanden naar de harde schijf om ze op de box af te spelen.

i. Verwijder het bestand Sxxharddisk.sh (FTP naar /etc/rcS.d) om terug te keren naar de "standaard" instelling (rollback)


LET OP! altijd de box opnieuw opstarten als de harddisk is verwijderd en weer is ingeprikt!





How to use (READ and WRITE) an - already NTFS-formated (USB) HDD - with VU+ box:

NO NEED to format the HDD ext3 or fat32 to WRITE to it!!!


a. Write a shell script (see above) or use harddisk.sh

b. FTP the script file to the directory /etc/init.d

c. Make sure its atribute is set to 755

d. FTP to the directory /etc/rcS.d

e. The files in this directory are in the format Sxxfilename - where xx indicates the order in wich the files are executed when starting the box

e.g. in my box S40networking (no mounts HDD) is the last file to read when starting up the box - so S39harddisk.sh will be the next highest to be executed

f. Now use Telnet to execute the command line:

ln -s /etc/init.d/harddisk.sh /etc/rcS.d/Sxxharddisk.sh

where xx xx indicates the order in wich the file will be executed when starting the box

g. Restart your box

h. Now you can use your NTFS-formated HDD for recordings, epg-data, picons (make a directory called picons), etc.
Use the HDD with your laptop/desktop to backup your data or copy movies and music to it from your laptop/desktop to use with your box

i. Remove Sxxharddisk.sh (FTP to /etc/rcS.d) to go back to your initial setup (rollback)


NOTE! always restart your box when HDD is removed and pluged in again!





In Deutsch?
 

hicham2u

Vu+ Newbie
thank's for your guide it helped me to mount in read write mode my hdd. i have one question : i don't understand your advise

NOTE! always restart your box when HDD is removed and pluged in again!

can you explain it please
 

sokoman25

Vu+ Newbie
A suggestion,

Why do not integrate this method directly in image. It would be more easier no ?
I used other images and no problem to mount or to record on an NTFS external HDD
 

z.dedov

Vu+ Newbie
I make it and all work perfect, but now i can't see mounted drive in list of shared drives and folder of Media Player
 

McrRed

Vu+ Newbie
A suggestion,

Why do not integrate this method directly in image. It would be more easier no ?
I used other images and no problem to mount or to record on an NTFS external HDD

This is a brilliant method - I followed it without having a clue what I was doing...but IT WORKED!
Thank you, OP!

And, yes, it would be great if this script could be incorporated in to the image...
 

Shiro

BH-C
This is all unuseful.
Ntfs-3g is already included in Bh image.
You can mount Ntfs disks from device manager.

And WARNING THE PERFORMANCE OF NTFS ARE REALLY POOR UNDER LINUX.
IS MUCH BETTER TO USE LINUX NATIVE EXT4 FILESYSTEM.

thread closed
 
Status
Not open for further replies.
Top