PDA

View Full Version : what's the telnet command for......



canthackit
02-01-2009, 11:01 AM
Hello fellow dreamys:respect-053:

i've sodded up my 1Gig pen i think i've formatted it to ntfs or fat32 in my pc, i want to try and reformat it manually to ext3 but i've forgot the commands, can someone please tell me the command for mounting and formatting.

regards:canthackit

Dabs
02-01-2009, 11:46 AM
Hi,
Could you not just format and mount with Flash******?

ian
02-01-2009, 11:56 AM
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 disk pationing:
dd if=/dev/zero of=/dev/scsi/host0/bus0/target0/lun0/disc count=10
Shutdown enigma en let the DB go out. This is for 2 reasons
Save enigma settings
Make shure that stick is NOT mounted

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 pronpt.
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. And the stick shoul be mounted in /m/scsi

When dreambox is up, check if stick is mounted. If it is not mounted, start over again and read more careful.
cd /m/scsi
ls
You MUST see a directory called 'lost+found'. If you don't see that dir, you must start over again from the top.
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

Dean sat
02-01-2009, 01:51 PM
Hi m8 I just use DCC, Telnet tick USB, Mount, Format
All the best Dean.

canthackit
02-01-2009, 03:31 PM
@ dabs ans dean sat

thanks guys but your ways wont/dont work, that's why i need the manual procedure.

@ ian
thanks mate now to see if i screwed my pen or not.

regards: canthackit

Gone_Fishing
02-01-2009, 04:12 PM
If you look in the DCC installation folder your find a file in there called "dccscript.ini" your find all the correct commands in there for USB


TNT

applematt
02-01-2009, 05:41 PM
Is this the same if you have a USB External Hard Drive ?

canthackit
03-01-2009, 12:40 PM
thanks TNT

just established i've screwed my pen, just ordered a new one, btw have you noticed how they've come down in price just bought a 16Gig for £22, i think thats excellent value.

regards: canthackit

Dean sat
03-01-2009, 02:05 PM
My 16Gb was £15.49 including delivery
All the best Dean.

canthackit
03-01-2009, 02:42 PM
Oh well:o15:

i've been screwed again:rant:

this new year aint started very well, hope it gets better as time moves on:sifone:

regards: canthackit