LinuxQuestions.org
Review your favorite Linux distribution.
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 07-17-2003, 12:23 PM   #1
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31

This is the scenario. 1 pc 1st hd win2k server 2nd hd redhat 9. dual boot using LILO. win2k crashes and unable to repair. boot to redhat make boot disk then reboot using win2k setup disks and reinstall win2k no problem. boot back to redhat with disk type lilo as root and get fatal error "no images have been deined" I'm at a loss can any1 help. ican still boot redhat but would like LILO back!!!
Thanx in advance
 
Old 07-17-2003, 12:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 260Reputation: 260Reputation: 260
Note: I split your thread from the Lilo thread as that thread is more for information regarding Lilo. We would rather you create your own thread. Regards.
 
Old 07-17-2003, 12:39 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Could you please post your /etc/lilo.conf?
 
Old 07-17-2003, 01:27 PM   #4
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Original Poster
Rep: Reputation: 31
Hope this helps you my Lilo.conf file

boot = /dev/hda
map = /boot/map
timeout = 50
linear
prompt
message = /boot/message
default = 2.4.20-8
vga = normal
root = /dev/hdb2
read-only
install=/boot/boot.b
image = /boot/vmlinuz-2.4.20-8
label = RedHat9
append = "hdc=ide-scsi hdd=ide-scsi root=LABEL=/"
initrd = /boot/initrd-2.4.20-8. img
other = /dev/hda1
label = WIN2K
optional

thanx
 
Old 07-17-2003, 02:26 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
To re-install LILO

su
root password

then type

/sbin/lilo

Ive noticed from your lilo.conf file that you originally installed lilo to you MBR - the boot = directive is still pointing to your MBR

Running the map installer will install LILO to your MBR

Be careful doing this again because LILO will be your main bootloader in your MBR and you said you had problems before with the dual boot - under this scenario you might only be able to boot into Linux - its up yo you.
 
Old 07-17-2003, 02:35 PM   #6
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Original Poster
Rep: Reputation: 31
Thanx for the advice but can u tell me about the map installer!!! the dual boot originally worked without any problems til i had to reinstall win2k
 
Old 07-17-2003, 04:47 PM   #7
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Original Poster
Rep: Reputation: 31
Thanx skyline but how do you go about running the map installer!!! I've ran lilo as root and just get a fatal error no images defined. Can anyone shed some light PLEASE!!!!!
 
Old 07-17-2003, 04:48 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by james.farrow

image = /boot/vmlinuz-2.4.20-8
Check if you have such file. You may need to add '.img' at the end.
 
Old 07-17-2003, 05:27 PM   #9
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi James.Farrow

To run the map installer simply open up a terminal - become the root user by typing "su" then press enter - then type root password, then press enter and then type

/sbin/lilo


and then press enter

The Map installer essentially does 2 things - it re-installs the bootloader section of LILO to whatever is specified in the boot = directive at the top of lilo.conf, also it rebuilds the map file adn installs it in the boot sector specified by the boot= directive ( the map file simply contains the raw locations of the kernel images etc on the hard disk) the bootloader part of LILO doesnt access a filesystem as such - it is configured to read the map file.

re-post if you need to.
 
Old 07-18-2003, 12:32 PM   #10
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Original Poster
Rep: Reputation: 31
Thanx for the help so far but I'm afraid no further forward. still get error saying no images defined. any suggestions, i'm logged in as root....
 
Old 07-18-2003, 01:26 PM   #11
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Original Poster
Rep: Reputation: 31
thanx for all your time and replies, much appreciated. anyway deceided to re-write lilo.conf using a sample dual boot file from a mag and replacing the relevant info!!! then ran lilo...............no errors! rebooted with anticapation and...it WORKED! everything back to normal b4 i decided to arse about with it! Thanx again
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO boot problems bjojoi Linux - Newbie 1 02-23-2005 01:09 PM
LILO boot problems statikuz Linux - Software 1 09-01-2003 06:55 PM
LILO boot problems ubiquitous_z Linux - Newbie 2 08-01-2003 05:15 PM
problems with lilo boot up again razod Linux - Newbie 9 04-20-2003 03:04 PM
LILO Boot problems :( osx Linux - General 6 03-25-2003 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:26 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
Open Source Consulting | Domain Registration