MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok here is what I got going on,
I have a Intel server running a SMP kernel, with hardware raid.
I have started replacing my really under used servers with VM servers, so I have been imaging them and restoring them to a Virtual machine.
So on the physical box the drives were address as md0, but on my virtual machine it's going to be sd0
I basically need to edit the config file to point to sd now and not md or hd.
here is my origional /etc/lilo.conf
===========================================================================
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
I was able to complete this task with another machine that was running grub, but I have not worked with lilo for a long time so I was hoping someone else might have something to sugguest?
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Quote:
Do I need to install lilo to the new drive? sda... or did it come over with the ghost image?
AFAIK, if you use dd (and ghost probably use that method), so if you use dd
and do not skipe the first bytes then the image includes the MBR,
hence it inclus grub/lilo/whatever provided your bootloader is on the MBR (as opposed to being chainloaded)
Quote:
basically need to edit the config file to point to sd now and not md or hd.
Well I got it booting to it kinda, I used a rescue cd to chroot into the enviroment and install lilo to it again.
But now I am getting this,
"Kernel panic: No init found. Try passing init= option to kernel"
init seems to be living in /sbin
Here is my lilo.conf
======================================================================================
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Ok, how about you ghost/copy the whole thing (provided it was raid 1)
and you reinstall grub rather than lilo?
I have never tried to rebuild a raid 1, let alone make one disk of a raid 1 become a single HD.
I think grub rather than lilo because it is more flexible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.