LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   windows wont load from lilo (did before) (https://www.linuxquestions.org/questions/linux-newbie-8/windows-wont-load-from-lilo-did-before-327731/)

petezilla 05-27-2005 12:37 PM

windows wont load from lilo (did before)
 
Hello, I installed Slackware 10 recently, its running fine, and I've only had trouble with a few little thing so far (which I was easily able to remedy with advice from people on this forum).

I'm just having trouble with my LILO right now, when I choose Windows from my LILO it never loads, just sits there as if it was thinking about loading windows. Now the weird part is that I had this working fine before and unfortunately I'm not sure what i did to bung it up. I have reinstalled lilo with liloconfig and looked at lilo.config but cant see whats wrong there. Windows is installed on /dev/hdd1, and linux on /dev/hda1. I can easily get Windows to boot by turning off the primary drive (hda) in the BIOS so it only loads Windows, but it should load from lilo.

mlangdn 05-27-2005 12:53 PM

Post your lilo.conf file. I am assuming a typo on /dev/hdd1.

petezilla 05-30-2005 08:05 PM

here it is:

# 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 = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hdd1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdd1
# Windows bootable partition config ends

mlangdn 05-30-2005 08:30 PM

Quote:

Originally posted by petezilla
here it is:


# Windows bootable partition config begins
other = /dev/hdd1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdd1
# Windows bootable partition config ends

other = /dev/hdd1 is wrong - should probably read:

# Windows bootable partition config begins
other = /dev/hdb1
label = Windows
table = /dev/hdb
boot-as = 0x80
# Windows bootable partition config ends

This is how it is set-up on my system.

mmarkvillanueva 10-20-2005 06:45 PM

I also have the same problem... I have a dual-boot system, having windows 98 on /dev/hda1 and slackware 10 on /dev/hdb1, it was working fine before but when i reinstall liloconf, i arrive to the same problem it just displays "Loading Windows" and nothing happens...

btw here's lilo.conf

# 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
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb1
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

mmarkvillanueva 10-20-2005 06:48 PM

BTW, i can load Linux without any problems... I just can't load Windows :(

mlangdn 10-20-2005 07:32 PM

Its a similar problem, I think. You need to add the line:

boot-as = 0x80

right under label = Linux

Then run as root "/sbin/lilo" without quotes. It should work fine.

mikeatuofi 01-06-2006 01:24 AM

First, I just wanted to say thanks for all the solutions posted - you guys got my problem solved here before I could even post a question.

I have basically the same setup as mmarkvillanueva. I added in the line "boot-as = 0x80", but I added it under "label=Windows", not "label=Linux".


All times are GMT -5. The time now is 10:56 AM.