Re: Bootable system backup
Thomas_Kroener@mail.sva-germany.com wrote:
>
> Hello Russell
>
> > I want to make a complete bootable backup of my debian 3 system
> > on to a removeable hard disk. I've got one swap partition, and
> > a main partition for everything else (ext2).
>
> > How do i copy any boot files that need to be on a certain
> > part of the hard-disk? The hard disks are different sizes.
>
> I would recommend the command 'dd' which makes a 1:1 copy by blocks.
> It copies everything, but I think it's quite easier to delete some
> files afterwards instead of copying the needed files, because the
> risk to forget one is higher.
Would dd work? The manual says dd copies files with a variable
block size, but i can't see any option for absolute disk placement.
I'm mainly doing a backup in case i corrupt the lilo loader (among
other things). Could i mount the removeable HDD, put matching size
partitions on it, copy everything on to it, then run something like
chroot lilo on that disk to give its own version of the loader? I
can't try it yet, because i still need to get another disk.
Reply to: