PDA

View Full Version : External usb hdd



eddman
28-12-2010, 11:13 AM
After succussfully scanning and saving my satellites on my dm800, I have an issue with my external usb harddisk. The harddisk is 300gb which I formatted it to fat32 before initializing it on my dm800. But when I press the record button it says that the disk size is 100mb and is to small. The display of my harddisk in device manager is Type: SCSI (harddisk) /dev/sda. Any solutions to this? I've only had my dm800 for a few weeks now so I'm all new to this.:confused:

saintomer1866
29-12-2010, 07:47 AM
what image are you using ?

enrico001u
29-12-2010, 09:55 AM
you need to somehow change it to media/hdd.

eddman
29-12-2010, 04:03 PM
I'm using enigma2, and how do I change my harddisk to media/hdd?

Quailman
29-12-2010, 05:03 PM
To do it manually you need to telnet in to your box then.

If you know the usb is in slot /dev/sda1 then.

command:

mount /dev/sda1 /media/hdd

eddman
29-12-2010, 05:22 PM
I have dreambox control centre v296. I've never use this before so bare with me.

Quailman
29-12-2010, 06:09 PM
To telnet into your box from a windows pc:

Start>run>cmd>telnet 192.168.1.#

replace the # with box ip address.

Make sure before you do the mount what the location of the usb is when connected to the box
i.e. /dev/sda1

eddman
29-12-2010, 06:25 PM
Ftp and telnet connected, so after pressing the telnet tab, in the black space where flashing cursor is type in mount /dev/sda1 /media/hdd. My harddisk is connected to the bottom usb slot. When I checked my device manager it says dev/sda, so do I type in mount /dev/sda /media/hdd? I'm working from dreambox contol centre not through windows.

eddman
29-12-2010, 06:58 PM
After typing in the command it says not found. This sounds like a lot of hassle from where I am. I'm better off just getting an internal 2.5'' sata drive and doing the procedure from the dreambox menu. At least it will be straight forward, I think. Anyway many thanks for your help lads.

Quailman
29-12-2010, 08:32 PM
as a test if you plug the hdd then in then: dreambox control center ftp>commander look in autofs and tell me whats there.

Also telnet and type: mount ,and post the results

eddman
30-12-2010, 04:00 PM
In the autofs folder you have: sr0 DIR 01.01.2000...55
sr1 DIR 01.01.2000...55

And this is the results I got when I telnet and typed in mount:

rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
undev on /dev tmpfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/mtblock2 on /boot type jffs (ro)
tmpfs on /var type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
automount(pid635) on /autofs type autofs (rw,fd=4,pgrp=635,timeout=1,minpr oto=2,maxproto=4,indirect)
/dev/sda1 on / media/5f9b239a-2ebb-47a5-aa53-153eadd8ea98 type ext3 (rw,data=ordered)

saintomer1866
30-12-2010, 04:19 PM
ok eddman go back into your dreambox and go into the ETC folder
find the fstab file and right click to edit it
if there's a line in there that starts like this....

/dev/sda1 ..........
then delete it and copy/paste this line in its place....

/dev/sda1 /media/hdd ext3 defaults 0 0
save this and then restart your dreambox
St.O

eddman
30-12-2010, 04:56 PM
Ok, I've found the file and placed the command and reseted my dreambox. Do I initialize it again from the dreambox because it's still saying harddisk is to small when I press the record button.

saintomer1866
30-12-2010, 05:16 PM
ok,
telnet into your box and enter this command;

fdisk -l
(thats a little L by the way)
and post back your results
St.O

eddman
30-12-2010, 05:20 PM
I have a feeling my harddisk is not compatible, it's a fugitsu mhz2320bh g2 usb drive. I may have to give up on this and get myself a 2.5'' internal sata drive.

eddman
30-12-2010, 05:42 PM
Here are the results:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/tracks, 38913 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks id system
/dev/sda1 1 38912 312558592 b Win95 FAT32

saintomer1866
30-12-2010, 05:48 PM
ok,
now initialise it (as it's still fat32 at the moment)
St.O

eddman
30-12-2010, 06:07 PM
Ok, done that.

saintomer1866
30-12-2010, 06:13 PM
have you tried recording again ?
St.O

eddman
30-12-2010, 06:27 PM
Tried pressing record and it's still saying ''Free Disk size to small 100mb''

saintomer1866
30-12-2010, 06:35 PM
ok, do the 'fdisk -l' command again
St.O

eddman
30-12-2010, 09:39 PM
I did the fdisk -1 command and a different result came up.

fdisk: invalid option -- '1'
BusyBox v1.15.3 (2010-07-21 18:00:33 CEST) multi-call binary

Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK

Change partition table

Options:
-u Start and End are in sectors (instead of cylinders)
-l Show partition table for each DISK, then exit
-b 2048 (for certain MO disks) use 2048-byte sectors
-C CYLINDERS Set number of cylinders/heads/sectors
-H HEADS
-S SECTORS

oldfart
30-12-2010, 09:46 PM
minus 'L' lowercase

eddman
30-12-2010, 10:20 PM
Sorry, here's the correct result with fsdisk -l with lowercase L


Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 38913 312568672 83 Linux

saintomer1866
31-12-2010, 09:23 AM
that's good your disk has now been formatted ext3.
now just recheck your fstab file (in ETC folder) and make sure the line that you copied in

/dev/sda1 /media/hdd ext3 defaults 0 0
is still there and restart your box (not enigma)
hopefully your disk will be there now, if not show us the contents of your fstab file
St.O

eddman
31-12-2010, 09:36 AM
Hi St.O, How do I restart my box without enigma mode?

saintomer1866
31-12-2010, 09:44 AM
in the shutdown menu it will give you the option to either 'restart' or 'restart enigma' you want to 'restart'
alternatively you can telnet into your box and type 'reboot'
St.O

eddman
31-12-2010, 09:54 AM
Thanks, will check the ect folder then restart it and report back with the results. Whether this works or not thanks for your time in helping out. I will need to switch on my main pc to do the checks.

eddman
31-12-2010, 10:20 AM
Ok, hear are the results:

I checked the fstab file and the command line has remained the same:

/dev/sda1 /media/hdd ext3 defaults 0 0

Then I telnet into my dreambox and typed in reboot which it did.
Just one thing, when it was rebooting the enigma 2 logo was still there in the bottom left hand of the screen.

saintomer1866
31-12-2010, 10:49 AM
so are you able to record now ?
if not change that line in fstab to this;

/dev/sda1 /hdd ext3 defaults 0 0
then press menu -> standby/restart (or shutdown menu) -> restart
St.O

eddman
31-12-2010, 10:54 AM
No I can't record but I will change the line command and get back to you.

eddman
31-12-2010, 11:11 AM
I wrote in the new command:

/dev/sda1 /hdd ext3 defaults 0 0

Then I did a restart, pressed record and the same thing came up: disk size to small 100mb. I think all avenues used here. The only other thing I can think of is that there is a downloadable plugin for usb drives.

saintomer1866
31-12-2010, 11:56 AM
what image are you using ?
try putting a new image on your box
something like icvs (from ihad) or DreamElite 1.3.3 or New Dream Elite 1.0
you really shouldn't be having this problem
as you've scanned your sats save these settings to your pc (i use DreamboxEdit) before you put the new image on so you can reload them after
St.O

eddman
31-12-2010, 12:15 PM
True I shouldn't be having all this hassle, the image I'm using is enigma 2. I might put a different image or get an internal disk at some point in the future. I have not decided yet but many thanks anyway for you help and advice. I will keep you posted when have my external or internal disk up and running.:respect-054:

saintomer1866
31-12-2010, 12:44 PM
all dm800 images use enigma2 (it's the operating system)
if your getting a blue enigma2 logo at the bottom of your screen it sounds like you've got
the original bog standard image that the box was shipped with
you need to put on a more up to date image that has newer drivers
St.O

eddman
31-12-2010, 12:51 PM
No, my enigma logo is not blue, it's just white writing.