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 12-17-2005, 06:27 PM   #1
sire
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Booting Xp with lilo unavalible[SOLVED]


Solved!

I've recently installed Mandrake Linux 10 on hda drive, along with Windows Xp on the same disk. I use lilo for booting. When I reboot and choose to boot the xp, I am given a message: image not found.
The drive is reachable, its mounted and all data is visable.
This is my lilo.conf

boot=/dev/hda
default="linux"
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
vga=788
read-only
image=/dev/ide/host0/bus0/target0/lun0/part1
label="windows"
root=/dev/hda1
read-only
other=/dev/fd0
label="floppy"
unsafe

What is wrong? Can anyone help me, linux is really nice but i would really like to visit my old os sometimes

SOLVED

Last edited by sire; 12-18-2005 at 04:52 AM.
 
Old 12-17-2005, 06:29 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Try commenting out the "image =" line. Welcome to LQ
 
Old 12-17-2005, 06:34 PM   #3
sire
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Done that, run lilo and a massage: duplicate entry "label" on line 19 appeared. Isnt sth not good ?

Thx for greetings
 
Old 12-17-2005, 08:16 PM   #4
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Windows uses the 'other=' label and not 'image='
Below is a copy of my lilo.conf for example. The windows entries are at the bottom.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# End LILO global section
# Windows bootable partition config begins
#other = /dev/hda2
#label = Windows
#table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda6
label = Linux
read-only
# Linux bootable partition config ends
# Windows 2000
other = /dev/hda2
table = /dev/hda
label = win-2k
# Windows XP
other = /dev/hda3
table = /dev/hda
label = win-XP

 
Old 12-18-2005, 04:39 AM   #5
sire
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Lilo.conf looks like this now...
4 boot=/dev/hda
5 default="linux"
6 prompt
7 nowarn
8 timeout=100
9 message=/boot/message
10 menu-scheme=wb:bw:wb:bw
11 image=/boot/vmlinuz
12 label="linux"
13 root=/dev/hda5
14 initrd=/boot/initrd.img
15 append="devfs=mount acpi=ht splash=silent"
16 vga=788
17 read-only
18 other=/dev/hda1
19 label="windows"
20 table=/dev/hda
21 #read-only
22 other=/dev/fd0
23 label="floppy"
24 unsafe

... and it works
I had to outcomment the read-only in windows, couse it was giving a syntax error message (dont know way though)
Big thx for help

Last edited by sire; 12-18-2005 at 04:52 AM.
 
  


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 booting.. babyboss Slackware 4 10-02-2004 03:17 AM
booting from another hd without lilo headlessspider Linux - Newbie 3 09-18-2004 09:31 AM
LILO: LILO lost upon booting. Nevchift Mandriva 3 09-16-2003 08:21 AM
booting from lilo... apax Slackware 10 07-22-2003 05:41 PM
New Lilo Booting hal8000b Linux - General 2 04-02-2001 10:09 AM


All times are GMT -5. The time now is 11:19 AM.

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