Mostrando entradas con la etiqueta manuales. Mostrar todas las entradas
Mostrando entradas con la etiqueta manuales. Mostrar todas las entradas

sábado, 19 de enero de 2013

Recuperación de archivos desde linux --- FUNCIONA ---

Recover Data Like a Forensics Expert Using an Ubuntu Live CD - How-To Geek

No he terminado aún... pero despues de "liarla parda" y borrar particiones archivos y todo.... estoy recuperando todos los ficheros de una tarjeta SD.

Os dejo los pasos.... están en inglés.... pero seguro que no os resulta complicado..... Suerte.

.........................


There are lots of utilities to recover deleted files, but what if you can’t boot up your computer, or the whole drive has been formatted? We’ll show you some tools that will dig deep and recover the most elusive deleted files, or even whole hard drive partitions.
We’ve shown you simple ways to recover accidentally deleted files, even a simple methodthat can be done from an Ubuntu Live CD, but for hard disks that have been heavily corrupted, those methods aren’t going to cut it. In this article, we’ll examine four tools that can recover data from the most messed up hard drives, regardless of whether they were formatted for a Windows, Linux, or Mac computer, or even if the partition table is wiped out entirely.
Note: These tools cannot recover data that has been overwritten on a hard disk. Whether a deleted file has been overwritten depends on many factors – the quicker you realize that you want to recover a file, the more likely you will be able to do so.
Our setup
To show these tools, we’ve set up a small 1 GB hard drive, with half of the space partitioned as ext2, a file system used in Linux, and half the space partitioned as FAT32, a file system used in older Windows systems. We stored ten random pictures on each hard drive.
sshot-1
We then wiped the partition table from the hard drive by deleting the partitions in GParted.
Is our data lost forever?
Installing the tools
All of the tools we’re going to use are in Ubuntu’s universe repository.
To enable the repository, open Synaptic Package Manager by clicking on System in the top-left, then Administration > Synaptic Package Manager.
Click on Settings > Repositories and add a check in the box labelled “Community-maintained Open Source software (universe)”.
Click Close, and then in the main Synaptic Package Manager window, click the Reload button. Once the package list has reloaded, and the search index rebuilt, search for and mark for installation one or all of the following packages: testdiskforemost, and scalpel.
Testdisk includes TestDisk, which can recover lost partitions and repair boot sectors, and PhotoRec, which can recover many different types of files from tons of different file systems.
Foremost, originally developed by the US Air Force Office of Special Investigations, recovers files based on their headers and other internal structures. Foremost operates on hard drives or drive image files generated by various tools.
Finally, scalpel performs the same functions as foremost, but is focused on enhanced performance and lower memory usage. Scalpel may run better if you have an older machine with less RAM.
Recover hard drive partitions
If you can’t mount your hard drive, then its partition table might be corrupted. Before you start trying to recover your important files, it may be possible to recover one or more partitions on your drive, recovering all of your files with one step.
Testdisk is the tool for the job. Start it by opening a terminal (Applications > Accessories > Terminal) and typing in:
sudo testdisk
If you’d like, you can create a log file, though it won’t affect how much data you recover. Once you make your choice, you’re greeted with a list of the storage media on your machine. You should be able to identify the hard drive you want to recover partitions from by its size and label.
TestDisk asks you select the type of partition table to search for. In most cases (ext2/3, NTFS, FAT32, etc.) you should select Intel and press Enter.
Highlight Analyse and press enter.
In our case, our small hard drive has previously been formatted as NTFS. Amazingly, TestDisk finds this partition, though it is unable to recover it.
It also finds the two partitions we just deleted. We are able to change their attributes, or add more partitions, but we’ll just recover them by pressing Enter.
If TestDisk hasn’t found all of your partitions, you can try doing a deeper search by selecting that option with the left and right arrow keys. We only had these two partitions, so we’ll recover them by selecting Write and pressing Enter.
Testdisk informs us that we will have to reboot.
Note: If your Ubuntu Live CD is not persistent, then when you reboot you will have to reinstall any tools that you installed earlier.
After restarting, both of our partitions are back to their original states, pictures and all.
Recover files of certain types
For the following examples, we deleted the 10 pictures from both partitions and then reformatted them.
PhotoRec
Of the three tools we’ll show, PhotoRec is the most user-friendly, despite being a console-based utility. To start recovering files, open a terminal (Applications > Accessories > Terminal) and type in:
sudo photorec
To begin, you are asked to select a storage device to search. You should be able to identify the right device by its size and label. Select the right device, and then hit Enter.
PhotoRec asks you select the type of partition to search. In most cases (ext2/3, NTFS, FAT, etc.) you should select Intel and press Enter.
You are given a list of the partitions on your selected hard drive. If you want to recover all of the files on a partition, then select Search and hit enter.
However, this process can be very slow, and in our case we only want to search for pictures files, so instead we use the right arrow key to select File Opt and press Enter.
PhotoRec can recover many different types of files, and deselecting each one would take a long time. Instead, we press “s” to clear all of the selections, and then find the appropriate file types – jpg, gif, and png – and select them by pressing the right arrow key.
Once we’ve selected these three, we press “b” to save these selections.
Press enter to return to the list of hard drive partitions. We want to search both of our partitions, so we highlight “No partition” and “Search” and then press Enter.
PhotoRec prompts for a location to store the recovered files. If you have a different healthy hard drive, then we recommend storing the recovered files there. Since we’re not recovering very much, we’ll store it on the Ubuntu Live CD’s desktop.
Note: Do not recover files to the hard drive you’re recovering from.
PhotoRec is able to recover the 20 pictures from the partitions on our hard drive!
A quick look in the recup_dir.1 directory that it creates confirms that PhotoRec has recovered all of our pictures, save for the file names.
Foremost
Foremost is a command-line program with no interactive interface like PhotoRec, but offers a number of command-line options to get as much data out of your had drive as possible.
For a full list of options that can be tweaked via the command line, open up a terminal (Applications > Accessories > Terminal) and type in:
foremost –h
In our case, the command line options that we are going to use are:
  • -t, a comma-separated list of types of files to search for. In our case, this is “jpeg,png,gif”.
  • -v, enabling verbose-mode, giving us more information about what foremost is doing.
  • -o, the output folder to store recovered files in. In our case, we created a directory called “foremost” on the desktop.
  • -i, the input that will be searched for files. This can be a disk image in several different formats; however, we will use a hard disk, /dev/sda.
Our foremost invocation is:
sudo foremost –t jpeg,png,gif –o foremost –v –i /dev/sda
Your invocation will differ depending on what you’re searching for and where you’re searching for it.
Foremost is able to recover 17 of the 20 files stored on the hard drive.
Looking at the files, we can confirm that these files were recovered relatively well, though we can see some errors in the thumbnail for 00622449.jpg.
Part of this may be due to the ext2 filesystem. Foremost recommends using the –d command-line option for Linux file systems like ext2.
We’ll run foremost again, adding the –d command-line option to our foremost invocation:
sudo foremost –t jpeg,png,gif –d –o foremost –v –i /dev/sda
This time, foremost is able to recover all 20 images!
A final look at the pictures reveals that the pictures were recovered with no problems.
Scalpel
Scalpel is another powerful program that, like Foremost, is heavily configurable. Unlike Foremost, Scalpel requires you to edit a configuration file before attempting any data recovery.
Any text editor will do, but we’ll use gedit to change the configuration file. In a terminal window (Applications > Accessories > Terminal), type in:
sudo gedit /etc/scalpel/scalpel.conf
scalpel.conf contains information about a number of different file types. Scroll through this file and uncomment lines that start with a file type that you want to recover (i.e. remove the “#” character at the start of those lines).
Save the file and close it. Return to the terminal window.
Scalpel also has a ton of command-line options that can help you search quickly and effectively; however, we’ll just define the input device (/dev/sda) and the output folder (a folder called “scalpel” that we created on the desktop).
Our invocation is:
sudo scalpel /dev/sda –o scalpel
Scalpel is able to recover 18 of our 20 files.
A quick look at the files scalpel recovered reveals that most of our files were recovered successfully, though there were some problems (e.g. 00000012.jpg).
Conclusion
In our quick toy example, TestDisk was able to recover two deleted partitions, and PhotoRec and Foremost were able to recover all 20 deleted images. Scalpel recovered most of the files, but it’s very likely that playing with the command-line options for scalpel would have enabled us to recover all 20 images.
These tools are lifesavers when something goes wrong with your hard drive. If your data is on the hard drive somewhere, then one of these tools will track it down!

martes, 10 de julio de 2012

Manual de buenas prácticas en dinamización virtual (elaborado en comunidad d...

Enviado por Adrià a través de Google Reader:

vía El caparazon de dreig el 22/06/12

Trabajé con ellos en 2011 y me enorgullece que hoy presenten ya las Comunidades de aprendizaje como modalidad formativa. Os dejo uno de los documentos que elaboraron durante el período en que asesoré y trabajé con los profesores del Servicio de Formación de la Diputación de Valencia.
En su blog nos dicen:
Podríamos definir la Comunidad de Práctica como un grupo de personas que unidos por un interés profesional común aprenden juntos durante un tiempo y producen para el resto de profe­sionales un documento que puede ser referente en determinados aspectos de la práctica profesional.
Hasta la fecha, el Servicio de Formación ha editado tres publicaciones que son el resultado del trabajo de una Comunidad de Práctica:
  • Buenas prácticas para la dinamización de entornos virtuales
Este documento es una guía sobre la tutorización de cursos online, donde se abordan, entre otros aspectos, consejos sobre la gestión del tiempo, reglas de participación en entornos en línea, trabajo en grupo, motivación, evaluación y creatividad. Este documento ha sido producido por tutores que cuentan con una amplia experiencia en los planes de formación y ha contado con la participación de la experta en innovación educativa Dolors Reig.

He pensado que podía ser de interés para vosotros, así que aquí os lo dejo…

Feliz verbena de San Juan :)

Cosas que puedes hacer desde aquí:

Cómo ver la TV Digital Abierta en Linux

Con un poco de suerte tambien funciona para España.

Enviado por Adrià a través de Google Reader:

vía Usemos Linux: noticias y tutoriales sobre Linux y software libre de noreply@blogger.com (Pablo Castagnino) el 27/06/12

En este mini-tuto se explica cómo hacer para recibir la señal de la televisión digital abierta (norma brasileña) en su computadora. Todo esta explicado para el modelo de sintonizador PixelView PlayTV USB SBTVD, que es muy similar al que viene en las computadoras del Plan Conectar Igualdad.

Es muy probable que este tutorial sólo sirva a argentinos y brasileños, aunque los pasos son muy similares al utilizar otras placas y normas.

Pasos a seguir

1.- lsusb

Lo primero que hay que hacer es conectar el sintonizador. Luego, fijate que el sistema lo reconozca correctamente:

lsusb

Va a devolver algo como lo que sigue:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  Bus 001 Device 006: ID 1554:5010 Prolink Microsystems Corp.  Bus 001 Device 005: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer  Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Lo que aparece en negrita es el sintonizador, que el kernel reconoció correctamente.

2.- Instalar los drivers

Abrí el menú Sistema > Administracion > Controladores Adicionales e instalá "Firmware para tarjeta DVB". En las versiones más nuevas de Ubuntu, podés acceder a esta pantalla directamente desde el Dash escribiendo Controladores Adicionales.


Al finalizar, reiniciá.

3.- Instalar las herramientas para detectar los canales

sudo apt-get install dvb-apps

4.- Crear la lista de canales

Para este paso, creá un documento en blanco en tu HOME al que debes llamar channels.conf.

gedit channels.conf

Pegá dentro del archivo la siguiente información:

# UHF channels 14 to 69  T 473142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 14  T 479142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 15  T 485142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 16  T 491142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 17  T 497142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 18  T 503142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 19  T 509142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 20  T 515142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 21  T 521142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 22  T 527142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 23  T 533142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 24  T 539142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 25  T 545142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 26  T 551142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 27  T 557142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 28  T 563142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 29  T 569142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 30  T 575142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 31  T 581142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 32  T 587142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 33  T 593142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 34  T 599142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 35  T 605142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 36  # channel 37 not used  T 617142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 38  T 623142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 39  T 629142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 40  T 635142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 41  T 641142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 42  T 647142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 43  T 653142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 44  T 659142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 45  T 665142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 46  T 671142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 47  T 677142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 48  T 683142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 49  T 689142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 50  T 695142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 51  T 701142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 52  T 707142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 53  T 713142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 54  T 719142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 55  T 725142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 56  T 731142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 57  T 737142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 58  T 743142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 59  T 749142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 60  T 755142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 61  T 761142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 62  T 767142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 63  T 773142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 64  T 779142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 65  T 785142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 66  T 791142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 67  T 797142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 68  T 803142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 69

Guardá los cambios.

Con esta información vas a poder escanear los canales que están disponibles en nuestra zona.

scan channels.conf > canales.conf

En ese nuevo archivo canales.conf quedará la lista definitiva de los canales disponibles luego de que el programa verifique las frecuencias disponibles.

Con esto concluimos la configuración general.


En caso de que tengas que instalar todo a mano

Se supone que en las nuevas versiones de Ubuntu con eso solo debería alcanzar. Sin embargo, en caso de que tengas una versión más antigua o la guía anterior no te funcione, podés probar lo siguiente:

1.- Descargar los drivers

Primero que nada, desconectá el sintonizador (en caso de estar conectado), abrí un terminal y escribí:

hg clone http://www.linuxtv.org/hg/v4l-dvb  cd v4l-dvb  make  sudo make rmmod  sudo make install

En Arch y derivados, podés instalarlos usando AUR:

yaourt -S v4l-dvb-git

2.- Instalar firmware

wget http://linuxtv.org/downloads/firmware/dvb-usb-dib0700-1.20.fw /lib/firmware

Conectamos nuevamente el sintonizador.

3.- Bajar las herramientas

hg clone http://linuxtv.org/hg/dvb-apps  cd dvb-apps  make  sudo make install

En Arch y derivados, podés instalarlas usando AUR:

yaourt -S linuxtv-dvb-apps

Una vez hecho todo esto, podés seguir desde el punto 4 de la guía anterior para crear la lista de canales.


¡A ver la tele!

Abrí un reproductor multimedia, siendo el más recomendado VLC por su simplicidad y potencia. Una vez abierto, navegá hacia Medio > Abrir archivo avanzado y seleccioná el archivo canales.conf que creaste anteriormente.

Luego, navegá hacia Ver > Lista de Reproducción o (Ctrl + L). Deberían figurar los canales disponibles.

Estos son algunos de los canales que figuran disponibles en este momento en Argentina:



Como ven, se trata de una buena cantidad de canales, totalmente gratis y con una calidad bastante buena. Se supone que a medida que pase el tiempo se van a ir sumando más canales, así que es una buena opción para aquellos a los que les resulta caro el cable, quieren ver el fulbo' y no les importa un poco de publicidad oficial de tanto en tanto =).

Recomendación adicional: este dongle usb trae una antena externa cuya base esta imantada. Traten de ponerla sobre algun objeto metálico ya que esto mejora muchisimo la recepción.

Fuente: Ubuntuforums

Cosas que puedes hacer desde aquí:

Feeds que he leido

Compartidos desde el Reader