LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-16-2003, 10:39 AM   #1
underscorebleac
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Angry Post-install LILO issues


Hello all. First post. Thanks in advance for any help.

Last night I installed RH9 on old AMD K6-2 box. This machine was previously a Win2k/Mandrake8 box with LILO as the bootloader. In the RH installer, I picked LILO instead of GRUB because of my previous experience with it.

After the clean install, RH seems not to have overwritten the MBR with updates to LILO. Everything is as it was for my old Win2k/Mandrake8 setup, and nothing works. Also, I wish RH would have prompted me to make a floppy bootdisk, but alas, no. So I *think* RH9 has installed properly, but I simply can't boot to it.

I tried booting from the RH9 full disc and the RH9 boot ISO (which I downloaded separately), but neither seems to get past the language/keyboard selection phase now. It's strange. Any ideas? Thanks.
 
Old 09-16-2003, 11:08 AM   #2
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
grub will let you enter a boot comand manually so if you know where your kernel image is for you're new system then you might be able to get it to boot. I've gotten myself out of a few tight spots using the slackware install disc in rescue mode. it will boot and then drop you to a shell where you can try to mount your RH partition and start figuring things out. good luck
 
Old 09-16-2003, 11:16 AM   #3
underscorebleac
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ocularbob
grub will let you enter a boot comand manually so if you know where your kernel image is for you're new system then you might be able to get it to boot. I've gotten myself out of a few tight spots using the slackware install disc in rescue mode. it will boot and then drop you to a shell where you can try to mount your RH partition and start figuring things out. good luck
LILO has command line parameters as well, and I tried some of those, like "linux rescue" and "linux root=/dev/hda2" but neither worked. How would I specify the location of my kernel, either in LILO or GRUB? In all honesty, the "kernel" baffles me.
 
Old 09-16-2003, 11:20 AM   #4
underscorebleac
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I figured I wouldn't be such a helpless n00b, so Google brought me to this page: http://www.comptechdoc.org/os/linux/...nux_hllkr.html

However, I'm still hazy as to how to figure out where the kernel is (and what it's named) on my newly installed system.
 
Old 09-16-2003, 11:36 AM   #5
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
well the exact syntax for the command is not so fresh in my mind but typically the kernel image is located in /boot somewhere. it will either be initrd-2.4.20.img(or what ever your kernel version is) or vmlinuz-2.4.20. fortunatley it is usually linked to "/boot/initrd.img" or "/boot/vmlinuz" respectively so you don't need to know your kernel ver. RH9 uses initrd.img i think so if you can tell lilo that "image=/boot/initrd.img" with your command that might do it. if not try "image=/boot/initrd/initrd.img".
definalty go check out some of the docs for lilo to help get the command right.

Last edited by ocularbob; 09-16-2003 at 11:40 AM.
 
Old 09-16-2003, 11:41 AM   #6
underscorebleac
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks ocularbob. I should be able to handle getting the LILO syntax down, booting into RH, and editing /etc/lilo.conf. You don't need to bother with hunting down the docs. Thanks again.
 
Old 09-16-2003, 11:41 AM   #7
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
i made a mistake in the previos post but fixed it so please refresh and read it again. sorry
 
Old 09-19-2003, 11:20 AM   #8
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 175

Rep: Reputation: 37
Red Hat 9 not only rewrites the boot sector on installation (unless you specifically tell it not to) but it also creates a boot disk (unless you specifically tell it not to).

It sounds like you have some bogus CDs, possibly virus-infected or backdoored and certainly not official Red Hat products... but in any case, RH9 is *not* correctly installed on your machine. I just did a RH9 install and I have a freshly rewritten MBR and a 3.5" boot floppy right here in front of me.

I'd burn that system down to the bare metal and get some fresh CDs, were I you!
 
Old 09-19-2003, 11:32 AM   #9
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
what he said
 
Old 09-19-2003, 11:54 AM   #10
underscorebleac
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Problem fixed (but in a different way)

Well, I fixed the problem, but not through Red Hat. I know this is a Red Hat forum, so I won't go evangelizing another distro, but the long and the short of it is that I wanted installed MEPIS, a Debian-based, bootable CD-type distro in the vein of Knoppix (but with a better install to HD). [mepis.org]

The install of RH9 was all wrong, you're correct. The problem may have been that my computer overheated in the middle of it. I forgot to plug in my floppy drive, which connected power to the fan. I thought I took care of this *before* the RH install, but I can't remember--I was tired that night!

Anyway, thanks for the replies.
 
  


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
LILO issues on boot after Mandrake 9.1 install Flloyd Linux - Newbie 7 01-18-2007 03:45 AM
Mandrake official 10.1 Dell 5150 post install issues wcujoe Mandriva 8 01-25-2005 11:39 AM
Fedora Core 3 Post Install Issues symonphoenix Fedora 2 01-25-2005 11:08 AM
Some post-2.6.1-issues svarreby Slackware 3 01-22-2004 02:07 PM
Mandrake 9.2 Post Install Issues eddieman Linux - Newbie 2 01-11-2004 04:33 PM


All times are GMT -5. The time now is 09:30 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