Don't think that command works in VIX..
Using DE BH i used uuid to mount. There was also this "by-uuid" directory somewhere (in /dev? can't remember exactly..)
/Yngve
Don't think that command works in VIX..
Using DE BH i used uuid to mount. There was also this "by-uuid" directory somewhere (in /dev? can't remember exactly..)
/Yngve
now i can play with my box bit more than just wach tv.....
Just added the following to the sticky:
Use fdisk to create partition
(WARNING: Ensure you have taken backups of any data you want to keep from all devices, I do not assume responsibility for any data lost!!!):
You will first need to unmount the device you want to re-partition. To do this, use the command umount device, for example umount /dev/sda
Then, you can start to partition the device:
fdisk device. For example, fdisk /dev/sda
To get help in fdisk, enter the letter m, followed by enter press. The most common commands used are:
p - print the partition table
n - create a new partition
d - delete a partition
q - quit without saving changes
w - write the new partition table and exit
t - change a partition's system id
Changes you make to the partition table do not take effect until you issue the write w command.
First off, list all the partitions on the disk by press the p. This should give you the partitions on your disk, an example would be:
Delete all current partitions, by pressing d. This may ask you for the partition number (may not if you only have 1 partition. In the example above, I would choose 1 for sda1, and 2 for sda2. Delete all partitions.Code:Disk /dev/sda: 32.0 GB, 32006733824 bytes 17 heads, 17 sectors/track, 216308 cylinders Units = cylinders of 289 * 512 = 147968 bytes Device Boot Start End Blocks Id System /dev/sda1 1 213474 30846984+ 83 Linux /dev/sda2 213475 216308 409513 82 Linux swap
Now, we can just press n to create the new partition(s). This will ask if you want an extended or primary. Choose primary by entering p. Now, enter 1 as the partition number. If you are just going to do the 1 partition, just press enter when it asks you for the first cylinder and last cylinder.
However, if you want a swap partition, or 2 partitions, then you will need to calculate the cylinder values you need for the sizes you want to set. In my example of the partitions above, I want a 400mb swap file. From the number of bytes, I can do 32006733824 (number of bytes) divided by 1024 which gives 31256576kb. I now need to divide it by 1024 again, to give me MB, which equals 30524MB. So, to have 1 partition as the main drive (of the majority of disk) and another as swap with 400MB, I will do 30524 minus 400, which gives me 30124. Now, to work out how many cylinders to use for the first partition (~30124MB), we need to work out the ratio. So, 30124/30524 gives us a ratio of 0.9869. So, for partition 1, we want 216308 * 0.9869 cylinders (which is 213474 (rounded). So, when I am asked for the first cylinder, I would enter 1 (as we want it to start at the beginning), and then when I'm asked for the last cylinder, I would enter 213474. Then, I would follow through, and choose the process again (n to create a new partition), choose primary (p), then enter 2 as your partition number. Now, when it asks the first cylinder, you can just press enter for the default value given (first free cylinder, which is 213475). You can also just press enter to accept the default value for the last cylinder. If you now choose p, this should give you the table, as shown above, except the sytem is Linux on both, instead of Linux Swap for the swap partition...
So now, we need to press t to change the system ID so the system recognizes it as a swap partition. You will be asked which partition to change the system id. In this case, it would be 2. You should now enter 82, as this is the code for a linux swap. You will now receive a message to say you've changed the partition type. Now, pressing p to print the partition table, will give you the same as the code above... Now, we just need to write it by press w.
You can now proceed to format the partitions for use in linux
Format a partition
(WARNING: Ensure you have taken backups of any data you want to keep from all devices, I do not assume responsibility for any data lost!!!):
Again, to format a partition, you must ensure your partition is not mounted. Issue the command umount device, for example umount /dev/sda1
Now, you can format the partition using the command:
By default, five percent of the partition is reserved for use by the root user. This allows root to conduct administrative activities on the partition and perhaps move some data off. However, this is most critical when the partition contains / or home directories. For pure data partitions, this is just lost space. So, if you have a 1tb hdd, then 5% of this is ~50gb. A lot of wasted space. So, we can get the system to only use 1%, which is more negligable. To do this, we issue the command:Code:mkfs.ext3 device (e.g. mkfs.ext3 /dev/sda1)
Code:mkfs.ext3 -m 1 device (e.g. mkfs.ext3 -m 1 /dev/sda1
Alanp (06-07-11)
Errrrrr
what's the telnet commands for starting and stopping CCcam please.
regards: canthackit
I have the image mounted from hdd ViX 2.3 build 204.
but if I try to list the disk I get this error:
anyone know which command I have to use?Code:vuuno root @: ~ # fdisk -l -sh: fdisk: not found vuuno root @: ~ #
good looking I found this,
but not if there will be any more complete command now it throws me the box.Code:blkid
Code:vuuno root @: ~ # blkid / dev/sdb1: UUID = "A0AF-F47C" / dev/sda1: UUID = "-281b-41de 4e8a4edf-9821-b34c392160fa"
can some one please write me a command how to restart enigima 2 from putty?which command?
to re-start enigma 2 from a telnet session use
init 6
or
shutdown -r now
My posts contain my own personal thoughts and opinions, they do not represent those of any organisation or group but my own.
If you don't like what I post, Don't read it.
SIMPLES.
hi,
restarting only enigma is done with
init 4
init 3
ciao
gesendet von meiner Tablette
---
Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard
I've got Telnet Client window on my laptop and connected to gigablue box via WLAN, so I have an ip address that works with OpenWebIf.
How do I actually connect the telnet to the box??
Type following in command prompt:
telnet "ip address of box"
eg.
telnet 192.168.1.25
Thanks. It worked.