> Well, I put 2 and 2 together, and finally got 4! I think that my problem
> was this... An "LI," according to the lilo doc, could indicate that
> /boot/boot.d has moved. Since this is almost certainly true in the case of
> my rsync'd cloned disk, it explains the message, and the inability to boot.
> How to fix this? One thought is that I could create a small /boot partition
> and use dd to copy it. The big advantage of using rsync over dd and cp, for
> copying the bulk of the system, is that rsync can copy only changes, so
> keeping the clone in sync can be accomplished with a quickie nightly cron
I'm sorry, Jeff - NO, you're still getting 5 by adding 2 and 2...
You still mix up the copying of files from one filesystem to another
( as is e.g. cp's, rsync's or tar's behaviour ), with dd's way of
operation - that is, transferring each and every bit from one place
to another without care of any overlaying structures like partitions,
filesystems and such !!!
Let me repeat that - "dd" is a typical UNIX tool - simple, but effective
and very mighty not DESPITE, but JUST BECAUSE of its simplicity !
dd basically does no more than to read a stream of bytes - the
"if=..." - and to write that stream back to another location -
"of=...". What is the clue to the enormous flexibility, is any UNIX's
concept of "device files", saying (in short) that you can access devices
like floppy or hard disks, CD-ROMs, whatever, by using a special file
such as /dev/fd0, dev/hda, dev/hdb and so on.
So, one of the mistakes you wrote in one of your postings was the notion
that you only talk about the MBR when using /dev/hda - in fact, you talk
about the WHOLE DISK instead...
Thus, if you think again, the command 'dd if=/dev/hda of=/dev/hdb' does
the job you want - i.e. transferring EVERY sector from HD 1 to EVERY
sector on HD 2 !! BUT, maybe now you see this can only work if both
disks are IDENTICAL in size, i.e. share the same number of sectors -
they don't even need to be by the same manufacturer, or one can be IDE
and the other SCSI, as long as they don't differ even by one single
Along with that sector-by-sector transfer, you do transfer the MBR
including the partition table, starting and ending of each partition,
and every file on each partition's file system. So, according to the
subject, this would be a perfect clone
: if the 2 disks are 2 items of
the same model, every operating system and every human could *only*
discern between both by the drive's
serial number - which really is
So, if you can't boot from the clone
, you either didn't issue the
above command correctly (what to me seems hard to do...), or you
don't meet the OBLIGATORY condition for this - your disks aren't
identical in size !!!
Maybe now you also see that your 'rsync' magic previous to the
'dd' is totally useless - as you overwrite the copied files
Think about that, please, Jeff, and read dd's manual page thoroughly,
for instance how to copy only one or some sectors/bytes, and please
do test some examples, for instance with floppies, like
"dd if=/dev/fd0 of=/tmp/floppy-image". You can then try to mount
the *disk file* /tmp/floppy-image as "loop device" and compare it's
contents including file system to the floppy disk itself; or, simply clone
your floppy by exchanging "if" and "of" in the above command -
then we're ready for the next lesson...