When you run /sbin/lilo as root and you can have problem under the following conditions

1. if you don't installed your HDD as Primary Master
2. If you installed LILO on Linux Partition, verify that the start of the partition
cylinder does not exceed 1024 cylinder ( not all lilo version support more than 1024 cylinder ). You can verify that by typing as root
#fdisk /dev/hd_X -l


And look carefully start of the partition cylindr carefully





At 11:13 PM 7/4/2003 +0200, you wrote:
>>>>
You could configure your /etc/lilo.conf with with your partitions or hard disks to boot and then (as root) make /sbin/lilo and your MBR will be overwrite with LiLo
Regards

Bruno Negrao <[EMAIL PROTECTED]> wrote:
Hi all, i want to know if I'm using grub or lilo in a specific machine. I
cannot reboot it.
I know grub is installed and is configured properly for the new kernel (i
know this is a very strong clue).
But I know also that this machine was initially installed with lilo.

My question is: Is there a way to read the master boot record and gather
informations that prove wich boot loader is configured there?

I have found a little bash script on the internet who unsuccessfully tries
to do this:

#!/bin/bash
#Attention: this didn't work for me!!
dd if=/dev/hda bs=1024 count=1 | grep GRUB
if [ $? = 0 ]; then
echo "GRUB"
else
echo "not GRUB"
fi

I noticed it doesn't work since i ran it in a system wich I'm shure is
installed with grub and I ran it on the correct boot device, /dev/sda1 in my
case, and it didn't find an! y GRUB string.

If someone knows any trick, let me know.

Thank you,
-------------------------------------------------
-- Bruno Negrão -- Suporte
-- Plugway Acesso Internet Ltda.
-- (31)34812311
-- bnegrao at plugway dot com dot br


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


--

Manuel Aróstegui Linux user 200896


----------
Yahoo! Messenger
<http://es.rd.yahoo.com/mail_es/tagline/messenger/*http://es.messenger.yahoo.com/>Nueva versión: Super Webcam, voz, caritas animadas, y más ¡Gratis!
<<<<



-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to