Deep,
As I understand it, U want to be able to restore a partition which is
hosed... and that includes the boot partition...
Now if (and only if) ur root (/) partition is hosed, and U have a backup
of /dev/hda1 (assuming that is ur /) in backup.dd, and U want to put it
back on the same disk partition, then yes, U will be able to restore the
root filesystem without any problems...
The boot record (MBR) is not part of /dev/hda1 (it is the first sector of
/dev/hda... there is a difference!) and so Linux will boot without U
haveing to repartition/rerun lilo...
Remember, I'm refering to the same physical disk (whose partition
structure is intact... but / is formatted)
-Naren
On Tue, 13 Apr 1999, Manager wrote:
>
> Naren pleasee add your comment on this too......
>
> Thanks Raju for your comments. I Still want to spell out my mind like..as
> I dont want to install linux again...(suppose I have a corrupt root
> partition) in such a situation I was asking the question. Now what I have
> is the corrupt root partition and backup.dd file in another partition. Now
> by me the restoration process would be. Format the partition and using dd
> to restore the whole root partition so that next time after I make the
> partition active... I will boot painlessly? MY question in other words
> would be if dd will be capable to backup/restore all the
> boot/super/inode/data blocks ... so that I dont need to make the filesys
> on a same sized partition...
>
> Please add your comment..
>
> thannnks. 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
> >
>
> --
> 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
>