Enigma 2 and HardDisk

DustinH

Registered
Messages
5
When I am booting original image it´s no problem to copy anything to the HD or use it at all. When I am starting E2 from USB, I can se HD, but I don´t think it is realy my HD, since space is limited, and I can´t ftp my pictures to the HD and my films in .ts format. When I am trying to FPTIt giving me the following errormessages: Status follows: drwxr-xr-x 6 0 0 1024 Aug 19 08:09 . drwxr-xr-x 5 0 0 1024 Aug 19 07:53 .. drwxr-xr-x 3

If anyone knows something about the issue, I would be very thanksful. I am using Summertime E2
 

StevieRV

Registered
Messages
27
Hi,

I found out that a manual mount is needed for HDD support in E2.

First mount
See if anything has been mounted to /hdd.
if /dev/sda1 is mounted umount /dev/sda1
then mount /dev/sda2 /hdd
 

arken

Registered
Messages
293
@DustinH If you are booting E2 from USB stick, the device name of your usb hdd is /dev/sdb.
Edit /etc/fstab and add the following line:
Code:
/dev/sdb1        /hdd            auto    defaults,errors=remount-ro,noatime,nodiratime      0 0
comment out with # any other line that mount at /hdd, reboot E2.
Your hard disk must be formatted in ext2 filesysteim with one partition, make manually movie dir, in order recordings to work
Code:
mkdir -p /hdd/movie

PS. Rainman was a good movie :)
 

tiesto80

Registered
Messages
24
mount hard drive

hello...
I got similar problem as well, trying to mount hard drive
Using Ipbox9000 - running E2 0.60 flash

I did the following steps:
1) formatted hard disk with command: mkfs.ext2 /dev/sda
2) created 2 partitions. See fdisk -l output below:
cuberevo:~# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 512 4112608+ 83 Linux
/dev/sda2 513 60801 484271392+ 83 Linux

3) tried to mount device to hdd/movie but with no success
cuberevo:~# mount /dev/sda2 /hdd/movie
mount: mounting /dev/sda2 on /hdd/movie failed: Invalid argument

note that using NLB image i was able to record normally.

Any ideas of what am doing wrong ????
PLEASE HELP ME

thanks,
 

StevieRV

Registered
Messages
27
try mount dev/sda2 /hdd/ instead of mount dev/sda2 /hdd/movie
/movie should be created as a dir after mounting.
 

tiesto80

Registered
Messages
24
try mount dev/sda2 /hdd/ instead of mount dev/sda2 /hdd/movie
/movie should be created as a dir after mounting.

Nothing works mate - CANNOT mount the hard disk - HELP please

cuberevo:~# mount /dev/sda2/hdd
mount: can't find /dev/sda2/hdd in /etc/fstab

cuberevo:~# mount /dev/sda2 /hdd
mount: mounting /dev/sda2 on /hdd failed: Invalid argument

cuberevo:~# mount /dev/sda2 /hdd/
mount: mounting /dev/sda2 on /hdd/ failed: Invalid argument

------------fstab
# <file system> <mount point> <type> <options> <dump> <pass>
#/dev/root / auto defaults,errors=remount-ro,noatime,nodiratime 0 0
/dev/sda2 /hdd auto defaults,errors=remount-ro,noatime,nodiratime 0 0
#/dev/sda2 none swap sw
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
----------------------
 

tiesto80

Registered
Messages
24
create in hdd "MOVIE"

there is already /hdd/movie
there are 3 subfolders in /hdd/ ,, movie, music, pictures... i just cant mount /sda2 on any folder.

is there a tool to format hard drive again ? or script?
.. then create the 2 partitions?

thanks for your help !
 

PETER36

Registered
Messages
140
Nothing works mate - CANNOT mount the hard disk - HELP please

cuberevo:~# mount /dev/sda2/hdd
mount: can't find /dev/sda2/hdd in /etc/fstab

cuberevo:~# mount /dev/sda2 /hdd
mount: mounting /dev/sda2 on /hdd failed: Invalid argument

cuberevo:~# mount /dev/sda2 /hdd/
mount: mounting /dev/sda2 on /hdd/ failed: Invalid argument

------------fstab
# <file system> <mount point> <type> <options> <dump> <pass>
#/dev/root / auto defaults,errors=remount-ro,noatime,nodiratime 0 0
/dev/sda2 /hdd auto defaults,errors=remount-ro,noatime,nodiratime 0 0
#/dev/sda2 none swap sw
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
----------------------
cuberevo:~# mount /dev/sda2/hdd/movie :rolleyes:
 

tiesto80

Registered
Messages
24
in telnet. umount /hdd
mount /dev/sda2 /hdd
cd /hdd
mkdir movie

... nope.. didnt work ... :(
mkdir: cannot create directory 'movie': File exists

cuberevo:~# umount /hdd or umount /dev/sda2
umount: cannot umount /hdd: Invalid argument

nothing works mate.... dont know whats wrong ... NLB image could see / record on hard disk... i was able to transfer file on it...
using E2, i dont see the hard disk with ftp anywhere....
ANY IDEAS? re-format hard disk? KCC tool?
What if i take the hard drive out, format it using a windows tool... dont know what.. but must exist.. create the partitions sda1 and sda2.... and then put it back..
I have a feeling that something must be going wrong with partitions, blocks, format.... i did everything manually with fdisk commands ;)

thanks
 
Last edited:

Bacardi

Registered
Messages
289
i got mine working tonight i did not do anything special. I formated from the nlb web interface, and booted up to the nlb image in the flash let it prepare the hdd i could then see the temp files etc if i ftp'd in.

Then If i fdisk -l i got this

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 125 1004031 82 Linux swap
/dev/sda2 126 121601 975755970 83 Linux

Disk /dev/sdb: 2078 MB, 2078277632 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 252 2024158+ 83 Linux
cuberevo:~# Device Boot Start End Blocks Id System


i then edited my fstab to read

/dev/sda1 none swap sw
/dev/sda2 /hdd auto defaults,errors=remount-ro,noatime,nodiratime 0 0

i can now reboot and use my hdd, i can browse the temp file i recorded earlier, and now record to it

cheers
 
Last edited:

tiesto80

Registered
Messages
24
Finally, i managed to mount the hard drive... THANKS :clapping:
... although i formatted the whole hard drive, ie sda,... i had to format individual partition too to get it mount.. sda2...
To save time to those having similar problems.... i did the following with telnet:

1) format hard drive: mkfs.ext2 /dev/sda

2) create 2 partitions with fdisk: fdisk /dev/sda
press m to see help, (google to see how to use fdisk)
w to save and exit

3) to check if u created the partitions correctly : fdisk -l

4) format partition sda2 : mkfs.ext2 /dev/sda2

5) mount /dev/sda2 /hdd

that should be it !
 

Camomille

Donating Member
Messages
20
sorry I'm late. Traffic light was red ;) ;)

Have you sorted this now?

I'm having same problem and does not understand why my hdd refuses to listen to me.
I deleted and created new partitions with fdisk. I also modified fstab but recorded files still point to "somewhere on my 4 go usb stick"
For info, I am using NLB9580 and PKT Mod 7.5 on usb.

Great thanks for your help.

Greetings to all.

Camomille
 

bobtrob

Registered
Messages
10
I'm having problems with this as well, no hdd directory in root, just a link to it which goes nowhere, also the fstab file is not in etc (there's a link to it), it is in var/etc

Seem to be going nowhere, upgraded to E2 and have now lost recording facilities on my Cuberevo 3000HD.
 

Obidion

Registered
Messages
3
Always can try :
fsck.ext3 -f -v -y /dev/sda1
from telnet
Had no files visible at all- when clicked on hdd- it was showing folder with epg file and one folder only that wasn't even on HD. Had to run this command on telnet and it recognised faulty file system straight away. Repair took me like 40 minutes and there where about 100 fix entries listed. Then I run scan from my Enigma image (HDD file system check) that I couldn't run before (was saying Filesystem contains uncorrectable errors - I typed in this in Google - I found this command on some german website- credits to them as it did work and normal fsck command was resulting only in not found line...) There is also deeper solution for ones that cannot run this thru sda1- and fix it thru IDE file after umount command (this german website). Well- worked for me and didn't have to format- recovering all files.
Fault looked like that that my ET9200 froze in the morning and was only turning on/off front info panel but not working on TV at all. After restart it had no files on HD.
Hope it will help
Reposting as after 30 minutes can't modify previous post and now I have much more info.
 
Last edited:
Top