root
28th February 2009, 14:10
Use Dreambox Control Centre E2 Telnet Option
Check if USB stick is recognised
ls /dev/scsi/host0/bus0/target0/lun0/disc
If this gives an error, Youre device is not recognised and you cannot continue.
Clean USB stick pationing:
dd if=/dev/zero of=/dev/scsi/host0/bus0/target0/lun0/disc count=10
Shutdown enigma via menu button. This is for 2 reasons
1/ It Save enigma settings
2/ Unmounting the USB disk
Reboot the dreambox by pressing the on key on your remote.
Use DCC/telnet again
Partition USB-Stick
sfdisk /dev/scsi/host0/bus0/target0/lun0/disc
Press enter 4 times. sfdisk is asking questions about how to create 1th, 2nd, 3th, 4th partition. Defaults are fine
Now you get a warning 'no primary partition is marked bootable (active)' and a question if you want to write this to disk. Answer y to that question.
If everything is OK, you are back on the telnet prompt.
Make an ext3 filesystem on the stick (reiserfs is NOT recommended for small devices)
mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
sync
Now reboot the dreambox again (menu shutdown, then remote on button).
If you want to mount /var on USB stick do the following command, if you want to use the stick for other stuff skip it:
cp -a /var /m/scsi
touch /m/scsi/var/tmp/init
sync
Now reboot dreambox again and you should have a big /var filesystem
Check if USB stick is recognised
ls /dev/scsi/host0/bus0/target0/lun0/disc
If this gives an error, Youre device is not recognised and you cannot continue.
Clean USB stick pationing:
dd if=/dev/zero of=/dev/scsi/host0/bus0/target0/lun0/disc count=10
Shutdown enigma via menu button. This is for 2 reasons
1/ It Save enigma settings
2/ Unmounting the USB disk
Reboot the dreambox by pressing the on key on your remote.
Use DCC/telnet again
Partition USB-Stick
sfdisk /dev/scsi/host0/bus0/target0/lun0/disc
Press enter 4 times. sfdisk is asking questions about how to create 1th, 2nd, 3th, 4th partition. Defaults are fine
Now you get a warning 'no primary partition is marked bootable (active)' and a question if you want to write this to disk. Answer y to that question.
If everything is OK, you are back on the telnet prompt.
Make an ext3 filesystem on the stick (reiserfs is NOT recommended for small devices)
mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
sync
Now reboot the dreambox again (menu shutdown, then remote on button).
If you want to mount /var on USB stick do the following command, if you want to use the stick for other stuff skip it:
cp -a /var /m/scsi
touch /m/scsi/var/tmp/init
sync
Now reboot dreambox again and you should have a big /var filesystem