dd image and how to ... is more a question???-
Hallo every body!!!
Well there is where i'm in troubel...
"I read Kyle Rakin's colum about this moths Lightning hacks strike twice, my interes was focus on the dd image over ssh" before this I've heard about dd but I didn't know how wonderfull (and powerfull) it is.
Next step-the do:
I start make a hole dd over my disk to a image file...
dd if=/dev/sda of=/media/paseo/imagen/imagen.img
this works fine but now...
The idea is that I want to mount this image...exactly is the root partition for later recover some files for example--like
mount -t ext3 -o loop /media/paseo/imagen/imagen.img /media/net
thet output of the error msg
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
En algunos casos se encuentra información en syslog, pruebe
dmesg | tail o algo parecido
this is my dmesg |tail
[16563.291016] mtrr: no more MTRRs available
[25143.183670] VFS: Can't find ext3 filesystem on dev loop0.
[27605.632847] VFS: Can't find ext3 filesystem on dev loop0.
[27609.437021] VFS: Can't find ext3 filesystem on dev loop0.
[36690.146233] VFS: Can't find ext3 filesystem on dev loop0.
so I start searching in the inet
this point me at first time to
where I extract that I have to type
fdisk -l -u /media/paseo/imagen/imagen.img
the output of this is
Debe establecer cilindros.
Puede efectuar esta operación desde el menú de funciones adicionales.
Disco /media/paseo/imagen/imagen.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, 0 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Disk identifier: 0xb7d8b185
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/media/paseo/imagen/imagen.img1 63 2152709 1076323+ 82 Linux swap / Solaris
/media/paseo/imagen/imagen.img2 2152710 15759764 6803527+ 83 Linux
from this it make me clear that there was two partitions....
AND I want to mount the second yes... my file system...
in this forum the guy Halgeir point me to ---this page http://edseek.com/~jasonb/articles/linux_loopback.html
where I read on....
and at the point where it gets interest for me (at the last page I told about) with the title "Mounting by First Extracting the Partition"
I make exact what this guy tell about (with my image paramaters) and it don't function...
At the end I make a image (alone) of my root partition /dev/sda2 and have after it mounted whithout any problem...!!!
So my question is how can I extract with dd a partition (the exactly parameters or funtions), from a hole image of a disk!!!
Thanks at all.
|Graph Any Data with Cacti!||Apr 27, 2017|
|Be Kind, Buffer!||Apr 26, 2017|
|Preparing Data for Machine Learning||Apr 25, 2017|
|openHAB||Apr 24, 2017|
|Omesh Tickoo and Ravi Iyer's Making Sense of Sensors (Apress)||Apr 21, 2017|
|Low Power Wireless: 6LoWPAN, IEEE802.15.4 and the Raspberry Pi||Apr 20, 2017|
- Graph Any Data with Cacti!
- Teradici's Cloud Access Platform: "Plug & Play" Cloud for the Enterprise
- The Weather Outside Is Frightful (Or Is It?)
- Simple Server Hardening
- Understanding Firewalld in Multi-Zone Configurations
- Preparing Data for Machine Learning
- Gordon H. Williams' Making Things Smart (Maker Media, Inc.)
- Server Technology's HDOT Alt-Phase Switched POPS PDU
- IGEL Universal Desktop Converter