LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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

Reply
 
Search this Thread
Old 06-27-2009, 01:31 PM   #1
mica_BR
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Help please!!!


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.
 
Old 06-27-2009, 01:44 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
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.
 
Old 06-28-2009, 07:15 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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)
 
  


Reply

Tags
lilo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



All times are GMT -5. The time now is 07:06 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration