LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LILO wont boot my Windows (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-wont-boot-my-windows-683599/)

anotherpenguin 11-15-2008 11:28 AM

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.

jiobo 11-15-2008 11:47 AM

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

Hern_28 11-15-2008 12:41 PM

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.

anotherpenguin 11-15-2008 12:56 PM

thanks hern i'll try that

anotherpenguin 11-15-2008 01:58 PM

Solved thanks everyone


All times are GMT -5. The time now is 04:43 AM.