Re: LILO map-file damaged ?



Mikhail Kuzminsky 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

Have a look at :http://tldp.org/HOWTO/Hard-Disk-Upgrade/prepare.html
If you've done your lilo configuration right... it'll work.



--

Jerry McBride (jmcbride@xxxxxxxxxx)
.



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 ?
    ... For the case of exactly the same ROOT partitions contained /boot ... This situation remains if I remove "source" HDD ... if your drives have wound up renumbered due to ... additional SCSI devices or SCSI-looking devices, ...
    (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)