>>>>> "Deep" == Manager <[EMAIL PROTECTED]> writes:
Deep> Naren pleasee add your comment on this too......
Deep> Thanks Raju for your comments. I Still want to spell out my
Deep> mind like..as I dont want to install linux again...(suppose
Deep> I have a corrupt root partition) in such a situation I was
Deep> asking the question. Now what I have is the corrupt root
Deep> partition and backup.dd file in another partition. Now by me
Deep> the restoration process would be. Format the partition and
Deep> using dd to restore the whole root partition so that next
Deep> time after I make the partition active... I will boot
Deep> painlessly? MY question in other words would be if dd will
Deep> be capable to backup/restore all the boot/super/inode/data
Deep> blocks ... so that I dont need to make the filesys on a same
Deep> sized partition...
Yes, if the old and new partitions are exactly the same size you
should be able to restore your dd image onto the newly formatted
partition. You may still need to re-run LILO to get Linux to boot if
this was your root partition. In case the new partition is larger
than the old one, you'll lose the extra space. In case it's smaller,
well, God help you when you try to access the blocks which the
filesystem says exist but actually lie beyond your partition!
Deep> Please add your comment..
Deep> thannnks. deep
Regards,
-- Raju
Deep> On Tue, 13 Apr 1999, Raj Mathur wrote:
>> >>>>> "Deep" == Manager <[EMAIL PROTECTED]> writes:
>>
Deep> Hello,
>>
Deep> suppose I have a linux root partition /dev/hda1 on which I
Deep> run dd to capture the whole image of the partition to a file
Deep> say.. backup.dd. now in case of a crashed /dev/hda1 ..will I
Deep> be able to restore each byte of it including
Deep> System/boot/data blocks by giving command dd if=./backup.dd
Deep> of=./dev/hda1.....
>> Why would you want to use dd for this? Dd will suffer from
>> the following drawbacks:
>>
>> 1. Unused space will also be backed up
>>
>> 2. You cannot restore onto anything except an exact mirror
>> (size-wise) of the backed-up partition
>>
>> 3. You cannot restore selective files
>>
>> 4. You cannot view the contents of the archive.
>>
>> Use Tar or even Cpio to back up your data.
>>
Deep> Please clarify
>>
Deep> ONe more question.....
>>
Deep> How do I do disk mirroring in Linux ?
>> Compile the MD driver into your kernel, get the utilities as
>> specified in the kernel config help
>> (/usr/src/linux/Documentation/Configure.help) and use them for
>> achieving RAID 0,1,5
>>
>> -- Raju -- To unsubscribe, send mail to
>> [EMAIL PROTECTED] with the body "unsubscribe
>> linux-india" and an empty subject line. FAQ:
>> http://www.linux-india.org/faq/linux-india.html
>>