LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-15-2008, 12:28 PM   #1
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Rep: Reputation: 15
LILO wont boot my Windows


# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
#timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends




This is my lilo.conf file.
The problem is lilo boots linux perfectly on hda1,
but is unable to do that for Windows XP on sda1.
Help needed.
 
Old 11-15-2008, 12:47 PM   #2
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
try GRUB

This is not an answer to your posted question, but an alternative bootloader that works just as well and many prefer it for dual booting Linux and Windows.

Try GRUB. The Grand Unified Bootloader.

http://www.gnu.org/software/grub/

It has a good manual that explains how to create the necessary files and entries to dual boot using a chainloader for operating systems like Windows. If you have problems with GRUB, post a question.

These might be helpful:

http://tldp.org/HOWTO/LILO.html
http://www.control-escape.com/linux/lilo-cfg.html
 
Old 11-15-2008, 01:41 PM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Not sure its needed.

Try remarking "table = /dev/sda" don't think its needed and it think you have to make more modifications to the windows boot sector to use it. Its been a while since i worked with lilo but try remarking that line and then run /sbin/lilo and see if you get the "Added Windows" prompt.
 
Old 11-15-2008, 01:56 PM   #4
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Original Poster
Rep: Reputation: 15
thanks hern i'll try that
 
Old 11-15-2008, 02:58 PM   #5
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Original Poster
Rep: Reputation: 15
Solved thanks everyone
 
  


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
windows wont load from lilo (did before) petezilla Linux - Newbie 7 01-06-2006 02:24 AM
LILO wont detect windows partition InfidelLewis Slackware 7 04-29-2005 03:29 PM
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 01:26 AM
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 10:55 PM
lilo wont boot windows? spade Slackware 1 03-17-2004 04:53 PM


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