Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hi everyone,
I have a system booting with lilo, there are a partition with a unknown filesystem. I've tried to mount this partition with no success using ext2, ext3, hfs, reiserfs, etc...
I need extract the configuration file of lilo (lilo.conf) from the MBR, to see what lilo are doing.
Any Ideas?? I've already googled to discover how can I do this, but was useless.
You can get your MBR into a file by using a command like this
dd if=/dev/sda of=mbr.file count=1
but I don't think you can make much sense of the result. Your lilo configuration file should be in /etc/lilo.conf
If you just need info on your partitions, try fdisk or cfdisk.
First fo all, please try to find a title that covers the topic.
That being said, what does fdisk -l say about the specific partition? It might be / have been a recovery partition?
As uncle indicated, lilo.conf is not in the mbr. Be however aware that /etc/lilo.conf might not reflect what is actually in the mbr as a user might have modified it but might never have written to the mbr (a minor disadvantage of lilo compared to grub)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.