Hi Updated the firmware on a PERC RAID card as it was out of date and causing a monitoring error - Everything went fine but on the reboot the box now tells me it cant find a valid boot device - I am thinking maybe somehow the boot block on the logical disk is shot. Can anyone advise me on how to rebuild the bootloader on lilo using a rescue CD? thanks
On Mon, 2006-10-09 at 23:35 +0100, Tom Brown wrote:> Hi > > Updated the firmware on a PERC RAID card as it was out of date and > causing a monitoring error - Everything went fine but on the reboot the > box now tells me it cant find a valid boot device - I am thinking maybe > somehow the boot block on the logical disk is shot. > > Can anyone advise me on how to rebuild the bootloader on lilo using a > rescue CD? >I have not used lilo in while, but you should be able to boot the rescue CD and have it mount your partitions in /mnt/sysimage. After you verify that the /boot and / are mounted there, you should be able to do: chroot /mnt/sysimage and then just do this from inside the chroot: lilo then exit the chroot and reboot ---- Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20061010/7f9acebd/attachment-0002.sig>
On Tue, 2006-10-10 at 05:37 -0500, Johnny Hughes wrote:> On Mon, 2006-10-09 at 23:35 +0100, Tom Brown wrote: > > <snip>> I have not used lilo in while, but you should be able to boot the rescue > CD and have it mount your partitions in /mnt/sysimage. > > After you verify that the /boot and / are mounted there, you should be > able to do: > > chroot /mnt/sysimage > > and then just do this from inside the chroot: > > lilo > > then exit the chroot and rebootLilo provides the -r <new root dir> parameter for the chroot part.> > ---- > Johnny Hughes > <snip sig stuff>-- Bill