Hi,
How can I understand a remote system has lilo or grub installed as its boot manager? I have found that I can learn it from /root/anaconda-ks.cfg but what if I have deleted that file before?
I have made a egrep -r -i (lilo|grub) /etc but found nothing..
Omer Faruk Sen writes:
Hi,
How can I understand a remote system has lilo or grub installed as its boot manager? I have found that I can learn it from /root/anaconda-ks.cfg but what if I have deleted that file before?
I have made a egrep -r -i (lilo|grub) /etc but found nothing..
-- Omer Faruk Sen http://www.faruk.net
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Try egrep -r -i (lilo|grub) /boot I just typed it and got a lot of data... I'm currently with grub
hi, fedora uses grub as its boot manager. [at least in my system i've grub. and during installation fedora didnt asked me if i wanted to select grub or lilo as boot manager. it automatically installed grub.] but u can check the /boot directory if it contains a folder named 'grub' or not. and under that directory there must be a file named grub.conf [or in some distros menu.lst] regards, bye.
I have a system that boot lilo.conf and /boot/grub directory exist.. And both of them configured well. Since I have no connection to that remote system's video output there seems to be no way out to learn that.
hi, fedora uses grub as its boot manager. [at least in my system i've grub. and during installation fedora didnt asked me if i wanted to select grub or lilo as boot manager. it automatically installed grub.] but u can check the /boot directory if it contains a folder named 'grub' or not. and under that directory there must be a file named grub.conf [or in some distros menu.lst] regards, bye.
Omer Faruk Sen writes:
I have a system that boot lilo.conf and /boot/grub directory exist.. And both of them configured well. Since I have no connection to that remote system's video output there seems to be no way out to learn that.
hi, fedora uses grub as its boot manager. [at least in my system i've grub. and during installation fedora didnt asked me if i wanted to select grub or lilo as boot manager. it automatically installed grub.] but u can check the /boot directory if it contains a folder named 'grub' or not. and under that directory there must be a file named grub.conf [or in some distros menu.lst] regards, bye.
-- Omer Faruk Sen http://www.faruk.net
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
You can read master boot record and search on it. dd if=/dev/hda of=~/mbr.bak bs=512 count=1 then: cat ~/mbr.bak the result is not very nice, but there can be read sometinh like "GRUB GeomHard DiskRead Error" for grub, I have't lilo, but think there must be something else in result of cat :)
Best regards! Vladimir Grigorov
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
vl_grigorov@netissat.bg wrote:
Omer Faruk Sen writes:
I have a system that boot lilo.conf and /boot/grub directory exist.. And both of them configured well. Since I have no connection to that remote system's video output there seems to be no way out to learn that.
hi, fedora uses grub as its boot manager. [at least in my system i've grub. and during installation fedora didnt asked me if i wanted to select grub or lilo as boot manager. it automatically installed grub.] but u can check the /boot directory if it contains a folder named 'grub' or not. and under that directory there must be a file named grub.conf [or in some distros menu.lst] regards, bye.
-- Omer Faruk Sen http://www.faruk.net -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
You can read master boot record and search on it. dd if=/dev/hda of=~/mbr.bak bs=512 count=1 then: cat ~/mbr.bak the result is not very nice, but there can be read sometinh like "GRUB GeomHard DiskRead Error" for grub, I have't lilo, but think there must be something else in result of cat :)
You might be better off using 'strings ~/mbr.bak', rather than a pure 'cat'. My system (using grub) shows:
[root@songspire ~]# strings mbr.bak ZRrI D|f1 GRUB Geom Hard Disk Read Error
Of course, we are assuming that you installed lilo/grub in the MBR, not elsewhere. Regards, C. - -- Craig McLean http://fukka.co.uk craig@fukka.co.uk Where the fun never starts Powered by FreeBSD, and GIN!
Am Donnerstag, den 29.12.2005, 14:32 +0000 schrieb Craig McLean:
You can read master boot record and search on it. dd if=/dev/hda of=~/mbr.bak bs=512 count=1 then: cat ~/mbr.bak the result is not very nice, but there can be read sometinh like "GRUB GeomHard DiskRead Error" for grub, I have't lilo, but think there must be something else in result of cat :)
You might be better off using 'strings ~/mbr.bak', rather than a pure 'cat'.
fwiw
# file ~/mbr.bak mbr.bak: x86 boot sector, GRand Unified Bootloader (0.94), code offset 0x48
Thomas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thomas Springer wrote:
Am Donnerstag, den 29.12.2005, 14:32 +0000 schrieb Craig McLean:
You can read master boot record and search on it. dd if=/dev/hda of=~/mbr.bak bs=512 count=1 then: cat ~/mbr.bak the result is not very nice, but there can be read sometinh like "GRUB GeomHard DiskRead Error" for grub, I have't lilo, but think there must be something else in result of cat :)
You might be better off using 'strings ~/mbr.bak', rather than a pure 'cat'.
fwiw
# file ~/mbr.bak mbr.bak: x86 boot sector, GRand Unified Bootloader (0.94), code offset 0x48
Ooooh. I learn something every day!
C. - -- Craig McLean http://fukka.co.uk craig@fukka.co.uk Where the fun never starts Powered by FreeBSD, and GIN!
Thomas Springer wrote: ...
# file ~/mbr.bak mbr.bak: x86 boot sector, GRand Unified Bootloader (0.94), code offset 0x48
On a FC3 with lilo, one just gets a:
# file mbr.bak mbr.bak: x86 boot sector
and:
# strings mbr.bak |lbaLILO 0<:r VVWQ D[YSRWQ
Mogens