Ubuntu :: Accessing Data On Image Made From Dd?

Jul 15, 2010

I backed up my windows hard drive using dd and turned it into one huge image file. I didn't realize this beforehand, but this image is not an ISO equivalent type. However, it would be nice if I could access everything on the image just by mounting it instead of having to transfer it back to /dev/sda or something.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Mount The Partitions On A Made Image With Dd (/dev/sdb)?

May 15, 2010

my /dev/sdb contains
2 partitions with fat 32
2 partitions with NTFS
1 partition with LINUX ext3
and a swap linux.

I did :

Code:
dd if=/dev/sdb of=image_disk_sdb.img

How can I mount those several partitions?

View 8 Replies View Related

Ubuntu :: Fsck Image Made Using Gddresuce On Loop

Aug 1, 2010

I have a HDD that I was using as temporary storage (ext4) though I knew it was close to failing. Upon retrieval of the data, I found some of it was corrupted.

I unmounted and ran gddrescue on the whole device (/dev/sdd) using this command:

Code:

The image took ~24 hours to complete, and I can mount it using:

Code:

Of course, some of the files are still slightly corrupted, so I would like to fsck on the image to try and correct anything that can be. However, when trying this on the image, I get:

Code:

Here are some other interesting pieces of info:

Code:

gpart finds no useful info it seems, and trying to fsck using the -b option and the backups suggested by mke2fs results in the message above or (using a very high block):

Code:

As I said, the image can be mounted and the filesystem accessed. Many of the files seem ok and can be directly copied off of the mount, but I'd like see if some can be recovered or at the very least copy everything off the image, skipping the corrupted files (perhaps with a log of those skipped).

None of the data is critical and will be ok if lost, but I'd still like to try recovering it just as a proof of concept. The original disk can still be used (very slowly), but I'd rather recover the data only using the image if possible.

View 2 Replies View Related

Debian :: Mount The Partitions On A Made Image With Dd (/dev/sdb)?

May 15, 2010

my /dev/sdb contains 2 partitions with fat 32 2 partitions with NTFS 1 partition with LINUX ext3 and a swap linux. I did :

Code:

dd if=/dev/sdb of=image_disk_sdb.img

How can I mount those several partitions

View 1 Replies View Related

General :: How To Mount As Loop An Image Of A VFAT Made With Dd

Feb 23, 2010

I made a disk image of a vfat fat16 using:

Code:
dd if=/dev/sda of=image_drive.img
I would like to mount it to /mnt/vfat using mount and loop. Is it possible to be mounted?

View 3 Replies View Related

Ubuntu :: Using Fdisk Command Made HDD Formatted And Lost All The Data

Oct 1, 2010

I have 2 HDD in my PC . The 2nd one is a 1TB Western Digital Harddisk which was formatted in Win XP NTFS and just 1 partition, using it for archieve (Film- Music - Apps ... ). I was trying to use fdisk command , but unfortunately destroy the data , format and partition it like this picture :

[URL]

recover my data . Any procedure or software ? By the wayy , I use Win Xp & Ubuntu 10.04 . According to the problem and the above picture in which OS should I recover my data - Ubuntu or WinXP ?

View 5 Replies View Related

Ubuntu :: Data Finding That 9 Packages Were Made Available And 33 Unused Ones Were To Be Deleted?

May 30, 2011

As usual I was notified that there was an update available via the Update Manager which I duly accepted.I was then confronted with a popup which advised that there was a Distribution Upgrade and that it was to be a partial upgrade.

Finding that I would not go away I accepted the data finding that 9 packages were made available and 33 unused ones were to be deleted. As this is my first experience of this is it something I need worry about and if so what should I do about it?

View 3 Replies View Related

Ubuntu :: Accessing Files In Virtual Image?

Jan 22, 2011

I have an issue with a PC (XP pro)that had a virus which deleted all the files in the windows/system32/config folder. I first attempted to do the second repair option on the XP cd and it wasn't available. So unable to boot to windows and run an anti-virus; I put the hard drive in my external enclosure. Plugged it into my ubuntu laptop and removed the virus infected files using Clam. I then tried using the XP cd in the first repair to copy the files only to get an access denied msg.

I would like to just copy necessary data from the drive with XP pro installed and then reinstall XP and give the PC back to the owners. However the person that did the original install used a volume license cd and I unfortunately have no more CD keys and hate using cracks in certain business environments. So I came up with good idea at the time to setup XP pro in virtual box and then copy the files from there however those files are in use when the machine is running and can't be copied. So is there anyway to mount the Virtual hard drive and copy the files while the virtual machine is off?

View 2 Replies View Related

Ubuntu :: Accessing Windows Data In A Dual Boot Environment?

Aug 3, 2010

I have a laptop dual booted with windows vista and ubuntu.I downloaded certain movies and music files while using windows vista,which are there in my hard disk,My question is can i access these music and video files when i boot into ubuntu,and can i play them?

View 5 Replies View Related

General :: Accessing Data Under A Mount Point?

Apr 10, 2010

I'm using ext3 and I have my / partition on sda3. This is a full install, it has /bin /home etc etc on it, the only thing I have is sda1 is /boot and sda2 is swap.

I've configured my system to mount sda4 as /home/user as the system boots up, which puts all of my data on sda4.

My question is this. How do I access any data left in (sda3) /home/user? (Because trying that won't work). Is there some way to use a direct path? Like /device/sda3/home/user?

View 1 Replies View Related

Server :: Accessing Database In FBD Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system. Unfortunately, we parted company with the old vendor under extremely hostile conditions, and they are not a source of help for this problem, nor are the new vendors.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd. I can get into this database with MySQL. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can an expert suggest one or two things to get me started.

View 3 Replies View Related

Ubuntu Installation :: Accessing The L-TO-4 SAS External Tape Drive And Backup Data On It?

Feb 28, 2011

I am running Ubuntu 10.04, and i recently purchased an tandberg LTO-4 SAS tape drive. I want to access it and backup data on it. Do I simply just connect plug it into the server,and I should be able to backup/transfer data to the tape drive? Or are there intermediate steps before I can do that. Here are some results from commands that I have typed:

Quote:

ls /dev/tape/
by-id

Quote:

ls -lt /dev/tape/by-id/
total 0
lrwxrwxrwx 1 root root 9 2011-02-25 14:54 scsi-3500110a00145553e -> ../../st0
lrwxrwxrwx 1 root root 10 2011-02-25 14:54 scsi-3500110a00145553e-nst -> ../../nst0

[code]....

View 4 Replies View Related

Applications :: Accessing Shared Data Between Threads Using Mutex?

May 3, 2010

I have written an application which has more than 6 threads.Two threads share a common linked list. Out of two threads one thread reads the linked list node and other thread writes to linked list node.I am using pthread_mutex_lock() API to achieve synchronisation between having access to common linked list. The problem is the first thread which reads the linked list accesses the mutex faster making other thread to starve.

I want both the thread to have an access to mutex. It should not happen that always first thread locks, releases and relocks it. The first thread almost require to access the link list every 5 msec which is causing second thread not to gain the mutex.How should I fix this? For information, I am running this application on PXA270 ARM platform.

View 4 Replies View Related

Programming :: Other Stuff Accessing Data From Inside Gmail?

Jan 10, 2011

I started using Ubuntu's chat tool the other day, I gave it my Gmail username and password,and lo! it found my list of CONTACTS FROM INSIDE GMAIL!Facebook has done the same thing as well! Was this in Google's terms? Can't something be done about this? This is SCARY.But also, a small part of me wants to know how it was done (only a small part, this protocol sh*t is not particularly challenging, right?

View 14 Replies View Related

General :: Hard Disk Data Transfer Accessing Error

Jun 28, 2010

I am using an embedded platform in which I have connected an external harddisk (/dev/sda). The SCSI driver is present and I am using the SG_IO interface for performing the SMART commands with the Hard Disk. (Unfortunately not all the HDIO ioclts are present. So I opted for the SG_IO ioctl). But the data transfer (reading/write data from/to sector) is not working with the SG_IO ioctls. So I searched for some other options. Later in one of the places, I found that we can actually mount the /dev/sda to some mount point in /mnt and then make a XFS file system (mkfs.xfs) of this.

And then we can create the directories and do file operations on this mounted directory. Here the simple read/write systems calls can be used for this. I was thinking about this implementation. But I am confused how I can map the actual LBA (Logical Block Address) to the device file offset. I mean if I want to write to the sector 5, there will be a LBA for it. So I can do lseek on my device and then write the data there. So how the mapping between LBA and device file offset can be calculated.

View 4 Replies View Related

Ubuntu Servers :: Get Image Of Server With All Configuration Files And Data?

Feb 23, 2011

how to get image of server with all configuration files and data. Without data loss.

View 5 Replies View Related

Hardware :: Recovering Data From Disk Image

Jan 19, 2011

I have 2 RAID1 hard drives with possibly hardware errors, (when I tried to mount them in a degraded array, they won't start, throwing some Buffer I/O errors) So I used ddrescue to make a disk image out of one drive, ran losetup to use the image file as loopback device:

Code:
losetup /dev/loop0 imagefile.img

but when I tried to assemble a raid array including the /dev/loop0 device like:

Code:
mdadm --assemble /dev/md0 --force /dev/loop0

it will complain that no superblock is found on /dev/loop0 device. With desperation, I tried to create a legacy raid array with following command, of course, including one of the bad drives:

Code:
mdadm -B /dev/md0 --level=1 -n2 /dev/sdb1(bootable partition on the bad drive) /dev/loop0

I successfully created a new RAID1 array, but when I tried to mount it

[Code]....

Now the only thing I haven't tried is to clean the superblock by doing --zero-superblock, and not sure if that will solve the problem. Should I get a second drive to hold my broken drive image so that I might be able to assemble a good RAID1 array or should I continue working on the only disk image file I recovered from one of the broken drives?

View 5 Replies View Related

General :: How To Grab Data And Display Image

Nov 4, 2010

'I am attempting to grab roughly 40 pieces of data that is a combination of 0 and 1 flags from mysql. based off of the 0 or 1... either pictA or pictB will be displayed. How to evaluate my code? I believe the logic is incorrect.

PHP Code:
$status = 'mysql -u username -ppassword -h x.x.x.x -e 'SELECT help FROM table' database';
declare -A ARRAY
for ((i=1; i=$status; i++));
do
echo ${ARRAY[$(i)]}
done
if [${ARRAY[]} = 1];
then echo "<img src='pictA.gif'>";
else [${ARRAY[]} = 0];
echo "<img src='pictB.gif'>";
fi

View 4 Replies View Related

Software :: Inkscape Png To Svg Include Image Data?

May 16, 2011

I'm using inkscape to convert a file from png format to svg format which is working but I need the image included within the svg file. It is within a script, so no gui. Which option do I use to include the image data within the svg file

View 3 Replies View Related

General :: How To Create Disk Image Of Actual Data

Nov 15, 2010

Suppose I have a 80 GB hard disk (sda) with 4GB of contents. Using a dd to copy to a different disk

Code:
dd if=/dev/sda of=/dev/sdb
copies all the contents (including free space). So sdb also needs to be 80GB.

You will notice that in VMWare or VirtualBox disk images, it is possible to set the disk to use only the amount of space of actual data. So a 80GB virtualbox/vmware image with 4GB of contents will be 4GB.

Is it possible to do that with an actual hard disk (sda) image? I want to create an image of an actual hard disk, copy it to DVD and transport it (in mail) for restoration on another computer (having same hard disk).

View 6 Replies View Related

Software :: Combining Antivirus Data / Image Recovery?

Aug 9, 2010

I tried the Linux-based live CD's of the main Windows anti-virus vendors (Kaspersky, BitDefender, AVG, Avira). They work well, but they are single-purpose solutions while affected Windows users also need a solution to 1) pull data (or what's left of it) out of their contaminated Windows host onto a USB thumb drive or a remote host, and 2) restore a clean image using eg. CloneZilla. Asking users to burn and run three different CD's is not very user-friendly. Has someone already investigated combining those three features into a single live CD?

View 8 Replies View Related

Ubuntu Security :: Restore The Original Image File That Have Hidden Data In With Steghide

Jan 27, 2011

i'm wondering if it's possible to restore the original image file that you have hidden data in with steghide. The basic Idea is you have a photo using gpg sign it and then embed the signature. then remove the signature at a later time and check it with the signature. I hope another "inverse" algorithm doesn't need to be written to undo the first (if a "inverse algorithm is possible). This assume you already have the pass phrase or that there is no pass phrase. I already know how to retrieve the original file just want to remove the hidden data from the Image and restore it's attributes.

View 2 Replies View Related

Debian :: Mounting .iso Image Versus Extracting Data From .img File?

Feb 28, 2010

I use Lenny, and was trying to mount a .iso image, supposedly a cd imagem.

[code]....

This is what I get from dmesg | tail:

debian:/home/zac/cscd# dmesg | tail
[ 1811.505199] floppy0: disk absent or changed during operation
[ 1811.505207] end_request: I/O error, dev fd0, sector 0

[code]....

I did a little research on the web and it seems that this file is not really a cd image, but simply data in a .img file. What do you think of that?

debian:/home/zac/cscd# file cscd3.iso
cscd3.iso: data

Some people recommend to extract the data via the dd command, but it didn't seem very safe for me to do that!

[URL]

is it possible to extract the data into a directory (instead of a device) using dd? This file is supposed to be a software. I wanted to run it on wine by keeping it mounted on a mount point in my file system. Does it make any sense to try to do this if the file simply isn't a cd image?

View 6 Replies View Related

Fedora :: Recover Data From EXT2 Device (Card Or Image)

Dec 25, 2009

I was testing a bug in F12+Acer Aspire One and its 'suspend' feature (you can probably find the thread) and I ended with my SDHC card messed up. I formatted it as ext2 (or ext3, don't remember exactly) and apparently its superblock got corrupted. For one thing there is a single file I want to recover from the card (I don't mind formatting it afterwards). I am no expert using e2fsck or fsck, that's why I am asking here. In addition I used the "dd" command to create a backup of the drive in a file (so I can start tinkering with it). What is the best course of action to recover my files? Either from the card or from the image?

View 3 Replies View Related

Ubuntu Multimedia :: Vlc Image - Playing Wmv And Vob Files - Image Comes With High Contrast Colors

Jan 16, 2011

When playing dvd's, vob files and wmv files, the image comes with high contrast colors ,very intense red/green/blue. very dark too. I have vlc 1.1.4 installed, using ubuntu 10.10, libdvdcss2 installed. for the rest of the video formats it seems to work fine. any ideas on what should I start debugging?

View 5 Replies View Related

Ubuntu Security :: Mount The Image Or Extract The Image To Another Drive?

Feb 16, 2011

I was given a forensic Image which I now know is a DD image of the drive (Vista) and am trying to mount the image or extract the image to another drive. I'm not sure of the extention type or if the image is a partition or the entire drive. I think it is the entire drive.

Is it possible to mount a DD image to a device. If I can't do that I just want to extract the files to run some programs against the drive. Can I view the files under Ubuntu or do I have to remove the drive and stick it into a Vista computer.

I purchased a second drive today and was hoping the command line would be something simple.

Or am I on the wrong track, should I be doing this all in a windows environment. The reason I picked ubuntu was because of the reporting tools.

View 9 Replies View Related

Ubuntu :: Change Startup Image (usplash Image)?

Jul 15, 2010

I would like to change my startup image (usplash image). For that i change /lib/plymouth/themes/ubuntu-logo/ubuntu_logo.png and /lib/plymouth/themes/ubuntu-logo/ubuntu_logo16.png. Then the splash screen of shutdown screen changes .But booting screen doesnot change.

View 2 Replies View Related

Programming :: First Image Will Display On The Page, And When A User Puts Their Cursor Over It, Then It Will Load Image 2?

Nov 24, 2010

I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.

View 1 Replies View Related

Debian :: Print An OpenOffice Or LibreOffice Calc With An Image And Text, The Image Is Not Printed (the Space Is Blank)

May 11, 2011

I have a Canon iR3570/iR4570 PXL, and installed the driver CQue 1.0 TCP/IP Queue from Canon webpage.

The problem:
- if i try to print an OpenOffice or LibreOffice Calc with an image and text, the image is not printed (the space is blank).
- if i try to print an OpenOffice or LibreOffice Calc with just an image, it's printed great.
- if i try to print an OpenOffice or LibreOffice Impress, the images are not printed but the text is printed great.

[Code]..

View 3 Replies View Related

Ubuntu :: Image Deletion Through Image Viewer?

Jul 6, 2010

Iam looking for an Image viewer that lets me delete images through an 'delete' button/option in toolbox.. Most of the image viewers uses edit menu-->delete option,but iam looking for an direct link,clicking on which deletes the image currently open in image viewer
???

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved