Re: LILO map-file damaged ?



On 26 Mar, 19:46, Mikhail Kuzminsky <k...@xxxxxxxx> wrote:
I cloned my SuSE-9.3 HDD w/LILO 22.7 installed in MBR. (i.e. I have
both HDDs installed in one server).

For the case of exactly the same ROOT partitions contained /boot
directory:
simple DD from sda2 to sdb2 (plus DD of MBR sector) looks OK.

But if I use dump/restore procedure for clone of the ROOT partition
filesystem (ext3) and then issue (from rescue mode, for example)
something like

chroot /mnt /sbin/lilo -t

then I see the error message

raid_setup: stat ("/dev/sda")
(the same message appears at  /mnt/sbin/lilo -t -r /mnt)

I don't have any raid - in particular, in /etc/lilo.conf :-)
It looks for me that /boot/map file copied via dump/restore from the
"source" HDD is inappropriate for using for lilo execution :-(

This situation (w/message about raid) remains if I remove "source" HDD
and use only installation CD booting w/1 target HDD.

How is possible to solve this problem ?

Mikhail Kuzminsky
Zelinsky Institute of Organic Chemistry
Moscow

Number one, switch to grub. The increased flexibility and capability
of grub justifies this.

Number two, it's not clear that you haven't done any other hardware
changes. For example, if your drives have wound up renumbered due to
additional SCSI devices or SCSI-looking devices, such as an external
USB cd drive used to boot your OS, you may have a bit of a problem
there.

Perhaps you should post your lilo.conf and /etc/fstab so we can better
understand your issue?
.



Relevant Pages

  • Re: LILO map-file damaged ?
    ... For the case of exactly the same ROOT partitions contained /boot ... and use only installation CD booting w/1 target HDD. ... The reason was just the need of some tricks if I clone one HDD w/SuSE ... label = SL_10.1 ...
    (comp.os.linux.setup)
  • Re: LILO map-file damaged ?
    ... Mikhail Kuzminsky wrote: ... For the case of exactly the same ROOT partitions contained /boot ... But if I use dump/restore procedure for clone of the ROOT partition ... This situation remains if I remove "source" HDD ...
    (comp.os.linux.setup)
  • LILO map-file damaged ?
    ... I cloned my SuSE-9.3 HDD w/LILO 22.7 installed in MBR. ... For the case of exactly the same ROOT partitions contained /boot ... This situation remains if I remove "source" HDD ... and use only installation CD booting w/1 target HDD. ...
    (comp.os.linux.setup)
  • Re: Clone, ghost, migrate or image?
    ... operated temporarily in an external enclosure, then swap the drives. ... Windows install hard disk with the machine, ... all practical purposes your new HDD will be a duplicate of your current HDD. ... enclosure specifically designed for 2 1/2" hard drives. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Boot Disk Failure Needs CD to Boot Windows (Imaging Vs Cloning
    ... drives. ... The resultant clone or disk image will retain the original file system. ... file system of the source HDD. ... than a PATA one with respect to the disk cloning process. ...
    (microsoft.public.windowsxp.general)