Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clone sda to hda lilo update

Status
Not open for further replies.

sos

IS-IT--Management
Apr 10, 2000
53
CA
I am trying to make a clone that I made from my scsi mirror to an ide drive bootable. Basically I want to have this clone ready to boot from in case of a problem with the raid. After making the clone I loaded knoppix, mounted my hda2 partition and edited my lilo.conf file changing all references to sda to hda.

Now I know that I need to update lilo after making changes to lilo.conf and I tried this with lilo -C /mnt/hda2/etc/lilo.conf but I get the following error:

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.01.03 (2005-06-13)(compat) and kernel driver
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/cloop0' -> '/dev/cloop'
Fatal: Trying to map files from unnamed device 0x000d (NFS/RAID mirror down ?)

I am not sure that what I am attempting to do is even possible or if I am going about it the right way. Is there
something that I am missing and if so what do I need to do to make this ide drive bootable? :?
 
Ok after googling I learned that chroot is needed so what I had to do was:

lilo -r /mnt/hda2 where hda2 is my root partition



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top