LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 06-27-2009, 02:31 PM   #1
mica_BR
LQ Newbie
 
Registered: Jun 2009
Posts: 1
Thanked: 0
Help please!!!


[Log in to get rid of this advertisement]
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.

Thanks.
mica_BR is offline  
Tag This Post ,
Reply With Quote
Old 06-27-2009, 02:44 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Thanked: 52
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.
Uncle_Theodore is offline     Reply With Quote
Old 06-28-2009, 08:15 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 8.04 (upgraded from 6.06), Ubuntu Netbook Remix 9.04
Posts: 2,741
Thanked: 87
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)
Wim Sturkenboom is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration