galapogos Posted June 19, 2009 Report Share Posted June 19, 2009 Hi, I have Mandriva 2009 installed on my main boot drive. I have another drive that I wish to run LILO off of, since I will be updating its kernel. The problem is that that drive runs as part of a set-top box like application, so it boots right up to the main application program, and there's no way for me to boot up from it into a shell and run LILO. Is there any way I can update LILO of that drive, while booted up from my Mandriva box? I've read about chroot but I'm not sure how to use it, despite reading the man page. Thanks. Quote Link to comment Share on other sites More sharing options...
tux99 Posted June 19, 2009 Report Share Posted June 19, 2009 (edited) Yes, chroot is the way to do it. Boot with Mandriva. mount the other drive temporarily (mkdir /mnt2; mount /dev/sdXX /mnt2) and then chroot onto it: chroot /mnt2 Once you are in chroot you can launch edit lilo.conf (actually you can do that before chrooting too) and then launch lilo to update the MBR. The only problem could be if the device names in lilo.conf don't match the current device names, you need to make sure the device names match otherwise you risk overwriting the wrong MBR. Edited June 19, 2009 by tux99 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted June 19, 2009 Report Share Posted June 19, 2009 Why not using grub instead, which does not need an installation update after a kernel update? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.