LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2003, 06:23 PM   #1
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Rep: Reputation: 15
locating lilo


After reinstalling W2K on my multi boot system, it wiped out lilo. So I tried to use the emergency boot disk to access Mandrake 8.2, but it produced an kernel panic error saying that init could not be found. and suggested passing init= to the kernel. Upon advice os some friends, I have tried a couple of suggestions, but none worked. MDK8.2 is install as the third drive with four partititions, which are / at hdg6, swap at hdg7, usr at hdg8, and home at hdg9. Outside of this, the file system structure is as dictated by MDK's own setup during the installation. If I understand the issue, it is that I must direct the system to where the lilo config file is located, but since it is impossible to navigate within the file system, I can only assume that it is located whereever it should be. Would someone be kind enough to give me the exact syntax to enter, in order to tell MDK where to look. I have been criticised for not giving enough detail when asking a question on another forum, but this is all that I know, if more is necessary, please tell me how to find out.
 
Old 01-09-2003, 07:50 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Hi

You can try to get into Mandrake's rescue by inserting the install CD and at the first screen (where you press ENter to install or F1 to continue) press F1, then type:
rescue

This should bring up a screen with some options on it, one of them mainly being "reinstall LILO".

HTH

Cool
 
Old 01-09-2003, 08:29 PM   #3
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Hmm, unless this route does something different than using the emergency boot disk, then perhaps the point of my question wasn't clear. I need to deal with the kernel panel error, before I can restore the lilo. Maybe I have been mislead by previous conversations, so I will try your method as soon as I finish posting.
 
Old 01-09-2003, 08:46 PM   #4
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Yes, as I thought, that restored the lilo, but the kernel panic error remains. can anyone else help on this?
 
Old 01-09-2003, 09:57 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Can you please post your /etc/lilo.conf file (you can locate and view it within the rescue environment).

Also, can you still access your win install? Do you have multiple entries in LILO to try to boot with (for linux)?

Cool
 
Old 01-09-2003, 10:37 PM   #6
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I took a look around in /etc and there is no linux.conf in that location. I did a "whereis" and it found nothing. I tried "which", and it doesn't seem to work in that console.

The error message when booting from the now existent lilo, is different than when I used the emergency disk, yet it seems to boil down to the same thing:

"VFS: Can't find ext3 file system on dev/IDE3 (34,7)"

"Mount: Error mounting ext3 flags kernel panic no init found. Try passing it= option to the kernel".

IDE3 is the one on which the harddrive connects to the ATA/RAID controller. But since the console can read the system files, apparently the error message is misleading.

The emergency boot disk error only said something like "Kernel panic, can't find init. Try passing init= option to the kernel. Nothing about the IDE 3.

I did locate Grub in...I think usr/sbin, but I guess this would do no good without linux.conf...yes? Since it appears that linux.conf doesn't exist, can it be reconstructed, or simply copied to the proper location, using a copy from someone else? Probably not,but I'm looking for any kind of an answer to save the installation.
 
Old 01-09-2003, 11:07 PM   #7
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Oops, just realized that I didn't answer the last two questions, yes I can access W2K, that is what I'm using now. And I guess the answer to the last question would be no, since I find no lilo.conf.

Someone on a different forum just now suggested using the boot disk to recreate lilo by enter at the command prompt (which I assume is simply Boot /sbin/lilo. Does this sound as if it should work?
 
Old 01-10-2003, 02:10 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
It's not linux.conf it's lilo.conf



Unless that was a typo...
 
Old 01-10-2003, 02:31 AM   #9
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Not exactly a typo, just a lapse of mind. Either way there is no lilo.conf
 
Old 01-10-2003, 12:08 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yes, you could do that... And it shouldn't be too rough, if you have questions about it, post em. What is your hardware setup/information?

Cool
 
Old 01-10-2003, 12:54 PM   #11
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I tried to install lilo.conf last night, but failed. Either the syntax that I tried is wrong, or ? If I did an upgrade installation of the system, without selecting any packages except lilo, would that leave all of my original installation, files and documents intact?

AMD 900 T-Bird
Abit KT-7 Raid (Non-Raid config.)
Assylum GeForce 4 MX 440SE 64MB AGP DDR
Creative Labs RW1210E Burner
CD5220E-F CDROM
SB Live Platinum sound card
US Robotics 5686E 56K Ext. V92 Modem
KDS Avitron AV7-TF 17 monitor
Maxtor 46GB 54610H6 Harddrive
Dual Mitsumi 1.44 Floppies
Antec SX 830 Case
Epson Stylus 740 Printer
Perfection 610 Scanner
Logitech Optical 2 mouse
MS Intellimouse Explorer mouse
Multi boot W98SE/W2K/Mandrake 8.2 and 9.0
 
Old 01-11-2003, 01:17 AM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
he he he, all the way down to your 2 mice (why 2?)

Thanks for the very detailed info. No, you should be fine pluggin in your install CD, upgrading, and ONLY installing LILO, configuring, and booting. I've done the same thing with Mandy back in my early days, I couldn't live without pico, so I'd plug in the install CD, choose "upgrade" and only choose pine to be installed, a lot of work for 1 package...
However, it did nothing to the rest of my setup, so it was exactly what I wanted.

Cool
 
Old 01-11-2003, 02:22 AM   #13
seeker1
LQ Newbie
 
Registered: Jan 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Great! Then that is what I will do. I'm still not certain that will make it work, because I have been working with a couple of recovery programs, which have produced the file systems from Linux 8.2 as well as my deleted archive and the rest of the drives. I don't understand the programs too well yet, but it appears that more than lilo may be missing. If this upgrade doesn't work, then I will just try to salvage the system of what I need, and then reinstall it from scratch once more.

I know why this installation went bad on me, but I have installed 8.2 more times than I remember, because of various problems including kernel panics, corrupted sound system, etc. and I have yet to figure why these problems continue to reoccur. I sometimes think that it is my motherboard or the Highpoint ATA/Raid chip built on it.

Why two mice? At one time, it was because my first Explorer mouse went bad, and I bought the Logitech, rather than hassling with MS, but after conversing with some others, I went ahead and got an RMA to replace it with. Now however, it is out of necessity, because it seems as though Windows doesn't like the USB mouse connection, and Linux doesn't care for the PS/2, so rather than constantly switching, I keep one connected in each way.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem locating lilo.conf stickfun Slackware 9 07-16-2005 03:41 AM
Locating tape drive Rax Slackware 9 06-29-2005 10:54 AM
Locating Gnome 2 directories in C TarrasQ Programming 0 12-20-2004 01:01 PM
Locating Kernel arimus25 Linux - Software 3 02-24-2004 06:22 PM
locating software SkimMilk Linux - Newbie 2 10-26-2003 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration