var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How do i image a partition into a file in linux?
I have a hard drive with a partition i want to save to an image so i can create a loop back device later and view the files.
I wont have access to the hard drive with the partition i want to backup later. Hence my desire.
What should i use? I tried
But it grew very large. Is this correct? I thought the iso should be roughly the same size as when you do a `df`.
dd if=/dev/hdb1 of=./mydrive.iso
plz check out this link,it'll be useful for u...
Bright Info Solutions
Does it matter if the hard drive in the if (input file), is already mounted?
The link is interesting, but not exactly what i need. I just want to create an exact duplicate of the partition to a file. i dont want to mess aroudn with creating a zero'ed loop back device.
Does it matter if i alreayd mount the device im trying to back up?
To clarify, in the end i want to be able to create a loop back device to the file so i can access the data.
dd will create a file the same size as the partition, not just the used space on the partition.
search google for g4u (ghost for unix) it allows imaging of hard drives or a single partition