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
ADVERTISEMENT
Apr 6, 2010
How do I create/boot a ram image from a disk? I'd like to create a linux installation that is booted from a USB or CF drive and after boot does not access the disk.
View 4 Replies
View Related
Jun 13, 2011
At the Get Slackware page at the Slackware website it gives a list of addresses which when I click one of the addresses it redirects to another page with a list of mirror images. Which address and which mirror image do I need to work with Kubuntu 11.04 on my netbook so I can create a USB startup disk? With my connection speed these mirror image downloads take about an hour and a half and I cannot just be guessing which mirror image to download.
View 8 Replies
View Related
Mar 4, 2011
i am trying to create an image of Slackware OS but vmware is not able to detect the disk. it gives me below error, "Unable to detect disks or volumes on the source machine. Make sure that the source is a supported linux distribution." can some one tell me what do i need to do to create the image.
View 2 Replies
View Related
May 12, 2011
I'm confused about "hard link" feature. I've been learning from my UNIX Academy DVDs training that hard links to a file can be many and each of them is an effective filename for the associated data. So let assume that we have some very sensitive data in a file and we want it to be deleted and file has 20 links. I "delete" a file, but in fact I deleted only one "name" of it. My understanding from the training that data is still there until we delete the last associated hard link. But how can I find the names of all of them? If we have the names, they can be removed one by one. Or may be there's command that can trace all the "names" and remove them at once?
View 14 Replies
View Related
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
Dec 23, 2010
Ok, so I have installed openSUSE 11.3 on my Lenovo Thinkpad T61p, setup the wireless adapter (why is this so difficult?) and installed a few applications. I do like the look of openSUSE but would like to check out a few other flavours. With my Windows 7 (can I say that here?) machines I can create a system image and a system restore CD with a fair amount of ease. Is there a similar process available for Linux?
View 5 Replies
View Related
Dec 14, 2010
I have fedora on a parition. the root / folder, and a swap. I wanna try other linux, but i dont want to delete my Fedora. So I want to back up my Fedora whole disk data, can I create a disk image for Fedora so that later I can Restore it?
View 2 Replies
View Related
Oct 24, 2010
So since i deleted a necessary package my redhat system crashed. Now, when i had initially installed redhat using a friends disk I copied all the files from the CD-ROM on my external hard drive (of course after installing through the CD)
Now I need to re-install linux and I have no idea how to actually use those files to create an actual automatic bootable installation CD?
View 2 Replies
View Related
Aug 27, 2010
Basically, I want to be able to create the perfect disk image of a CLEAN Ubuntu installed in a 30 gb partition. The problem is, if I install Ubuntu, then some drivers are installed automatically. I am using an old computer at the moment (my main is back at home) and I want to be able to create an image so that when I restore that image onto my main computer, it is not cluttered with drivers of the old computer. Is there a method that can be used for uninstalling drivers?
I am looking for the cleanest way to uninstall drivers, hopefully to the point where it will not leave any "residue" That is my first question. My second question (in general about disk image--I have never actually created nor restored an image): Can I create an image of partition A and restore the image on partition B? Basically, creating an image of one partition and restoring it on another partition. Or does it have to be restored on the original partition?
Also, what if it is the same scenario but partition B is a larger size? I know that if partition B is smaller, it cannot be done because the image is larger than the partition. Finally, can partition A be restored onto a different hard drive? I have yet to find answers of these questions on different forums in other sites (this is my 3rd try). I know that the Ubuntu community is extremely active and more than willing to share their knowledge.
View 3 Replies
View Related
Sep 30, 2010
I'm currently in the middle of developing an automatic system which can provision Linux VMs automatically.Let's say I have a disk image which has a Linux distro installed on it. How would I change the root password on that, without having to boot the OS?It would be nice if I could just simply run passwd with some switch to point to the /etc/shadow file on the (mounted) VM disk image..
View 2 Replies
View Related
Jan 10, 2010
I'm using Ubuntu 9.1 to try to make a disk image of my Windows operating system that I'd like to save to an external hard drive. Currently, I'm just running Ubuntu off the cd. Having checked the "Ubuntu Software Centre" on my computer, I notice that it has Brasero installed, and I was wondering:
1) First off, where can I find it? (Is there a search function in Ubuntu like Windows?)
2) Is Brasero a good choice to create a disk image?
View 1 Replies
View Related
Feb 13, 2011
I've been working on getting another OS installed on my computer for one of my classes (OS specific assembly instructions). To get this OS running, I had to start using a GPT rather than a MBR table. I backed up my Ubuntu partition (ext4) using the old-fashioned dd command. I've since been able to get everything working again after a dd restore.
The problem is that my original Ubuntu partition was only about 50GB and the dd image only takes up 40 GB. After I restored the image to the new drive (146BG), gparted is reporting 119GB used and only 26GB free. What can I do to reduce the size of my install to 40GB again?
When looking at the disk in baobab, it says the the filesystem is only 47.2 GB and that only 20.9 GB has been used. This is likely what the old partition's breakdown was. So my new question is: How can I make the filesystem capacity (47.2 GB) equal that of the partition that it is on (146 GB)?
View 2 Replies
View Related
Jul 22, 2010
I recently bought a new pc and installed Ubuntu on it. It came with a 500gb hard drive and during installation I manually partitioned it as follows:
10 gb (ntfs) for a windows partition
15 gb (ext4) mounted on /
4 gb for swap
the rest (470gb - ext4) mounted on /home
I've just installed a few apps from the repository, nothing big (about 500 mb in all), but in the 'file system' tab in 'system monitor' it says that for /home I have a total of only 432 gb, of which just 408 gb are available, with 500mb used. According to this, around 60gb of space have just vanished into thin air. Where did all this missing disk space go? The disk is brand new and there are no bad sectors in it.
View 6 Replies
View Related
Mar 9, 2011
I am trying to figure out the "actual" disk size used by my system. When I run the "df -h" command,I am not taking here into consideration the shared memory of 2Gb as it is a sort of virtual shared memory and is not allocated physically. Is that correct ?
View 8 Replies
View Related
Aug 10, 2010
I need to clone a laptop drive to a desktop drive. The laptop drive disk is 150 gb, however, only about 8 gb is used. Is it possible to clone this disk to a smaller drive?
View 3 Replies
View Related
Jan 7, 2011
As I stated in the title, can I, and if so, does anyone know how to install a game (like Mass Effect) on Ubuntu through wine that way it will sync up with my steam account? Also so when I do get up to ME2, my decisions will be transferred over?
View 4 Replies
View Related
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
May 21, 2011
I just downloaded the FEDORA iso image file. Naturally, the next step is to create a DVD. The problem is I'm using a mininetbook hith no DVD unit and I have not an external one, so I think I can use the USB as an alternative, but I just don't find how to in the documentation, and the applications to burn DVD's dont have the option... how can I do this?
View 14 Replies
View Related
Jan 15, 2011
(I tried to post this earlier and it got lost.) I have a Ubuntu ISO image that I downloaded with Slackware, the only system I have. Ubuntu does not tell how to make a bootstick using anything but Windows,Mac, and Ubuntu. I tried "dd if=...ubuntu... of=/dev/sdb bs=512" and it did not put anything on the stick. Is there a procedure for making such a thing?
View 8 Replies
View Related
Jul 13, 2011
How to create the FS image and mount the same ..?
I need to store some data in the image which I'll be creating ..?
View 8 Replies
View Related
Feb 2, 2010
Sorry I am not a linux user at all. I have a linux image that needs to be installed. I have the image on a USB drive. Not really sure what I should be doing, but local disk seemed to make sense, however, when I select the usb drive I get an error, that the image can not be found
View 2 Replies
View Related
Aug 13, 2010
i need to create new initrd image in sles10.2
View 1 Replies
View Related
Jun 14, 2011
I've performed a clean install of Linux on my system, and would like to create a snapshot of my whole disk so that I can go back to a fresh state immediately.
I used to use DriveImage XML and it was a FANTASTIC program, but unfortunately the boot CD containing it can only be created by having Windows installed. So it might be time to explore a new program that is equally simple and effective as that one.
I'd like your recommendations of imaging programs that are free, and that work off a boot CD/DVD (because the live backup thing generally takes much longer for imaging an entire disk).
One thing I liked about DriveImage XML was that it stored the backup in a fairly readable format, so if one day DriveImage XML were no longer available you wouldn't lose your backed up data. Any such programs?
Also, would these programs work for a drive that contains an encrypted root partition (i.e. enabling the encryption checkbox in the CentOS installation)?
View 8 Replies
View Related
Dec 27, 2010
I have a large qcow2 formatted disk image, which I use as storage. Often I need to move data to and from this disk image. I mount the disk using the qemu-nbd tool as follows:
modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 /host/disk100G.img
mount /dev/nbd0p1 /home/rup/disk
But disk access fails every now and then in the midst of some I/O operation with an "Input/output error". At that point I have to manually unmount the disk and re-mount it so that I can run the program again:qemu-nbd -d /dev/nbd0umount joborkhaki/What could be the reason for this? Is there a better tool that I can use to maintain a qcow2 disk image?
View 1 Replies
View Related
Jul 28, 2010
I am new to the Linux world and I am not sure if what I am trying to do is achievable or not. I am trying to make an image of my existing drives running Linux on a USB and I want to use the same image off the USB to clone more bootable hard drives. Something like what Ghost does in windows. The problem is using 'dd' the image is too big ( I have 1tb drives ) and then I am not sure how to convert these images back on to new drives so that they boot in the OS as well. i am not sure if there is a utility that would let you do that?
View 2 Replies
View Related
Apr 5, 2010
I want diskboot.img for fedora 12. How to get it.
View 1 Replies
View Related
May 17, 2010
How to boot an iso image from hard disk. I have created a linux live cd with remastersys. I want to test it. So I want to boot it from my hard disk.
View 3 Replies
View Related
May 14, 2010
I want to make an image of a 300GB hdd and I'm looking for a program that can do this.
There's one hdd with one single partition, 300GB size and I want to create an image of the hdd. To make things more clear, I want a mirror of a hdd.
Thing is, I have a server machine over the internet, which has a 300GB hdd single partition and I want to copy its contains, including OS.
I know Acronis, I worked with it before, but... idk if it has a gb limit when creating a image of a hdd. Acronis can backup/restore images of a hdd via internet, if you have an acronis server.
Let's put it this way, I don't have time (liek always... sorry 'bout that, but I'm not lazy, I just don't have time ) to search for a program and to make tests, and I would like a little help, maybe point to a program / solution that you guys have been tested.
- Remember it's a single 300GB hdd with a single partition. I want to copy the hdd over the internet, that's why I'm pointing to a program that can makes an image of that hdd over the internet.
Like... it's not that I want especially a program that can do this, maybe there's other solution aswell. Just feel free and share your solution/opinion whatever.
View 1 Replies
View Related
Feb 26, 2011
i have Ubuntu 10.04 installed on a virtual machine. i have made a modification and would like to create a CD of this running system.I guess i need to first make and ISO of the system and the copy to a CD. can anyone give guidance on the process to do this?
View 1 Replies
View Related