Ga naar inhoud
Sat4all gemigreerd! LEES HIER VERDER! ×

Aanbevolen berichten

Geplaatst:

Met welk commando kan ik vanaf de CLI een nieuwe USB key formatteren?

 

Zit niet in mijn huidige Hydra release

 

Alvast bedankt!

Dreambox 7000, 7020 en 500

Geplaatst:

misschien dat dit je op weg helpt:

 

This is how you do it

 

First connect youre USB stick on your dreambox. (if not already done)

Power on dreambox

Check if USB stick is recognised ls /dev/scsi/host0/bus0/target0/lun0/disc

If this gives an error, Your 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 and let the DB go out. This is for 2 reasons:

To save enigma settings and to make sure that the 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 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. And the stick should 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 commands, if you want to use the stick for other stuff skip them:

 

cp -a /var /m/scsi

touch /m/scsi/var/tmp/init

sync

 

 

Now reboot dreambox again and you should have a big /var filesystem

 

mvg, Tony

 

 

[color:"red"] aub de volgende keer even een NL-vertaling bijplaatsen. niet iedereen leest buiten-de-grens. thnx! [/color]

"Twee dingen zijn oneindig, het universum, en menselijke domheid. Maar van het universum weet ik het nog niet helemaal zeker..."

Geplaatst:

Top dat helpt inderdaad.

 

De key wordt alleen niet gemount op /m/scsi (ook nog nooit zoiets gezien op een linux bak) maar wel op /mnt/usb

 

Maar dat zal de pret niet drukken denk <img src="/ubbthreads/images/graemlins/smile.gif" alt="" />

Dreambox 7000, 7020 en 500

  • Wie is er online   0 leden

    • Er zijn geen geregistreerde gebruikers deze pagina aan het bekijken
×
×
  • Nieuwe aanmaken...