How to initalize harddrive on Dream Elite image

Vangerwen

File Master
File Master
Dec 28, 2012
345
6
16
Narnia
Workaround / fix for harddisk formatting error in Dream Elite Image​


After a lot of testing, I found out that the dream-elite team has deactivated a line in fstab which causes error when you want to format a new harddisk in your dreambox.
If you get an error while formatting the harddisk in your dreambox you can do the following trick to get your harddisk formatted:



1 .Open the file fstab with a linux-compatible editor (i used textpad).
fstab can be found in "/etc"

2. When you have opened it you will see something like this:

rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock2 /boot jffs2 ro 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
#/dev/sda1 /media/hdd auto defaults 0 0

3. Now remove the '#' so that it will be:

rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock2 /boot jffs2 ro 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/sda1 /media/hdd auto defaults 0 0

4. Put the edited fstab file back in /etc, give it rights 644 and restart your box.

5. After the restart, format your harddisk, it will format without errors.

6. Play some channel and do some time-shifting (pause/play etc)

7. I noticed that the mapping option in Dreamelite image doesn't work anymore when you remove the '#" so now change the fstab file back to original, give it rights 644 and put the # in front of that line again.

8. Restart your box again.

9. Map your harddisk.


Tested on a DM800 and a DM8000.